Go to the documentation of this file.
13 #include <linux/input.h>
29 #ifdef CONFIG_DVB_USB_DEBUG
30 #define dprintk(var,level,args...) \
31 do { if ((var & level)) { printk(args); } } while (0)
33 #define debug_dump(b,l,func) {\
35 for (loop_ = 0; loop_ < l; loop_++) func("%02x ", b[loop_]); \
38 #define DVB_USB_DEBUG_STATUS
40 #define dprintk(args...)
41 #define debug_dump(b,l,func)
43 #define DVB_USB_DEBUG_STATUS " (debugging is not enabled)"
48 #ifndef DVB_USB_LOG_PREFIX
49 #define DVB_USB_LOG_PREFIX "dvb-usb (please define a log prefix)"
53 #define err(format, arg...) printk(KERN_ERR DVB_USB_LOG_PREFIX ": " format "\n" , ## arg)
55 #define info(format, arg...) printk(KERN_INFO DVB_USB_LOG_PREFIX ": " format "\n" , ## arg)
57 #define warn(format, arg...) printk(KERN_WARNING DVB_USB_LOG_PREFIX ": " format "\n" , ## arg)
73 #define DVB_USB_ID_MAX_NUM 15
140 #define DVB_USB_ADAP_HAS_PID_FILTER 0x01
141 #define DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF 0x02
142 #define DVB_USB_ADAP_NEED_PID_FILTERING 0x04
143 #define DVB_USB_ADAP_RECEIVES_204_BYTE_TS 0x08
144 #define DVB_USB_ADAP_RECEIVES_RAW_PAYLOAD 0x10
160 #define MAX_NO_OF_FE_PER_ADAP 3
180 #define REMOTE_NO_KEY_PRESSED 0x00
181 #define REMOTE_KEY_PRESSED 0x01
182 #define REMOTE_KEY_REPEAT 0x02
260 #define MAX_NO_OF_ADAPTER_PER_DEVICE 2
263 #define DVB_USB_IS_AN_I2C_ADAPTER 0x01
266 #define DEVICE_SPECIFIC 0
267 #define CYPRESS_AN2135 1
268 #define CYPRESS_AN2235 2
269 #define CYPRESS_FX2 3
310 #define MAX_NO_URBS_FOR_DATA_STREAM 10
315 #define USB_STATE_INIT 0x00
316 #define USB_STATE_URB_BUF 0x01
376 #define DVB_USB_ADAP_STATE_INIT 0x000
377 #define DVB_USB_ADAP_STATE_DVB 0x001
427 #define DVB_USB_STATE_INIT 0x000
428 #define DVB_USB_STATE_I2C 0x001
429 #define DVB_USB_STATE_DVB 0x002
430 #define DVB_USB_STATE_REMOTE 0x004
461 short *adapter_nums);