Lines Matching refs:fe

183 static int anysee_streaming_ctrl(struct dvb_frontend *fe, int onoff)  in anysee_streaming_ctrl()  argument
186 dev_dbg(&fe_to_d(fe)->udev->dev, "%s: onoff=%d\n", __func__, onoff); in anysee_streaming_ctrl()
187 return anysee_ctrl_msg(fe_to_d(fe), buf, sizeof(buf), NULL, 0); in anysee_streaming_ctrl()
265 static int anysee_mt352_demod_init(struct dvb_frontend *fe) in anysee_mt352_demod_init() argument
274 mt352_write(fe, clock_config, sizeof(clock_config)); in anysee_mt352_demod_init()
276 mt352_write(fe, reset, sizeof(reset)); in anysee_mt352_demod_init()
277 mt352_write(fe, adc_ctl_1_cfg, sizeof(adc_ctl_1_cfg)); in anysee_mt352_demod_init()
279 mt352_write(fe, agc_cfg, sizeof(agc_cfg)); in anysee_mt352_demod_init()
280 mt352_write(fe, gpp_ctl_cfg, sizeof(gpp_ctl_cfg)); in anysee_mt352_demod_init()
281 mt352_write(fe, capt_range_cfg, sizeof(capt_range_cfg)); in anysee_mt352_demod_init()
532 static int anysee_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) in anysee_i2c_gate_ctrl() argument
535 return anysee_wr_reg_mask(fe_to_d(fe), REG_IOE, (enable << 4), 0x10); in anysee_i2c_gate_ctrl()
538 static int anysee_frontend_ctrl(struct dvb_frontend *fe, int onoff) in anysee_frontend_ctrl() argument
540 struct anysee_state *state = fe_to_priv(fe); in anysee_frontend_ctrl()
541 struct dvb_usb_device *d = fe_to_d(fe); in anysee_frontend_ctrl()
543 dev_dbg(&d->udev->dev, "%s: fe=%d onoff=%d\n", __func__, fe->id, onoff); in anysee_frontend_ctrl()
554 if (fe->id == 0) { in anysee_frontend_ctrl()
592 if (fe->id == 0) { in anysee_frontend_ctrl()
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()
983 struct dvb_frontend *fe; in anysee_tuner_attach() local
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()
1094 if (fe) { 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()
1116 fe = NULL; in anysee_tuner_attach()
1119 if (fe) in anysee_tuner_attach()