Lines Matching refs:dib7000p_ops

35 	struct dib7000p_ops dib7000p_ops;  member
278 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7700P2_frontend_attach()
291 if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, in stk7700P2_frontend_attach()
295 dvb_detach(&state->dib7000p_ops); in stk7700P2_frontend_attach()
300 adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, in stk7700P2_frontend_attach()
311 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7700d_frontend_attach()
325 if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 2, 18, in stk7700d_frontend_attach()
329 dvb_detach(&state->dib7000p_ops); in stk7700d_frontend_attach()
334 adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, in stk7700d_frontend_attach()
346 tun_i2c = state->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, in stk7700d_tuner_attach()
429 state->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 0); in stk7700ph_xc3028_callback()
431 state->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in stk7700ph_xc3028_callback()
459 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7700ph_frontend_attach()
478 if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, in stk7700ph_frontend_attach()
482 dvb_detach(&state->dib7000p_ops); in stk7700ph_frontend_attach()
486 adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, in stk7700ph_frontend_attach()
497 tun_i2c = state->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, in stk7700ph_tuner_attach()
705 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7700p_frontend_attach()
724 if (state->dib7000p_ops.dib7000pc_detection(&adap->dev->i2c_adap)) { in stk7700p_frontend_attach()
725 …adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 18, &stk7700p_dib7000p_config… in stk7700p_frontend_attach()
728 memset(&state->dib7000p_ops, 0, sizeof(state->dib7000p_ops)); in stk7700p_frontend_attach()
753 tun_i2c = state->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INTERFACE_TUNER, 1); in stk7700p_tuner_attach()
801 return state->dib7000p_ops.set_gpio(fe, 8, 0, !onoff); in dib7070_tuner_reset()
810 return state->dib7000p_ops.set_gpio(fe, 9, 0, onoff); in dib7070_tuner_sleep()
854 state->dib7000p_ops.set_wbd_ref(fe, offset + dib0070_wbd_offset(fe)); in dib7070_set_param_override()
868 state->dib7000p_ops.set_gpio(fe, 0, 0, 1); in dib7770_set_param_override()
873 state->dib7000p_ops.set_gpio(fe, 0, 0, 0); in dib7770_set_param_override()
878 state->dib7000p_ops.set_wbd_ref(fe, offset + dib0070_wbd_offset(fe)); in dib7770_set_param_override()
885 struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, in dib7770p_tuner_attach()
900 …struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INT… in dib7070p_tuner_attach()
922 return state->dib7000p_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); in stk7700p_pid_filter()
931 return state->dib7000p_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff); in stk7700p_pid_filter_ctrl()
938 return state->dib7000p_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); in stk70x0p_pid_filter()
944 return state->dib7000p_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff); in stk70x0p_pid_filter_ctrl()
988 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7070p_frontend_attach()
1009 if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, in stk7070p_frontend_attach()
1013 dvb_detach(&state->dib7000p_ops); in stk7070p_frontend_attach()
1017 adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, in stk7070p_frontend_attach()
1046 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7770p_frontend_attach()
1067 if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, in stk7770p_frontend_attach()
1071 dvb_detach(&state->dib7000p_ops); in stk7770p_frontend_attach()
1075 adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, in stk7770p_frontend_attach()
2617 state->dib7000p_ops.set_wbd_ref(fe, target); in dib7090_agc_startup()
2623 state->dib7000p_ops.update_pll(fe, &pll); in dib7090_agc_startup()
2624 state->dib7000p_ops.ctrl_timf(fe, DEMOD_TIMF_SET, adc.timf); in dib7090_agc_startup()
2645 state->dib7000p_ops.set_gpio(fe, 8, 0, 0); in tfe7790p_update_lna()
2646 state->dib7000p_ops.set_agc1_min(fe, 0); in tfe7790p_update_lna()
2648 state->dib7000p_ops.set_gpio(fe, 8, 0, 1); in tfe7790p_update_lna()
2649 state->dib7000p_ops.set_agc1_min(fe, 32768); in tfe7790p_update_lna()
2799 state->dib7000p_ops.set_gpio(fe, 5, 0, 0); in tfe7090p_pvr_update_lna()
2800 state->dib7000p_ops.set_agc1_min(fe, 0); in tfe7090p_pvr_update_lna()
2802 state->dib7000p_ops.set_gpio(fe, 5, 0, 1); in tfe7090p_pvr_update_lna()
2803 state->dib7000p_ops.set_agc1_min(fe, 32768); in tfe7090p_pvr_update_lna()
3022 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in nim7090_frontend_attach()
3037 …if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x10, &nim7090_dib7000p_config) !… in nim7090_frontend_attach()
3039 dvb_detach(&state->dib7000p_ops); in nim7090_frontend_attach()
3042 …adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, &nim7090_dib7000p_confi… in nim7090_frontend_attach()
3050 struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); in nim7090_tuner_attach()
3052 nim7090_dib0090_config.reset = st->dib7000p_ops.tuner_sleep, in nim7090_tuner_attach()
3053 nim7090_dib0090_config.sleep = st->dib7000p_ops.tuner_sleep, in nim7090_tuner_attach()
3054 nim7090_dib0090_config.get_adc_power = st->dib7000p_ops.get_adc_power; in nim7090_tuner_attach()
3059 st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in nim7090_tuner_attach()
3071 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in tfe7090pvr_frontend0_attach()
3090 …if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x20, &tfe7090pvr_dib7000p_config… in tfe7090pvr_frontend0_attach()
3092 dvb_detach(&state->dib7000p_ops); in tfe7090pvr_frontend0_attach()
3097 …adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x90, &tfe7090pvr_dib7000p_co… in tfe7090pvr_frontend0_attach()
3101 state->dib7000p_ops.slave_reset(adap->fe_adap[0].fe); in tfe7090pvr_frontend0_attach()
3116 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in tfe7090pvr_frontend1_attach()
3119 …i2c = state->dib7000p_ops.get_i2c_master(adap->dev->adapter[0].fe_adap[0].fe, DIBX000_I2C_INTERFAC… in tfe7090pvr_frontend1_attach()
3120 if (state->dib7000p_ops.i2c_enumeration(i2c, 1, 0x10, &tfe7090pvr_dib7000p_config[1]) != 0) { in tfe7090pvr_frontend1_attach()
3122 dvb_detach(&state->dib7000p_ops); in tfe7090pvr_frontend1_attach()
3126 adap->fe_adap[0].fe = state->dib7000p_ops.init(i2c, 0x92, &tfe7090pvr_dib7000p_config[1]); in tfe7090pvr_frontend1_attach()
3135 struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); in tfe7090pvr_tuner0_attach()
3137 tfe7090pvr_dib0090_config[0].reset = st->dib7000p_ops.tuner_sleep; in tfe7090pvr_tuner0_attach()
3138 tfe7090pvr_dib0090_config[0].sleep = st->dib7000p_ops.tuner_sleep; in tfe7090pvr_tuner0_attach()
3139 tfe7090pvr_dib0090_config[0].get_adc_power = st->dib7000p_ops.get_adc_power; in tfe7090pvr_tuner0_attach()
3144 st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in tfe7090pvr_tuner0_attach()
3154 struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); in tfe7090pvr_tuner1_attach()
3156 tfe7090pvr_dib0090_config[1].reset = st->dib7000p_ops.tuner_sleep; in tfe7090pvr_tuner1_attach()
3157 tfe7090pvr_dib0090_config[1].sleep = st->dib7000p_ops.tuner_sleep; in tfe7090pvr_tuner1_attach()
3158 tfe7090pvr_dib0090_config[1].get_adc_power = st->dib7000p_ops.get_adc_power; in tfe7090pvr_tuner1_attach()
3163 st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in tfe7090pvr_tuner1_attach()
3175 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in tfe7790p_frontend_attach()
3193 if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, in tfe7790p_frontend_attach()
3197 dvb_detach(&state->dib7000p_ops); in tfe7790p_frontend_attach()
3200 adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, in tfe7790p_frontend_attach()
3210 st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); in tfe7790p_tuner_attach()
3213 tfe7790p_dib0090_config.reset = st->dib7000p_ops.tuner_sleep; in tfe7790p_tuner_attach()
3214 tfe7790p_dib0090_config.sleep = st->dib7000p_ops.tuner_sleep; in tfe7790p_tuner_attach()
3215 tfe7790p_dib0090_config.get_adc_power = st->dib7000p_ops.get_adc_power; in tfe7790p_tuner_attach()
3221 st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in tfe7790p_tuner_attach()
3280 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7070pd_frontend_attach0()
3288 if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 2, 18, in stk7070pd_frontend_attach0()
3292 dvb_detach(&state->dib7000p_ops); in stk7070pd_frontend_attach0()
3296 …adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, &stk7070pd_dib7000p_con… in stk7070pd_frontend_attach0()
3304 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7070pd_frontend_attach1()
3307 …adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x82, &stk7070pd_dib7000p_con… in stk7070pd_frontend_attach1()
3352 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in novatd_frontend_attach()
3363 if (state->dib7000p_ops.i2c_enumeration(&dev->i2c_adap, 2, 18, in novatd_frontend_attach()
3367 dvb_detach(&state->dib7000p_ops); in novatd_frontend_attach()
3372 adap->fe_adap[0].fe = state->dib7000p_ops.init(&dev->i2c_adap, in novatd_frontend_attach()
3486 state->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 0); in dib0700_xc4000_tuner_callback()
3488 state->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in dib0700_xc4000_tuner_callback()
3576 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in pctv340e_frontend_attach()
3601 if (state->dib7000p_ops.dib7000pc_detection(&adap->dev->i2c_adap) == 0) { in pctv340e_frontend_attach()
3603 dvb_detach(&state->dib7000p_ops); in pctv340e_frontend_attach()
3607 adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x12, in pctv340e_frontend_attach()
3628 tun_i2c = state->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, in xc4000_tuner_attach()