diff options
author | Patrick Boettcher <pb@linuxtv.org> | 2006-09-30 05:53:48 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-10-03 14:10:54 -0400 |
commit | 4d43e13f723e12734257277cc38497fab1efc605 (patch) | |
tree | 7debc4f9b7997f7d768dcf387210436b532198f4 /drivers/media/dvb/dvb-usb/dvb-usb-common.h | |
parent | 8ccb3dcd1f8e80e8702642e1de26541b52f6bb7c (diff) |
V4L/DVB (4643): Multi-input patch for DVB-USB device
This patch is the first commit of the Multiple Input Patch for the DVB-USB frame
work.
It changes the DVB-USB-device to be able to have more than one streaming input
(e.g. multiple DVB-T sources) on one device. This is a necessary feature for
the upcoming DiB7700 driven devices.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dvb-usb-common.h')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dvb-usb-common.h | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-common.h b/drivers/media/dvb/dvb-usb/dvb-usb-common.h index a3460bf2d9fa..35ab68f6dcf6 100644 --- a/drivers/media/dvb/dvb-usb/dvb-usb-common.h +++ b/drivers/media/dvb/dvb-usb/dvb-usb-common.h | |||
@@ -14,31 +14,36 @@ | |||
14 | extern int dvb_usb_debug; | 14 | extern int dvb_usb_debug; |
15 | extern int dvb_usb_disable_rc_polling; | 15 | extern int dvb_usb_disable_rc_polling; |
16 | 16 | ||
17 | #define deb_info(args...) dprintk(dvb_usb_debug,0x01,args) | 17 | #define deb_info(args...) dprintk(dvb_usb_debug,0x001,args) |
18 | #define deb_xfer(args...) dprintk(dvb_usb_debug,0x02,args) | 18 | #define deb_xfer(args...) dprintk(dvb_usb_debug,0x002,args) |
19 | #define deb_pll(args...) dprintk(dvb_usb_debug,0x04,args) | 19 | #define deb_pll(args...) dprintk(dvb_usb_debug,0x004,args) |
20 | #define deb_ts(args...) dprintk(dvb_usb_debug,0x08,args) | 20 | #define deb_ts(args...) dprintk(dvb_usb_debug,0x008,args) |
21 | #define deb_err(args...) dprintk(dvb_usb_debug,0x10,args) | 21 | #define deb_err(args...) dprintk(dvb_usb_debug,0x010,args) |
22 | #define deb_rc(args...) dprintk(dvb_usb_debug,0x20,args) | 22 | #define deb_rc(args...) dprintk(dvb_usb_debug,0x020,args) |
23 | #define deb_fw(args...) dprintk(dvb_usb_debug,0x40,args) | 23 | #define deb_fw(args...) dprintk(dvb_usb_debug,0x040,args) |
24 | #define deb_mem(args...) dprintk(dvb_usb_debug,0x80,args) | 24 | #define deb_mem(args...) dprintk(dvb_usb_debug,0x080,args) |
25 | #define deb_uxfer(args...) dprintk(dvb_usb_debug,0x100,args) | ||
25 | 26 | ||
26 | /* commonly used methods */ | 27 | /* commonly used methods */ |
27 | extern int dvb_usb_download_firmware(struct usb_device *, struct dvb_usb_properties *); | 28 | extern int dvb_usb_download_firmware(struct usb_device *, struct dvb_usb_device_properties *); |
28 | 29 | ||
29 | extern int dvb_usb_urb_submit(struct dvb_usb_device *); | 30 | extern int dvb_usb_device_power_ctrl(struct dvb_usb_device *d, int onoff); |
30 | extern int dvb_usb_urb_kill(struct dvb_usb_device *); | 31 | |
31 | extern int dvb_usb_urb_init(struct dvb_usb_device *); | 32 | extern int usb_urb_init(struct usb_data_stream *stream, struct usb_data_stream_properties *props); |
32 | extern int dvb_usb_urb_exit(struct dvb_usb_device *); | 33 | extern int usb_urb_exit(struct usb_data_stream *stream); |
34 | extern int usb_urb_submit(struct usb_data_stream *stream); | ||
35 | extern int usb_urb_kill(struct usb_data_stream *stream); | ||
36 | |||
37 | extern int dvb_usb_adapter_stream_init(struct dvb_usb_adapter *adap); | ||
38 | extern int dvb_usb_adapter_stream_exit(struct dvb_usb_adapter *adap); | ||
33 | 39 | ||
34 | extern int dvb_usb_i2c_init(struct dvb_usb_device *); | 40 | extern int dvb_usb_i2c_init(struct dvb_usb_device *); |
35 | extern int dvb_usb_i2c_exit(struct dvb_usb_device *); | 41 | extern int dvb_usb_i2c_exit(struct dvb_usb_device *); |
36 | 42 | ||
37 | extern int dvb_usb_dvb_init(struct dvb_usb_device *); | 43 | extern int dvb_usb_adapter_dvb_init(struct dvb_usb_adapter *adap); |
38 | extern int dvb_usb_dvb_exit(struct dvb_usb_device *); | 44 | extern int dvb_usb_adapter_dvb_exit(struct dvb_usb_adapter *adap); |
39 | 45 | extern int dvb_usb_adapter_frontend_init(struct dvb_usb_adapter *adap); | |
40 | extern int dvb_usb_fe_init(struct dvb_usb_device *); | 46 | extern int dvb_usb_adapter_frontend_exit(struct dvb_usb_adapter *adap); |
41 | extern int dvb_usb_fe_exit(struct dvb_usb_device *); | ||
42 | 47 | ||
43 | extern int dvb_usb_remote_init(struct dvb_usb_device *); | 48 | extern int dvb_usb_remote_init(struct dvb_usb_device *); |
44 | extern int dvb_usb_remote_exit(struct dvb_usb_device *); | 49 | extern int dvb_usb_remote_exit(struct dvb_usb_device *); |