12 u16 rlen,
int delay_ms)
16 if (!d || wbuf ==
NULL || wlen == 0)
19 if (d->
props.generic_bulk_ctrl_endpoint == 0) {
20 err(
"endpoint for generic control not specified.");
31 d->
props.generic_bulk_ctrl_endpoint), wbuf,wlen,&actlen,
35 err(
"bulk message failed: %d (%d/%d)",ret,wlen,actlen);
37 ret = actlen != wlen ? -1 : 0;
40 if (!ret && rbuf && rlen) {
45 d->
props.generic_bulk_ctrl_endpoint_response ?
46 d->
props.generic_bulk_ctrl_endpoint_response :
47 d->
props.generic_bulk_ctrl_endpoint),rbuf,rlen,&actlen,
51 err(
"recv bulk message failed: %d",ret);
76 static void dvb_usb_data_complete_204(
struct usb_data_stream *stream,
u8 *buffer,
size_t length)
84 u8 *buffer,
size_t length)
94 for (i = 0; i < adap->
props.num_frontends; i++) {
99 dvb_usb_data_complete_204;
103 dvb_usb_data_complete_raw;
105 adap->
fe_adap[
i].stream.complete = dvb_usb_data_complete;
106 adap->
fe_adap[
i].stream.user_priv = adap;
108 &adap->
props.fe[i].stream);
118 for (i = 0; i < adap->
props.num_frontends; i++)