Lines Matching refs:dib8000_ops
35 struct dib8000_ops dib8000_ops; member
1235 return state->dib8000_ops.set_gpio(fe, 5, 0, !onoff); in dib80xx_tuner_reset()
1243 return state->dib8000_ops.set_gpio(fe, 0, 0, onoff); in dib80xx_tuner_sleep()
1300 state->dib8000_ops.set_wbd_ref(fe, offset); in dib807x_set_param_override()
1308 struct i2c_adapter *tun_i2c = st->dib8000_ops.get_i2c_master(adap->fe_adap[0].fe, in dib807x_tuner_attach()
1331 return state->dib8000_ops.pid_filter(adapter->fe_adap[0].fe, index, pid, onoff); in stk80xx_pid_filter()
1339 return state->dib8000_ops.pid_filter_ctrl(adapter->fe_adap[0].fe, onoff); in stk80xx_pid_filter_ctrl()
1347 if (!dvb_attach(dib8000_attach, &state->dib8000_ops)) in stk807x_frontend_attach()
1365 state->dib8000_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, in stk807x_frontend_attach()
1368 adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x80, in stk807x_frontend_attach()
1379 if (!dvb_attach(dib8000_attach, &state->dib8000_ops)) in stk807xpvr_frontend_attach0()
1400 state->dib8000_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x22, 0x80, 0); in stk807xpvr_frontend_attach0()
1402 adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x80, in stk807xpvr_frontend_attach0()
1412 if (!dvb_attach(dib8000_attach, &state->dib8000_ops)) in stk807xpvr_frontend_attach1()
1416 state->dib8000_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x12, 0x82, 0); in stk807xpvr_frontend_attach1()
1418 adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x82, in stk807xpvr_frontend_attach1()
1541 return state->dib8000_ops.get_adc_power(fe, 1); in dib8090_get_adc_power()
1665 state->dib8000_ops.set_gpio(fe, 3, 0, 1); in dib8096_set_param_override()
1668 state->dib8000_ops.set_gpio(fe, 3, 0, 0); in dib8096_set_param_override()
1682 …state->dib8000_ops.update_pll(fe, &dib8090_pll_config_12mhz, fe->dtv_property_cache.bandwidth_hz /… in dib8096_set_param_override()
1696 …state->dib8000_ops.update_pll(fe, &dib8090_pll_config_12mhz, fe->dtv_property_cache.bandwidth_hz /… in dib8096_set_param_override()
1698 state->dib8000_ops.ctrl_timf(fe, DEMOD_TIMF_SET, timf); in dib8096_set_param_override()
1703 state->dib8000_ops.set_wbd_ref(fe, target); in dib8096_set_param_override()
1715 state->dib8000_ops.set_gpio(fe, 6, 0, 1); in dib8096_set_param_override()
1719 state->dib8000_ops.set_gpio(fe, 6, 0, 0); in dib8096_set_param_override()
1725 state->dib8000_ops.pwm_agc_reset(fe); in dib8096_set_param_override()
1726 state->dib8000_ops.set_tune_state(fe, CT_DEMOD_START); in dib8096_set_param_override()
1739 …struct i2c_adapter *tun_i2c = st->dib8000_ops.get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INTE… in dib809x_tuner_attach()
1754 if (!dvb_attach(dib8000_attach, &state->dib8000_ops)) in stk809x_frontend_attach()
1772 state->dib8000_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 18, 0x80, 0); in stk809x_frontend_attach()
1774 …adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x80, &dib809x_dib8000_config[… in stk809x_frontend_attach()
1783 if (!dvb_attach(dib8000_attach, &state->dib8000_ops)) in stk809x_frontend1_attach()
1786 state->dib8000_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x10, 0x82, 0); in stk809x_frontend1_attach()
1788 …adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x82, &dib809x_dib8000_config[… in stk809x_frontend1_attach()
1797 struct dvb_frontend *fe_slave = st->dib8000_ops.get_slave_frontend(adap->fe_adap[0].fe, 1); in nim8096md_tuner_attach()
1800 tun_i2c = st->dib8000_ops.get_i2c_master(fe_slave, DIBX000_I2C_INTERFACE_TUNER, 1); in nim8096md_tuner_attach()
1806 tun_i2c = st->dib8000_ops.get_i2c_master(adap->fe_adap[0].fe, DIBX000_I2C_INTERFACE_TUNER, 1); in nim8096md_tuner_attach()
1821 if (!dvb_attach(dib8000_attach, &state->dib8000_ops)) in nim8096md_frontend_attach()
1841 state->dib8000_ops.i2c_enumeration(&adap->dev->i2c_adap, 2, 18, 0x80, 0); in nim8096md_frontend_attach()
1843 …adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x80, &dib809x_dib8000_config[… in nim8096md_frontend_attach()
1848 if (!dvb_attach(dib8000_attach, &state->dib8000_ops)) in nim8096md_frontend_attach()
1851 fe_slave = state->dib8000_ops.init(&adap->dev->i2c_adap, 0x82, &dib809x_dib8000_config[1]); in nim8096md_frontend_attach()
1852 state->dib8000_ops.set_slave_frontend(adap->fe_adap[0].fe, fe_slave); in nim8096md_frontend_attach()
2123 state->dib8000_ops.set_wbd_ref(fe, target); in dib8096p_agc_startup()
2130 state->dib8000_ops.update_pll(fe, &pll, fe->dtv_property_cache.bandwidth_hz / 1000, 0); in dib8096p_agc_startup()
2131 state->dib8000_ops.ctrl_timf(fe, DEMOD_TIMF_SET, adc.timf); in dib8096p_agc_startup()
2143 if (!dvb_attach(dib8000_attach, &state->dib8000_ops)) in tfe8096p_frontend_attach()
2165 state->dib8000_ops.i2c_enumeration(&adap->dev->i2c_adap, 1, 0x10, 0x80, 1); in tfe8096p_frontend_attach()
2167 adap->fe_adap[0].fe = state->dib8000_ops.init(&adap->dev->i2c_adap, in tfe8096p_frontend_attach()
2176 struct i2c_adapter *tun_i2c = st->dib8000_ops.get_i2c_tuner(adap->fe_adap[0].fe); in tfe8096p_tuner_attach()
2178 tfe8096p_dib0090_config.reset = st->dib8000_ops.tuner_sleep; in tfe8096p_tuner_attach()
2179 tfe8096p_dib0090_config.sleep = st->dib8000_ops.tuner_sleep; in tfe8096p_tuner_attach()
2186 st->dib8000_ops.set_gpio(adap->fe_adap[0].fe, 8, 0, 1); in tfe8096p_tuner_attach()