Lines Matching +full:5 +full:d

55 	struct dvb_usb_device *d = state->d;  in mxl111sf_ctrl_msg()  local
60 pr_warn("%s: len=%d is too big!\n", __func__, wlen); in mxl111sf_ctrl_msg()
64 pr_debug("%s(wlen = %d, rlen = %d)\n", __func__, wlen, rlen); in mxl111sf_ctrl_msg()
73 ret = (wo) ? dvb_usbv2_generic_write(d, state->sndbuf, 1+wlen) : in mxl111sf_ctrl_msg()
74 dvb_usbv2_generic_rw(d, state->sndbuf, 1+wlen, state->rcvbuf, in mxl111sf_ctrl_msg()
175 pr_err("failed on reg #%d (0x%02x)", i, in mxl111sf_ctrl_program_regs()
257 static int mxl111sf_power_ctrl(struct dvb_usb_device *d, int onoff)
267 struct dvb_usb_device *d = fe_to_d(fe); in mxl111sf_adap_fe_init() local
284 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0) in mxl111sf_adap_fe_init()
352 pr_debug("%s(%d)\n", __func__, onoff); in mxl111sf_ep6_streaming_ctrl()
376 pr_debug("%s(%d)\n", __func__, onoff); in mxl111sf_ep5_streaming_ctrl()
402 pr_debug("%s(%d)\n", __func__, onoff); in mxl111sf_ep4_streaming_ctrl()
427 struct dvb_usb_device *d = adap_to_d(adap); in mxl111sf_lgdt3305_frontend_attach() local
428 struct mxl111sf_state *state = d_to_priv(d); in mxl111sf_lgdt3305_frontend_attach()
435 state->d = d; in mxl111sf_lgdt3305_frontend_attach()
439 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0) in mxl111sf_lgdt3305_frontend_attach()
474 &d->i2c_adap); in mxl111sf_lgdt3305_frontend_attach()
498 struct dvb_usb_device *d = adap_to_d(adap); in mxl111sf_lg2160_frontend_attach() local
499 struct mxl111sf_state *state = d_to_priv(d); in mxl111sf_lg2160_frontend_attach()
506 state->d = d; in mxl111sf_lg2160_frontend_attach()
510 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0) in mxl111sf_lg2160_frontend_attach()
549 &d->i2c_adap); in mxl111sf_lg2160_frontend_attach()
583 struct dvb_usb_device *d = adap_to_d(adap); in mxl111sf_lg2161_frontend_attach() local
584 struct mxl111sf_state *state = d_to_priv(d); in mxl111sf_lg2161_frontend_attach()
591 state->d = d; in mxl111sf_lg2161_frontend_attach()
595 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0) in mxl111sf_lg2161_frontend_attach()
636 &d->i2c_adap); in mxl111sf_lg2161_frontend_attach()
670 struct dvb_usb_device *d = adap_to_d(adap); in mxl111sf_lg2161_ep6_frontend_attach() local
671 struct mxl111sf_state *state = d_to_priv(d); in mxl111sf_lg2161_ep6_frontend_attach()
678 state->d = d; in mxl111sf_lg2161_ep6_frontend_attach()
682 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0) in mxl111sf_lg2161_ep6_frontend_attach()
723 &d->i2c_adap); in mxl111sf_lg2161_ep6_frontend_attach()
745 struct dvb_usb_device *d = adap_to_d(adap); in mxl111sf_attach_demod() local
746 struct mxl111sf_state *state = d_to_priv(d); in mxl111sf_attach_demod()
753 state->d = d; in mxl111sf_attach_demod()
757 if (usb_set_interface(d->udev, 0, state->alt_mode) < 0) in mxl111sf_attach_demod()
810 pr_err("%s(%d) FINAL input set to %s rxPwr:%d|%d|%d|%d\n", \
922 static int mxl111sf_init(struct dvb_usb_device *d) in mxl111sf_init() argument
924 struct mxl111sf_state *state = d_to_priv(d); in mxl111sf_init()
943 ret = i2c_transfer(&d->i2c_adap, msg, 2); in mxl111sf_init()
955 printk(KERN_WARNING "%s: warning: unknown hauppauge model #%d\n", in mxl111sf_init()
1036 pr_debug("%s: endpoint=%d size=8192\n", __func__, endpoint); in mxl111sf_stream_config_bulk()
1038 stream->count = 5; in mxl111sf_stream_config_bulk()
1046 pr_debug("%s: endpoint=%d size=%d\n", __func__, endpoint, in mxl111sf_stream_config_isoc()
1049 stream->count = 5; in mxl111sf_stream_config_isoc()
1059 * bulk EP4/BULK/5/8192
1060 * isoc EP4/ISOC/5/96/564
1065 pr_debug("%s: fe=%d\n", __func__, fe->id); in mxl111sf_get_stream_config_dvbt()
1103 .stream = DVB_USB_STREAM_ISOC(6, 5, 24, 3072, 1),
1109 * bulk EP6/BULK/5/8192
1110 * isoc EP6/ISOC/5/24/3072
1115 pr_debug("%s: fe=%d\n", __func__, fe->id); in mxl111sf_get_stream_config_atsc()
1145 .stream = DVB_USB_STREAM_ISOC(6, 5, 24, 3072, 1),
1151 * bulk EP5/BULK/5/8192/RAW
1152 * isoc EP5/ISOC/5/96/200/RAW
1157 pr_debug("%s: fe=%d\n", __func__, fe->id); in mxl111sf_get_stream_config_mh()
1161 mxl111sf_stream_config_isoc(stream, 5, 96, 200); in mxl111sf_get_stream_config_mh()
1163 mxl111sf_stream_config_bulk(stream, 5); in mxl111sf_get_stream_config_mh()
1187 .stream = DVB_USB_STREAM_ISOC(6, 5, 24, 3072, 1),
1193 * bulk EP6/BULK/5/8192 EP4/BULK/5/8192 EP5/BULK/5/8192/RAW
1194 * isoc EP6/ISOC/5/24/3072 EP4/ISOC/5/96/564 EP5/ISOC/5/96/200/RAW
1199 pr_debug("%s: fe=%d\n", __func__, fe->id); in mxl111sf_get_stream_config_atsc_mh()
1216 mxl111sf_stream_config_isoc(stream, 5, 96, 200); in mxl111sf_get_stream_config_atsc_mh()
1218 mxl111sf_stream_config_bulk(stream, 5); in mxl111sf_get_stream_config_atsc_mh()
1225 pr_debug("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff); in mxl111sf_streaming_ctrl_atsc_mh()
1256 .stream = DVB_USB_STREAM_ISOC(6, 5, 24, 3072, 1),
1262 * tp bulk EP6/BULK/5/8192 EP4/BULK/5/8192 EP6/BULK/5/8192/RAW
1263 * tp isoc EP6/ISOC/5/24/3072 EP4/ISOC/5/96/564 EP6/ISOC/5/24/3072/RAW
1264 * spi bulk EP6/BULK/5/8192 EP4/BULK/5/8192 EP5/BULK/5/8192/RAW
1265 * spi isoc EP6/ISOC/5/24/3072 EP4/ISOC/5/96/564 EP5/ISOC/5/96/200/RAW
1270 pr_debug("%s: fe=%d\n", __func__, fe->id); in mxl111sf_get_stream_config_mercury()
1287 mxl111sf_stream_config_isoc(stream, 5, 96, 200); in mxl111sf_get_stream_config_mercury()
1289 mxl111sf_stream_config_bulk(stream, 5); in mxl111sf_get_stream_config_mercury()
1302 pr_debug("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff); in mxl111sf_streaming_ctrl_mercury()
1335 .stream = DVB_USB_STREAM_ISOC(6, 5, 24, 3072, 1),
1341 * tp bulk EP4/BULK/5/8192 EP6/BULK/5/8192/RAW
1342 * tp isoc EP4/ISOC/5/96/564 EP6/ISOC/5/24/3072/RAW
1343 * spi bulk EP4/BULK/5/8192 EP5/BULK/5/8192/RAW
1344 * spi isoc EP4/ISOC/5/96/564 EP5/ISOC/5/96/200/RAW
1349 pr_debug("%s: fe=%d\n", __func__, fe->id); in mxl111sf_get_stream_config_mercury_mh()
1360 mxl111sf_stream_config_isoc(stream, 5, 96, 200); in mxl111sf_get_stream_config_mercury_mh()
1362 mxl111sf_stream_config_bulk(stream, 5); in mxl111sf_get_stream_config_mercury_mh()
1375 pr_debug("%s: fe=%d onoff=%d\n", __func__, fe->id, onoff); in mxl111sf_streaming_ctrl_mercury_mh()
1406 .stream = DVB_USB_STREAM_ISOC(6, 5, 24, 3072, 1),