Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
videobuf-dvb.h
Go to the documentation of this file.
1 #include <dvbdev.h>
2 #include <dmxdev.h>
3 #include <dvb_demux.h>
4 #include <dvb_net.h>
5 #include <dvb_frontend.h>
6 
7 #ifndef _VIDEOBUF_DVB_H_
8 #define _VIDEOBUF_DVB_H_
9 
10 struct videobuf_dvb {
11  /* filling that the job of the driver */
12  char *name;
15 
16  /* video-buf-dvb state info */
17  struct mutex lock;
19  int nfeeds;
20 
21  /* videobuf_dvb_(un)register manges this */
22  struct dvb_demux demux;
23  struct dmxdev dmxdev;
26  struct dvb_net net;
27 };
28 
30  struct list_head felist;
31  int id;
32  struct videobuf_dvb dvb;
33 };
34 
36  struct list_head felist;
37  struct mutex lock;
39  int active_fe_id; /* Indicates which frontend in the felist is in use */
40  int gate; /* Frontend with gate control 0=!MFE,1=fe0,2=fe1 etc */
41 };
42 
44  struct module *module,
45  void *adapter_priv,
46  struct device *device,
47  short *adapter_nr,
48  int mfe_shared);
49 
51 
54 
57 
58 #endif /* _VIDEOBUF_DVB_H_ */
59 
60 /*
61  * Local variables:
62  * c-basic-offset: 8
63  * End:
64  */