Go to the source code of this file.
|
#define | adap_to_d(adap) |
|
#define | adap_to_priv(adap) (adap_to_d(adap)->priv) |
|
#define | fe_to_adap(fe) ((struct dvb_usb_adapter *) ((fe)->dvb->priv)) |
|
#define | fe_to_d(fe) (adap_to_d(fe_to_adap(fe))) |
|
#define | fe_to_priv(fe) (fe_to_d(fe)->priv) |
|
#define | d_to_priv(d) (d->priv) |
|
#define | dvb_usb_dbg_usb_control_msg(udev, r, t, v, i, b, l) |
|
#define | DVB_USB_STREAM_BULK(endpoint_, count_, size_) |
|
#define | DVB_USB_STREAM_ISOC(endpoint_, count_, frames_, size_, interval_) |
|
#define | DVB_USB_DEVICE(vend, prod, props_, name_, rc) |
|
#define | USB_BULK 1 |
|
#define | USB_ISOC 2 |
|
#define | DVB_USB_ADAP_HAS_PID_FILTER 0x01 |
|
#define | DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF 0x02 |
|
#define | DVB_USB_ADAP_NEED_PID_FILTERING 0x04 |
|
#define | WARM 0 |
|
#define | COLD 1 |
|
#define | RECONNECTS_USB 1 |
|
#define | DVB_USB_FE_TS_TYPE_188 0 |
|
#define | DVB_USB_FE_TS_TYPE_204 1 |
|
#define | DVB_USB_FE_TS_TYPE_RAW 2 |
|
#define | USB_STATE_INIT 0x00 |
|
#define | USB_STATE_URB_BUF 0x01 |
|
#define adap_to_d |
( |
|
adap | ) |
|
#define d_to_priv |
( |
|
d | ) |
(d->priv) |
#define DVB_USB_ADAP_HAS_PID_FILTER 0x01 |
#define DVB_USB_ADAP_NEED_PID_FILTERING 0x04 |
#define DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF 0x02 |
#define dvb_usb_dbg_usb_control_msg |
( |
|
udev, |
|
|
|
r, |
|
|
|
t, |
|
|
|
v, |
|
|
|
i, |
|
|
|
b, |
|
|
|
l |
|
) |
| |
Value:{ \
else \
direction = "<<<"; \
dev_dbg(&
udev->dev,
"%s: %02x %02x %02x %02x %02x %02x %02x %02x " \
"%s %*ph\n", __func__,
t,
r,
v & 0xff,
v >> 8, \
i & 0xff,
i >> 8,
l & 0xff,
l >> 8, direction,
l,
b); \
}
Definition at line 66 of file dvb_usb.h.
#define DVB_USB_DEVICE |
( |
|
vend, |
|
|
|
prod, |
|
|
|
props_, |
|
|
|
name_, |
|
|
|
rc |
|
) |
| |
Value:.match_flags = USB_DEVICE_ID_MATCH_DEVICE, \
.idProduct = (prod), \
.props = (props_), \
})
Definition at line 101 of file dvb_usb.h.
#define DVB_USB_FE_TS_TYPE_188 0 |
#define DVB_USB_FE_TS_TYPE_204 1 |
#define DVB_USB_FE_TS_TYPE_RAW 2 |
#define DVB_USB_STREAM_BULK |
( |
|
endpoint_, |
|
|
|
count_, |
|
|
|
size_ |
|
) |
| |
Value:{ \
.count = count_, \
.endpoint = endpoint_, \
.u = { \
.bulk = { \
.buffersize = size_, \
} \
} \
}
Definition at line 77 of file dvb_usb.h.
#define DVB_USB_STREAM_ISOC |
( |
|
endpoint_, |
|
|
|
count_, |
|
|
|
frames_, |
|
|
|
size_, |
|
|
|
interval_ |
|
) |
| |
Value:{ \
.count = count_, \
.endpoint = endpoint_, \
.u = { \
.isoc = { \
.framesperurb = frames_, \
.framesize = size_,\
.interval = interval_, \
} \
} \
}
Definition at line 88 of file dvb_usb.h.
#define MAX_NO_OF_ADAPTER_PER_DEVICE 2 |
struct dvb_usb_device_properties - properties of a dvb-usb-device : name of the owning driver module : owner of the dvb_adapter : values from the DVB_DEFINE_MOD_OPT_ADAPTER_NR() macro : usb interface number driver binds : bytes allocated for the driver private data : bulk control endpoint number for sent : bulk control endpoint number for receive : delay between bulk control sent and receive message : called to determine the firmware state (cold or warm) and return possible firmware file name to be loaded : name of the firmware file to be loaded : called to download the firmware : i2c_algorithm if the device has i2c-adapter : dvb usb device adapter count : called to resolve adapter count : array of all adapter properties of device : called to enable/disable power of the device : called to resolve device configuration : called to resolve adapter mac-address : called to attach the possible frontends : called to attach the possible tuners : called to power on/off active frontend : called to start/stop the usb streaming of adapter : called after adapters are created in order to finalize device configuration : called when driver is unloaded : called to resolve used remote controller configuration : called to resolve input and output stream configuration of the adapter just before streaming is started. input stream is transport stream from the demodulator and output stream is usb stream to host.
Definition at line 228 of file dvb_usb.h.
#define MAX_NO_OF_FE_PER_ADAP 3 |
properties of dvb usb device adapter : adapter capabilities : pid count of adapter pid-filter : called to enable/disable pid-filter : called to set/unset pid for filtering : adapter usb stream configuration
Definition at line 180 of file dvb_usb.h.
#define MAX_NO_URBS_FOR_DATA_STREAM 10 |
generic object of an usb stream : number of buffer allocated : size of each buffer in buf_list : array containing all allocate buffers for streaming : list of dma_addr_t for each buffer in buf_list
: number of URBs initialized : number of URBs submitted
Definition at line 280 of file dvb_usb.h.
#define USB_STATE_INIT 0x00 |
#define USB_STATE_URB_BUF 0x01 |