Lines Matching refs:adap
206 static int anysee_master_xfer(struct i2c_adapter *adap, struct i2c_msg *msg, in anysee_master_xfer() argument
209 struct dvb_usb_device *d = i2c_get_adapdata(adap); in anysee_master_xfer()
719 static int anysee_frontend_attach(struct dvb_usb_adapter *adap) in anysee_frontend_attach() argument
721 struct anysee_state *state = adap_to_priv(adap); in anysee_frontend_attach()
722 struct dvb_usb_device *d = adap_to_d(adap); in anysee_frontend_attach()
744 adap->fe[0] = dvb_attach(mt352_attach, &anysee_mt352_config, in anysee_frontend_attach()
746 if (adap->fe[0]) in anysee_frontend_attach()
750 adap->fe[0] = dvb_attach(zl10353_attach, &anysee_zl10353_config, in anysee_frontend_attach()
768 adap->fe[0] = dvb_attach(zl10353_attach, &anysee_zl10353_config, in anysee_frontend_attach()
781 adap->fe[0] = dvb_attach(tda10023_attach, in anysee_frontend_attach()
794 adap->fe[0] = dvb_attach(cx24116_attach, &anysee_cx24116_config, in anysee_frontend_attach()
836 adap->fe[0] = dvb_attach(tda10023_attach, in anysee_frontend_attach()
841 if (adap->fe[0]) in anysee_frontend_attach()
842 adap->fe[0]->ops.i2c_gate_ctrl = in anysee_frontend_attach()
846 adap->fe[0] = dvb_attach(tda10023_attach, in anysee_frontend_attach()
852 if (!adap->fe[0]) in anysee_frontend_attach()
868 adap->fe[1] = dvb_attach(zl10353_attach, in anysee_frontend_attach()
873 if (adap->fe[1]) in anysee_frontend_attach()
874 adap->fe[1]->ops.i2c_gate_ctrl = in anysee_frontend_attach()
878 adap->fe[1] = dvb_attach(zl10353_attach, in anysee_frontend_attach()
900 adap->fe[0] = dvb_attach(tda10023_attach, in anysee_frontend_attach()
905 if (adap->fe[0]) in anysee_frontend_attach()
906 adap->fe[0]->ops.i2c_gate_ctrl = anysee_i2c_gate_ctrl; in anysee_frontend_attach()
909 if (!adap->fe[0]) in anysee_frontend_attach()
923 adap->fe[1] = dvb_attach(zl10353_attach, in anysee_frontend_attach()
928 if (adap->fe[1]) in anysee_frontend_attach()
929 adap->fe[1]->ops.i2c_gate_ctrl = anysee_i2c_gate_ctrl; in anysee_frontend_attach()
945 adap->fe[0] = dvb_attach(stv0900_attach, in anysee_frontend_attach()
960 adap->fe[0] = dvb_attach(cxd2820r_attach, in anysee_frontend_attach()
968 if (!adap->fe[0]) { in anysee_frontend_attach()
979 static int anysee_tuner_attach(struct dvb_usb_adapter *adap) in anysee_tuner_attach() argument
981 struct anysee_state *state = adap_to_priv(adap); in anysee_tuner_attach()
982 struct dvb_usb_device *d = adap_to_d(adap); in anysee_tuner_attach()
992 fe = dvb_attach(dvb_pll_attach, adap->fe[0], (0xc2 >> 1), NULL, in anysee_tuner_attach()
1000 fe = dvb_attach(dvb_pll_attach, adap->fe[0], (0xc2 >> 1), in anysee_tuner_attach()
1008 fe = dvb_attach(dvb_pll_attach, adap->fe[0], (0xc0 >> 1), in anysee_tuner_attach()
1016 fe = dvb_attach(isl6423_attach, adap->fe[0], &d->i2c_adap, in anysee_tuner_attach()
1032 tda18212_config.fe = adap->fe[0]; in anysee_tuner_attach()
1039 if (adap->fe[1]) { in anysee_tuner_attach()
1040 adap->fe[1]->tuner_priv = in anysee_tuner_attach()
1041 adap->fe[0]->tuner_priv; in anysee_tuner_attach()
1042 memcpy(&adap->fe[1]->ops.tuner_ops, in anysee_tuner_attach()
1043 &adap->fe[0]->ops.tuner_ops, in anysee_tuner_attach()
1050 fe = dvb_attach(dvb_pll_attach, adap->fe[0], in anysee_tuner_attach()
1054 if (fe && adap->fe[1]) { in anysee_tuner_attach()
1056 fe = dvb_attach(dvb_pll_attach, adap->fe[1], in anysee_tuner_attach()
1070 tda18212_config.fe = adap->fe[0]; in anysee_tuner_attach()
1076 if (adap->fe[1]) { in anysee_tuner_attach()
1077 adap->fe[1]->tuner_priv = adap->fe[0]->tuner_priv; in anysee_tuner_attach()
1078 memcpy(&adap->fe[1]->ops.tuner_ops, in anysee_tuner_attach()
1079 &adap->fe[0]->ops.tuner_ops, in anysee_tuner_attach()
1091 fe = dvb_attach(stv6110_attach, adap->fe[0], in anysee_tuner_attach()
1096 fe = dvb_attach(isl6423_attach, adap->fe[0], in anysee_tuner_attach()
1108 tda18212_config.fe = adap->fe[0]; in anysee_tuner_attach()