Lines Matching refs:dib7000p_ops

34 	struct dib7000p_ops dib7000p_ops;  member
277 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7700P2_frontend_attach()
290 if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, in stk7700P2_frontend_attach()
294 dvb_detach(state->dib7000p_ops.set_wbd_ref); in stk7700P2_frontend_attach()
299 adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, in stk7700P2_frontend_attach()
310 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7700d_frontend_attach()
324 if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 2, 18, in stk7700d_frontend_attach()
328 dvb_detach(state->dib7000p_ops.set_wbd_ref); in stk7700d_frontend_attach()
333 adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, in stk7700d_frontend_attach()
345 tun_i2c = state->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, in stk7700d_tuner_attach()
428 state->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 0); in stk7700ph_xc3028_callback()
430 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.set_wbd_ref); 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()
706 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7700p_frontend_attach()
725 if (state->dib7000p_ops.dib7000pc_detection(&adap->dev->i2c_adap)) { in stk7700p_frontend_attach()
726 …adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 18, &stk7700p_dib7000p_config… in stk7700p_frontend_attach()
729 memset(&state->dib7000p_ops, 0, sizeof(state->dib7000p_ops)); in stk7700p_frontend_attach()
754 tun_i2c = state->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INTERFACE_TUNER, 1); in stk7700p_tuner_attach()
802 return state->dib7000p_ops.set_gpio(fe, 8, 0, !onoff); in dib7070_tuner_reset()
811 return state->dib7000p_ops.set_gpio(fe, 9, 0, onoff); in dib7070_tuner_sleep()
855 state->dib7000p_ops.set_wbd_ref(fe, offset + dib0070_wbd_offset(fe)); in dib7070_set_param_override()
869 state->dib7000p_ops.set_gpio(fe, 0, 0, 1); in dib7770_set_param_override()
874 state->dib7000p_ops.set_gpio(fe, 0, 0, 0); in dib7770_set_param_override()
879 state->dib7000p_ops.set_wbd_ref(fe, offset + dib0070_wbd_offset(fe)); in dib7770_set_param_override()
886 struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, in dib7770p_tuner_attach()
901 …struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INT… in dib7070p_tuner_attach()
923 return state->dib7000p_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); in stk7700p_pid_filter()
932 return state->dib7000p_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff); in stk7700p_pid_filter_ctrl()
939 return state->dib7000p_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); in stk70x0p_pid_filter()
945 return state->dib7000p_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff); in stk70x0p_pid_filter_ctrl()
989 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7070p_frontend_attach()
1010 if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, in stk7070p_frontend_attach()
1014 dvb_detach(state->dib7000p_ops.set_wbd_ref); in stk7070p_frontend_attach()
1018 adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, in stk7070p_frontend_attach()
1047 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7770p_frontend_attach()
1068 if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, in stk7770p_frontend_attach()
1072 dvb_detach(state->dib7000p_ops.set_wbd_ref); in stk7770p_frontend_attach()
1076 adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, in stk7770p_frontend_attach()
2642 state->dib7000p_ops.set_wbd_ref(fe, target); in dib7090_agc_startup()
2648 state->dib7000p_ops.update_pll(fe, &pll); in dib7090_agc_startup()
2649 state->dib7000p_ops.ctrl_timf(fe, DEMOD_TIMF_SET, adc.timf); in dib7090_agc_startup()
2670 state->dib7000p_ops.set_gpio(fe, 8, 0, 0); in tfe7790p_update_lna()
2671 state->dib7000p_ops.set_agc1_min(fe, 0); in tfe7790p_update_lna()
2673 state->dib7000p_ops.set_gpio(fe, 8, 0, 1); in tfe7790p_update_lna()
2674 state->dib7000p_ops.set_agc1_min(fe, 32768); in tfe7790p_update_lna()
2824 state->dib7000p_ops.set_gpio(fe, 5, 0, 0); in tfe7090p_pvr_update_lna()
2825 state->dib7000p_ops.set_agc1_min(fe, 0); in tfe7090p_pvr_update_lna()
2827 state->dib7000p_ops.set_gpio(fe, 5, 0, 1); in tfe7090p_pvr_update_lna()
2828 state->dib7000p_ops.set_agc1_min(fe, 32768); in tfe7090p_pvr_update_lna()
3047 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in nim7090_frontend_attach()
3062 …if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x10, &nim7090_dib7000p_config) !… in nim7090_frontend_attach()
3064 dvb_detach(state->dib7000p_ops.set_wbd_ref); in nim7090_frontend_attach()
3067 …adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, &nim7090_dib7000p_confi… in nim7090_frontend_attach()
3075 struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); in nim7090_tuner_attach()
3077 nim7090_dib0090_config.reset = st->dib7000p_ops.tuner_sleep; in nim7090_tuner_attach()
3078 nim7090_dib0090_config.sleep = st->dib7000p_ops.tuner_sleep; in nim7090_tuner_attach()
3079 nim7090_dib0090_config.get_adc_power = st->dib7000p_ops.get_adc_power; in nim7090_tuner_attach()
3084 st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in nim7090_tuner_attach()
3096 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in tfe7090pvr_frontend0_attach()
3115 …if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x20, &tfe7090pvr_dib7000p_config… in tfe7090pvr_frontend0_attach()
3117 dvb_detach(state->dib7000p_ops.set_wbd_ref); in tfe7090pvr_frontend0_attach()
3122 …adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x90, &tfe7090pvr_dib7000p_co… in tfe7090pvr_frontend0_attach()
3126 state->dib7000p_ops.slave_reset(adap->fe_adap[0].fe); in tfe7090pvr_frontend0_attach()
3141 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in tfe7090pvr_frontend1_attach()
3144 …i2c = state->dib7000p_ops.get_i2c_master(adap->dev->adapter[0].fe_adap[0].fe, DIBX000_I2C_INTERFAC… in tfe7090pvr_frontend1_attach()
3145 if (state->dib7000p_ops.i2c_enumeration(i2c, 1, 0x10, &tfe7090pvr_dib7000p_config[1]) != 0) { in tfe7090pvr_frontend1_attach()
3147 dvb_detach(state->dib7000p_ops.set_wbd_ref); in tfe7090pvr_frontend1_attach()
3151 adap->fe_adap[0].fe = state->dib7000p_ops.init(i2c, 0x92, &tfe7090pvr_dib7000p_config[1]); in tfe7090pvr_frontend1_attach()
3160 struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); in tfe7090pvr_tuner0_attach()
3162 tfe7090pvr_dib0090_config[0].reset = st->dib7000p_ops.tuner_sleep; in tfe7090pvr_tuner0_attach()
3163 tfe7090pvr_dib0090_config[0].sleep = st->dib7000p_ops.tuner_sleep; in tfe7090pvr_tuner0_attach()
3164 tfe7090pvr_dib0090_config[0].get_adc_power = st->dib7000p_ops.get_adc_power; in tfe7090pvr_tuner0_attach()
3169 st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in tfe7090pvr_tuner0_attach()
3179 struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); in tfe7090pvr_tuner1_attach()
3181 tfe7090pvr_dib0090_config[1].reset = st->dib7000p_ops.tuner_sleep; in tfe7090pvr_tuner1_attach()
3182 tfe7090pvr_dib0090_config[1].sleep = st->dib7000p_ops.tuner_sleep; in tfe7090pvr_tuner1_attach()
3183 tfe7090pvr_dib0090_config[1].get_adc_power = st->dib7000p_ops.get_adc_power; in tfe7090pvr_tuner1_attach()
3188 st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in tfe7090pvr_tuner1_attach()
3200 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in tfe7790p_frontend_attach()
3218 if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, in tfe7790p_frontend_attach()
3222 dvb_detach(state->dib7000p_ops.set_wbd_ref); in tfe7790p_frontend_attach()
3225 adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, in tfe7790p_frontend_attach()
3235 st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); in tfe7790p_tuner_attach()
3238 tfe7790p_dib0090_config.reset = st->dib7000p_ops.tuner_sleep; in tfe7790p_tuner_attach()
3239 tfe7790p_dib0090_config.sleep = st->dib7000p_ops.tuner_sleep; in tfe7790p_tuner_attach()
3240 tfe7790p_dib0090_config.get_adc_power = st->dib7000p_ops.get_adc_power; in tfe7790p_tuner_attach()
3246 st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in tfe7790p_tuner_attach()
3305 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7070pd_frontend_attach0()
3313 if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 2, 18, in stk7070pd_frontend_attach0()
3317 dvb_detach(state->dib7000p_ops.set_wbd_ref); in stk7070pd_frontend_attach0()
3321 …adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, &stk7070pd_dib7000p_con… in stk7070pd_frontend_attach0()
3329 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7070pd_frontend_attach1()
3332 …adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x82, &stk7070pd_dib7000p_con… in stk7070pd_frontend_attach1()
3377 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in novatd_frontend_attach()
3388 if (state->dib7000p_ops.i2c_enumeration(&dev->i2c_adap, 2, 18, in novatd_frontend_attach()
3392 dvb_detach(state->dib7000p_ops.set_wbd_ref); in novatd_frontend_attach()
3397 adap->fe_adap[0].fe = state->dib7000p_ops.init(&dev->i2c_adap, in novatd_frontend_attach()
3511 state->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 0); in dib0700_xc4000_tuner_callback()
3513 state->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in dib0700_xc4000_tuner_callback()
3601 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in pctv340e_frontend_attach()
3626 if (state->dib7000p_ops.dib7000pc_detection(&adap->dev->i2c_adap) == 0) { in pctv340e_frontend_attach()
3628 dvb_detach(state->dib7000p_ops.set_wbd_ref); in pctv340e_frontend_attach()
3632 adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x12, in pctv340e_frontend_attach()
3653 tun_i2c = state->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, in xc4000_tuner_attach()