Go to the documentation of this file.
58 #define adap_to_d(adap) (container_of(adap, struct dvb_usb_device, \
60 #define adap_to_priv(adap) (adap_to_d(adap)->priv)
61 #define fe_to_adap(fe) ((struct dvb_usb_adapter *) ((fe)->dvb->priv))
62 #define fe_to_d(fe) (adap_to_d(fe_to_adap(fe)))
63 #define fe_to_priv(fe) (fe_to_d(fe)->priv)
64 #define d_to_priv(d) (d->priv)
66 #define dvb_usb_dbg_usb_control_msg(udev, r, t, v, i, b, l) { \
68 if (t == (USB_TYPE_VENDOR | USB_DIR_OUT)) \
72 dev_dbg(&udev->dev, "%s: %02x %02x %02x %02x %02x %02x %02x %02x " \
73 "%s %*ph\n", __func__, t, r, v & 0xff, v >> 8, \
74 i & 0xff, i >> 8, l & 0xff, l >> 8, direction, l, b); \
77 #define DVB_USB_STREAM_BULK(endpoint_, count_, size_) { \
80 .endpoint = endpoint_, \
83 .buffersize = size_, \
88 #define DVB_USB_STREAM_ISOC(endpoint_, count_, frames_, size_, interval_) { \
91 .endpoint = endpoint_, \
94 .framesperurb = frames_, \
96 .interval = interval_, \
101 #define DVB_USB_DEVICE(vend, prod, props_, name_, rc) \
102 .match_flags = USB_DEVICE_ID_MATCH_DEVICE, \
103 .idVendor = (vend), \
104 .idProduct = (prod), \
105 .driver_info = (kernel_ulong_t) &((const struct dvb_usb_driver_info) { \
180 #define MAX_NO_OF_FE_PER_ADAP 3
182 #define DVB_USB_ADAP_HAS_PID_FILTER 0x01
183 #define DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF 0x02
184 #define DVB_USB_ADAP_NEED_PID_FILTERING 0x04
228 #define MAX_NO_OF_ADAPTER_PER_DEVICE 2
244 #define RECONNECTS_USB 1
263 #define DVB_USB_FE_TS_TYPE_188 0
264 #define DVB_USB_FE_TS_TYPE_204 1
265 #define DVB_USB_FE_TS_TYPE_RAW 2
280 #define MAX_NO_URBS_FOR_DATA_STREAM 10
282 struct usb_device *
udev;
285 #define USB_STATE_INIT 0x00
286 #define USB_STATE_URB_BUF 0x01
368 struct usb_device *
udev;