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;
980 mn88472_config.fe = &adap->fe[1];
1002 mn88473_config.fe = &adap->fe[1];
1026 adap->fe[1] = dvb_attach(cxd2841er_attach_t_c,
1029 if (!adap->fe[1])
1031 adap->fe[1]->id = 1;
1038 si2168_config.fe = &adap->fe[1];
1076 static int rtl28xxu_frontend_attach(struct dvb_usb_adapter *adap)
1078 struct rtl28xxu_dev *dev = adap_to_priv(adap);
1081 return rtl2831u_frontend_attach(adap);
1083 return rtl2832u_frontend_attach(adap);
1086 static int rtl28xxu_frontend_detach(struct dvb_usb_adapter *adap)
1088 struct dvb_usb_device *d = adap_to_d(adap);
1137 static int rtl2831u_tuner_attach(struct dvb_usb_adapter *adap)
1140 struct dvb_usb_device *d = adap_to_d(adap);
1148 fe = dvb_attach(qt1010_attach, adap->fe[0],
1153 fe = dvb_attach(mt2060_attach, adap->fe[0],
1158 fe = dvb_attach(mxl5005s_attach, adap->fe[0],
1197 static int rtl2832u_tuner_attach(struct dvb_usb_adapter *adap)
1200 struct dvb_usb_device *d = adap_to_d(adap);
1216 fe = dvb_attach(fc0012_attach, adap->fe[0],
1221 adap->fe[0]->ops.read_signal_strength =
1222 adap->fe[0]->ops.tuner_ops.get_rf_strength;
1225 fe = dvb_attach(fc0013_attach, adap->fe[0],
1229 adap->fe[0]->ops.read_signal_strength =
1230 adap->fe[0]->ops.tuner_ops.get_rf_strength;
1234 .fe = adap->fe[0],
1259 .dvb_frontend = adap->fe[0],
1281 .dvb_frontend = adap->fe[0],
1310 fe = dvb_attach(r820t_attach, adap->fe[0],
1315 adap->fe[0]->ops.read_signal_strength =
1316 adap->fe[0]->ops.tuner_ops.get_rf_strength;
1319 fe = dvb_attach(r820t_attach, adap->fe[0],
1322 adap->fe[0]->ops.read_signal_strength =
1323 adap->fe[0]->ops.tuner_ops.get_rf_strength;
1325 if (adap->fe[1]) {
1326 fe = dvb_attach(r820t_attach, adap->fe[1],
1329 adap->fe[1]->ops.read_signal_strength =
1330 adap->fe[1]->ops.tuner_ops.get_rf_strength;
1335 .fe = adap->fe[0],
1357 if (adap->fe[1]) {
1358 adap->fe[1]->tuner_priv =
1359 adap->fe[0]->tuner_priv;
1360 memcpy(&adap->fe[1]->ops.tuner_ops,
1361 &adap->fe[0]->ops.tuner_ops,
1385 pdata.dvb_frontend = adap->fe[0];
1408 static int rtl28xxu_tuner_attach(struct dvb_usb_adapter *adap)
1410 struct rtl28xxu_dev *dev = adap_to_priv(adap);
1413 return rtl2831u_tuner_attach(adap);
1415 return rtl2832u_tuner_attach(adap);
1418 static int rtl28xxu_tuner_detach(struct dvb_usb_adapter *adap)
1420 struct dvb_usb_device *d = adap_to_d(adap);
1851 static int rtl28xxu_pid_filter_ctrl(struct dvb_usb_adapter *adap, int onoff)
1853 struct rtl28xxu_dev *dev = adap_to_priv(adap);
1858 return pdata->pid_filter_ctrl(adap->fe[0], onoff);
1862 return pdata->pid_filter_ctrl(adap->fe[0], onoff);
1866 static int rtl28xxu_pid_filter(struct dvb_usb_adapter *adap, int index,
1869 struct rtl28xxu_dev *dev = adap_to_priv(adap);
1874 return pdata->pid_filter(adap->fe[0], index, pid, onoff);
1878 return pdata->pid_filter(adap->fe[0], index, pid, onoff);