Lines Matching defs:adap
139 static int rtl28xxu_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[],
143 struct dvb_usb_device *d = i2c_get_adapdata(adap);
699 static int rtl2831u_frontend_attach(struct dvb_usb_adapter *adap)
701 struct dvb_usb_device *d = adap_to_d(adap);
744 adap->fe[0] = pdata->get_dvb_frontend(client);
907 static int rtl2832u_frontend_attach(struct dvb_usb_adapter *adap)
909 struct dvb_usb_device *d = adap_to_d(adap);
965 adap->fe[0] = pdata->get_dvb_frontend(client);
971 adap->fe[0]->callback = rtl2832u_frontend_callback;
986 mn88472_config.fe = &adap->fe[1];
1011 mn88473_config.fe = &adap->fe[1];
1038 adap->fe[1] = dvb_attach(cxd2841er_attach_t_c,
1041 if (!adap->fe[1]) {
1045 adap->fe[1]->id = 1;
1052 si2168_config.fe = &adap->fe[1];
1085 static int rtl28xxu_frontend_attach(struct dvb_usb_adapter *adap)
1087 struct rtl28xxu_dev *dev = adap_to_priv(adap);
1090 return rtl2831u_frontend_attach(adap);
1092 return rtl2832u_frontend_attach(adap);
1095 static int rtl28xxu_frontend_detach(struct dvb_usb_adapter *adap)
1097 struct dvb_usb_device *d = adap_to_d(adap);
1146 static int rtl2831u_tuner_attach(struct dvb_usb_adapter *adap)
1149 struct dvb_usb_device *d = adap_to_d(adap);
1157 fe = dvb_attach(qt1010_attach, adap->fe[0],
1162 fe = dvb_attach(mt2060_attach, adap->fe[0],
1167 fe = dvb_attach(mxl5005s_attach, adap->fe[0],
1206 static int rtl2832u_tuner_attach(struct dvb_usb_adapter *adap)
1209 struct dvb_usb_device *d = adap_to_d(adap);
1225 fe = dvb_attach(fc0012_attach, adap->fe[0],
1230 adap->fe[0]->ops.read_signal_strength =
1231 adap->fe[0]->ops.tuner_ops.get_rf_strength;
1234 fe = dvb_attach(fc0013_attach, adap->fe[0],
1238 adap->fe[0]->ops.read_signal_strength =
1239 adap->fe[0]->ops.tuner_ops.get_rf_strength;
1243 .fe = adap->fe[0],
1268 .dvb_frontend = adap->fe[0],
1290 .dvb_frontend = adap->fe[0],
1319 fe = dvb_attach(r820t_attach, adap->fe[0],
1324 adap->fe[0]->ops.read_signal_strength =
1325 adap->fe[0]->ops.tuner_ops.get_rf_strength;
1328 fe = dvb_attach(r820t_attach, adap->fe[0],
1331 adap->fe[0]->ops.read_signal_strength =
1332 adap->fe[0]->ops.tuner_ops.get_rf_strength;
1334 if (adap->fe[1]) {
1335 fe = dvb_attach(r820t_attach, adap->fe[1],
1338 adap->fe[1]->ops.read_signal_strength =
1339 adap->fe[1]->ops.tuner_ops.get_rf_strength;
1344 .fe = adap->fe[0],
1366 if (adap->fe[1]) {
1367 adap->fe[1]->tuner_priv =
1368 adap->fe[0]->tuner_priv;
1369 memcpy(&adap->fe[1]->ops.tuner_ops,
1370 &adap->fe[0]->ops.tuner_ops,
1394 pdata.dvb_frontend = adap->fe[0];
1417 static int rtl28xxu_tuner_attach(struct dvb_usb_adapter *adap)
1419 struct rtl28xxu_dev *dev = adap_to_priv(adap);
1422 return rtl2831u_tuner_attach(adap);
1424 return rtl2832u_tuner_attach(adap);
1427 static int rtl28xxu_tuner_detach(struct dvb_usb_adapter *adap)
1429 struct dvb_usb_device *d = adap_to_d(adap);
1860 static int rtl28xxu_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
1862 struct rtl28xxu_dev *dev = adap_to_priv(adap);
1867 return pdata->pid_filter_ctrl(adap->fe[0], onoff);
1871 return pdata->pid_filter_ctrl(adap->fe[0], onoff);
1875 static int rtl28xxu_pid_filter(struct dvb_usb_adapter *adap, int index,
1878 struct rtl28xxu_dev *dev = adap_to_priv(adap);
1883 return pdata->pid_filter(adap->fe[0], index, pid, onoff);
1887 return pdata->pid_filter(adap->fe[0], index, pid, onoff);