mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-10-30 07:38:52 +01:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
35
drivers/media/pci/bt8xx/dst_priv.h
Normal file
35
drivers/media/pci/bt8xx/dst_priv.h
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
* dst-bt878.h: part of the DST driver for the TwinHan DST Frontend
|
||||
*
|
||||
* Copyright (C) 2003 Jamie Honan
|
||||
*/
|
||||
|
||||
struct dst_gpio_enable {
|
||||
u32 mask;
|
||||
u32 enable;
|
||||
};
|
||||
|
||||
struct dst_gpio_output {
|
||||
u32 mask;
|
||||
u32 highvals;
|
||||
};
|
||||
|
||||
struct dst_gpio_read {
|
||||
unsigned long value;
|
||||
};
|
||||
|
||||
union dst_gpio_packet {
|
||||
struct dst_gpio_enable enb;
|
||||
struct dst_gpio_output outp;
|
||||
struct dst_gpio_read rd;
|
||||
int psize;
|
||||
};
|
||||
|
||||
#define DST_IG_ENABLE 0
|
||||
#define DST_IG_WRITE 1
|
||||
#define DST_IG_READ 2
|
||||
#define DST_IG_TS 3
|
||||
|
||||
struct bt878;
|
||||
|
||||
int bt878_device_control(struct bt878 *bt, unsigned int cmd, union dst_gpio_packet *mp);
|
||||
Loading…
Add table
Add a link
Reference in a new issue