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()
2647 state->dib7000p_ops.set_wbd_ref(fe, target); in dib7090_agc_startup()
2653 state->dib7000p_ops.update_pll(fe, &pll); in dib7090_agc_startup()
2654 state->dib7000p_ops.ctrl_timf(fe, DEMOD_TIMF_SET, adc.timf); in dib7090_agc_startup()
2675 state->dib7000p_ops.set_gpio(fe, 8, 0, 0); in tfe7790p_update_lna()
2676 state->dib7000p_ops.set_agc1_min(fe, 0); in tfe7790p_update_lna()
2678 state->dib7000p_ops.set_gpio(fe, 8, 0, 1); in tfe7790p_update_lna()
2679 state->dib7000p_ops.set_agc1_min(fe, 32768); in tfe7790p_update_lna()
2829 state->dib7000p_ops.set_gpio(fe, 5, 0, 0); in tfe7090p_pvr_update_lna()
2830 state->dib7000p_ops.set_agc1_min(fe, 0); in tfe7090p_pvr_update_lna()
2832 state->dib7000p_ops.set_gpio(fe, 5, 0, 1); in tfe7090p_pvr_update_lna()
2833 state->dib7000p_ops.set_agc1_min(fe, 32768); in tfe7090p_pvr_update_lna()
3052 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in nim7090_frontend_attach()
3067 …if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x10, &nim7090_dib7000p_config) !… in nim7090_frontend_attach()
3069 dvb_detach(state->dib7000p_ops.set_wbd_ref); in nim7090_frontend_attach()
3072 …adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, &nim7090_dib7000p_confi… in nim7090_frontend_attach()
3080 struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); in nim7090_tuner_attach()
3082 nim7090_dib0090_config.reset = st->dib7000p_ops.tuner_sleep; in nim7090_tuner_attach()
3083 nim7090_dib0090_config.sleep = st->dib7000p_ops.tuner_sleep; in nim7090_tuner_attach()
3084 nim7090_dib0090_config.get_adc_power = st->dib7000p_ops.get_adc_power; in nim7090_tuner_attach()
3089 st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in nim7090_tuner_attach()
3101 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in tfe7090pvr_frontend0_attach()
3120 …if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x20, &tfe7090pvr_dib7000p_config… in tfe7090pvr_frontend0_attach()
3122 dvb_detach(state->dib7000p_ops.set_wbd_ref); in tfe7090pvr_frontend0_attach()
3127 …adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x90, &tfe7090pvr_dib7000p_co… in tfe7090pvr_frontend0_attach()
3131 state->dib7000p_ops.slave_reset(adap->fe_adap[0].fe); in tfe7090pvr_frontend0_attach()
3146 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in tfe7090pvr_frontend1_attach()
3149 …i2c = state->dib7000p_ops.get_i2c_master(adap->dev->adapter[0].fe_adap[0].fe, DIBX000_I2C_INTERFAC… in tfe7090pvr_frontend1_attach()
3150 if (state->dib7000p_ops.i2c_enumeration(i2c, 1, 0x10, &tfe7090pvr_dib7000p_config[1]) != 0) { in tfe7090pvr_frontend1_attach()
3152 dvb_detach(state->dib7000p_ops.set_wbd_ref); in tfe7090pvr_frontend1_attach()
3156 adap->fe_adap[0].fe = state->dib7000p_ops.init(i2c, 0x92, &tfe7090pvr_dib7000p_config[1]); in tfe7090pvr_frontend1_attach()
3165 struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); in tfe7090pvr_tuner0_attach()
3167 tfe7090pvr_dib0090_config[0].reset = st->dib7000p_ops.tuner_sleep; in tfe7090pvr_tuner0_attach()
3168 tfe7090pvr_dib0090_config[0].sleep = st->dib7000p_ops.tuner_sleep; in tfe7090pvr_tuner0_attach()
3169 tfe7090pvr_dib0090_config[0].get_adc_power = st->dib7000p_ops.get_adc_power; in tfe7090pvr_tuner0_attach()
3174 st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in tfe7090pvr_tuner0_attach()
3184 struct i2c_adapter *tun_i2c = st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); in tfe7090pvr_tuner1_attach()
3186 tfe7090pvr_dib0090_config[1].reset = st->dib7000p_ops.tuner_sleep; in tfe7090pvr_tuner1_attach()
3187 tfe7090pvr_dib0090_config[1].sleep = st->dib7000p_ops.tuner_sleep; in tfe7090pvr_tuner1_attach()
3188 tfe7090pvr_dib0090_config[1].get_adc_power = st->dib7000p_ops.get_adc_power; in tfe7090pvr_tuner1_attach()
3193 st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in tfe7090pvr_tuner1_attach()
3205 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in tfe7790p_frontend_attach()
3223 if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, in tfe7790p_frontend_attach()
3227 dvb_detach(state->dib7000p_ops.set_wbd_ref); in tfe7790p_frontend_attach()
3230 adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, in tfe7790p_frontend_attach()
3240 st->dib7000p_ops.get_i2c_tuner(adap->fe_adap[0].fe); in tfe7790p_tuner_attach()
3243 tfe7790p_dib0090_config.reset = st->dib7000p_ops.tuner_sleep; in tfe7790p_tuner_attach()
3244 tfe7790p_dib0090_config.sleep = st->dib7000p_ops.tuner_sleep; in tfe7790p_tuner_attach()
3245 tfe7790p_dib0090_config.get_adc_power = st->dib7000p_ops.get_adc_power; in tfe7790p_tuner_attach()
3251 st->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in tfe7790p_tuner_attach()
3310 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7070pd_frontend_attach0()
3318 if (state->dib7000p_ops.i2c_enumeration(&adap->dev->i2c_adap, 2, 18, in stk7070pd_frontend_attach0()
3322 dvb_detach(state->dib7000p_ops.set_wbd_ref); in stk7070pd_frontend_attach0()
3326 …adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x80, &stk7070pd_dib7000p_con… in stk7070pd_frontend_attach0()
3334 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in stk7070pd_frontend_attach1()
3337 …adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x82, &stk7070pd_dib7000p_con… in stk7070pd_frontend_attach1()
3382 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in novatd_frontend_attach()
3393 if (state->dib7000p_ops.i2c_enumeration(&dev->i2c_adap, 2, 18, in novatd_frontend_attach()
3397 dvb_detach(state->dib7000p_ops.set_wbd_ref); in novatd_frontend_attach()
3402 adap->fe_adap[0].fe = state->dib7000p_ops.init(&dev->i2c_adap, in novatd_frontend_attach()
3516 state->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 0); in dib0700_xc4000_tuner_callback()
3518 state->dib7000p_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in dib0700_xc4000_tuner_callback()
3606 if (!dvb_attach(dib7000p_attach, &state->dib7000p_ops)) in pctv340e_frontend_attach()
3631 if (state->dib7000p_ops.dib7000pc_detection(&adap->dev->i2c_adap) == 0) { in pctv340e_frontend_attach()
3633 dvb_detach(state->dib7000p_ops.set_wbd_ref); in pctv340e_frontend_attach()
3637 adap->fe_adap[0].fe = state->dib7000p_ops.init(&adap->dev->i2c_adap, 0x12, in pctv340e_frontend_attach()
3658 tun_i2c = state->dib7000p_ops.get_i2c_master(adap->fe_adap[0].fe, in xc4000_tuner_attach()