mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-11-01 16:48:51 +01:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
41
drivers/media/usb/pvrusb2/pvrusb2-dvb.h
Normal file
41
drivers/media/usb/pvrusb2/pvrusb2-dvb.h
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
#ifndef __PVRUSB2_DVB_H__
|
||||
#define __PVRUSB2_DVB_H__
|
||||
|
||||
#include "dvb_frontend.h"
|
||||
#include "dvb_demux.h"
|
||||
#include "dvb_net.h"
|
||||
#include "dmxdev.h"
|
||||
#include "pvrusb2-context.h"
|
||||
|
||||
#define PVR2_DVB_BUFFER_COUNT 32
|
||||
#define PVR2_DVB_BUFFER_SIZE PAGE_ALIGN(0x4000)
|
||||
|
||||
struct pvr2_dvb_adapter {
|
||||
struct pvr2_channel channel;
|
||||
|
||||
struct dvb_adapter dvb_adap;
|
||||
struct dmxdev dmxdev;
|
||||
struct dvb_demux demux;
|
||||
struct dvb_net dvb_net;
|
||||
struct dvb_frontend *fe;
|
||||
|
||||
int feedcount;
|
||||
int max_feed_count;
|
||||
|
||||
struct task_struct *thread;
|
||||
struct mutex lock;
|
||||
|
||||
unsigned int stream_run:1;
|
||||
|
||||
wait_queue_head_t buffer_wait_data;
|
||||
char *buffer_storage[PVR2_DVB_BUFFER_COUNT];
|
||||
};
|
||||
|
||||
struct pvr2_dvb_props {
|
||||
int (*frontend_attach) (struct pvr2_dvb_adapter *);
|
||||
int (*tuner_attach) (struct pvr2_dvb_adapter *);
|
||||
};
|
||||
|
||||
struct pvr2_dvb_adapter *pvr2_dvb_create(struct pvr2_context *pvr);
|
||||
|
||||
#endif /* __PVRUSB2_DVB_H__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue