Lines Matching refs:dib8000_state

65 struct dib8000_state {  struct
171 static u16 __dib8000_read_word(struct dib8000_state *state, u16 reg) in __dib8000_read_word()
196 static u16 dib8000_read_word(struct dib8000_state *state, u16 reg) in dib8000_read_word()
212 static u32 dib8000_read32(struct dib8000_state *state, u16 reg) in dib8000_read32()
251 static int dib8000_write_word(struct dib8000_state *state, u16 reg, u16 val) in dib8000_write_word()
379 static u16 fft_to_mode(struct dib8000_state *state) in fft_to_mode()
398 static void dib8000_set_acquisition_mode(struct dib8000_state *state) in dib8000_set_acquisition_mode()
407 struct dib8000_state *state = fe->demodulator_priv; in dib8000_set_output_mode()
468 struct dib8000_state *state = fe->demodulator_priv; in dib8000_set_diversity_in()
505 static void dib8000_set_power_mode(struct dib8000_state *state, enum dib8000_power_mode mode) in dib8000_set_power_mode()
546 static int dib8000_set_adc_state(struct dib8000_state *state, enum dibx000_adc_states no) in dib8000_set_adc_state()
619 struct dib8000_state *state = fe->demodulator_priv; in dib8000_set_bandwidth()
639 static int dib8000_sad_calib(struct dib8000_state *state) in dib8000_sad_calib()
665 struct dib8000_state *state = fe->demodulator_priv; in dib8000_set_wbd_ref()
672 static void dib8000_reset_pll_common(struct dib8000_state *state, const struct dibx000_bandwidth_co… in dib8000_reset_pll_common()
693 static void dib8000_reset_pll(struct dib8000_state *state) in dib8000_reset_pll()
748 struct dib8000_state *state = fe->demodulator_priv; in dib8000_update_pll()
822 static int dib8000_reset_gpio(struct dib8000_state *st) in dib8000_reset_gpio()
836 static int dib8000_cfg_gpio(struct dib8000_state *st, u8 num, u8 dir, u8 val) in dib8000_cfg_gpio()
855 struct dib8000_state *state = fe->demodulator_priv; in dib8000_set_gpio()
997 struct dib8000_state *state = fe->demodulator_priv; in dib8000_reset_stats()
1034 struct dib8000_state *state = fe->demodulator_priv; in dib8000_reset()
1143 static void dib8000_restart_agc(struct dib8000_state *state) in dib8000_restart_agc()
1150 static int dib8000_update_lna(struct dib8000_state *state) in dib8000_update_lna()
1166 static int dib8000_set_agc_config(struct dib8000_state *state, u8 band) in dib8000_set_agc_config()
1234 struct dib8000_state *state = fe->demodulator_priv; in dib8000_pwm_agc_reset()
1239 static int dib8000_agc_soft_split(struct dib8000_state *state) in dib8000_agc_soft_split()
1267 struct dib8000_state *state = fe->demodulator_priv; in dib8000_agc_startup()
1344 static void dib8096p_host_bus_drive(struct dib8000_state *state, u8 drive) in dib8096p_host_bus_drive()
1398 static void dib8096p_cfg_DibTx(struct dib8000_state *state, u32 P_Kin, in dib8096p_cfg_DibTx()
1415 static void dib8096p_cfg_DibRx(struct dib8000_state *state, u32 P_Kin, in dib8096p_cfg_DibRx()
1440 static void dib8096p_enMpegMux(struct dib8000_state *state, int onoff) in dib8096p_enMpegMux()
1458 static void dib8096p_configMpegMux(struct dib8000_state *state, in dib8096p_configMpegMux()
1478 static void dib8096p_setDibTxMux(struct dib8000_state *state, int mode) in dib8096p_setDibTxMux()
1501 static void dib8096p_setHostBusMux(struct dib8000_state *state, int mode) in dib8096p_setHostBusMux()
1528 struct dib8000_state *state = fe->demodulator_priv; in dib8096p_set_diversity_in()
1563 struct dib8000_state *state = fe->demodulator_priv; in dib8096p_set_output_mode()
1676 struct dib8000_state *state = i2c_get_adapdata(i2c_adap); in dib8096p_tuner_write_serpar()
1696 struct dib8000_state *state = i2c_get_adapdata(i2c_adap); in dib8096p_tuner_read_serpar()
1740 struct dib8000_state *state = i2c_get_adapdata(i2c_adap); in dib8096p_rw_on_apb()
1757 struct dib8000_state *state = i2c_get_adapdata(i2c_adap); in dib8096p_tuner_xfer()
1887 struct dib8000_state *st = fe->demodulator_priv; in dib8096p_get_i2c_tuner()
1893 struct dib8000_state *state = fe->demodulator_priv; in dib8096p_tuner_sleep()
1923 struct dib8000_state *state = fe->demodulator_priv; in dib8000_get_adc_power()
1942 struct dib8000_state *state = fe->demodulator_priv; in dib8090p_get_dc_power()
1959 static void dib8000_update_timf(struct dib8000_state *state) in dib8000_update_timf()
1970 struct dib8000_state *state = fe->demodulator_priv; in dib8000_ctrl_timf()
1993 static u16 dib8000_set_layer(struct dib8000_state *state, u8 layer_index, u16 max_constellation) in dib8000_set_layer()
2058 static u16 dib8000_adp_fine_tune(struct dib8000_state *state, u16 max_constellation) in dib8000_adp_fine_tune()
2085 static void dib8000_update_ana_gain(struct dib8000_state *state, u16 ana_gain) in dib8000_update_ana_gain()
2101 static void dib8000_load_ana_fe_coefs(struct dib8000_state *state, const s16 *ana_fe) in dib8000_load_ana_fe_coefs()
2134 static u16 dib8000_get_init_prbs(struct dib8000_state *state, u16 subchannel) in dib8000_get_init_prbs()
2161 static void dib8000_set_13seg_channel(struct dib8000_state *state) in dib8000_set_13seg_channel()
2201 static void dib8000_set_subchannel_prbs(struct dib8000_state *state, u16 init_prbs) in dib8000_set_subchannel_prbs()
2209 static void dib8000_small_fine_tune(struct dib8000_state *state) in dib8000_small_fine_tune()
2295 static void dib8000_set_sb_channel(struct dib8000_state *state) in dib8000_set_sb_channel()
2366 static void dib8000_set_isdbt_common_channel(struct dib8000_state *state, u8 seq, u8 autosearching) in dib8000_set_isdbt_common_channel()
2491 static u32 dib8000_wait_lock(struct dib8000_state *state, u32 internal, in dib8000_wait_lock()
2515 struct dib8000_state *state = fe->demodulator_priv; in dib8000_autosearch_start()
2660 struct dib8000_state *state = fe->demodulator_priv; in dib8000_autosearch_irq()
2684 static void dib8000_viterbi_state(struct dib8000_state *state, u8 onoff) in dib8000_viterbi_state()
2695 static void dib8000_set_dds(struct dib8000_state *state, s32 offset_khz) in dib8000_set_dds()
2737 static void dib8000_set_frequency_offset(struct dib8000_state *state) in dib8000_set_frequency_offset()
2774 static u32 dib8000_get_symbol_duration(struct dib8000_state *state) in dib8000_get_symbol_duration()
2796 static void dib8000_set_isdbt_loop_params(struct dib8000_state *state, enum param_loop_step loop_st… in dib8000_set_isdbt_loop_params()
2835 static void dib8000_demod_restart(struct dib8000_state *state) in dib8000_demod_restart()
2842 static void dib8000_set_sync_wait(struct dib8000_state *state) in dib8000_set_sync_wait()
2869 static unsigned long dib8000_get_timeout(struct dib8000_state *state, u32 delay, enum timeout_mode … in dib8000_get_timeout()
2879 struct dib8000_state *state = fe->demodulator_priv; in dib8000_get_status()
2885 struct dib8000_state *state = fe->demodulator_priv; in dib8000_get_tune_state()
2891 struct dib8000_state *state = fe->demodulator_priv; in dib8000_set_tune_state()
2899 struct dib8000_state *state = fe->demodulator_priv; in dib8000_tune_restart_from_demod()
2908 struct dib8000_state *state = fe->demodulator_priv; in dib8000_read_lock()
2915 static int dib8090p_init_sdram(struct dib8000_state *state) in dib8090p_init_sdram()
3019 struct dib8000_state *state = fe->demodulator_priv; in dib8000_tune()
3372 struct dib8000_state *state = fe->demodulator_priv; in dib8000_wakeup()
3395 struct dib8000_state *state = fe->demodulator_priv; in dib8000_sleep()
3416 struct dib8000_state *state = fe->demodulator_priv; in dib8000_get_frontend()
3602 struct dib8000_state *state = fe->demodulator_priv; in dib8000_set_frontend()
3769 struct dib8000_state *state = fe->demodulator_priv; in dib8000_read_status()
3811 struct dib8000_state *state = fe->demodulator_priv; in dib8000_read_ber()
3825 struct dib8000_state *state = fe->demodulator_priv; in dib8000_read_unc_blocks()
3837 struct dib8000_state *state = fe->demodulator_priv; in dib8000_read_signal_strength()
3860 struct dib8000_state *state = fe->demodulator_priv; in dib8000_get_snr()
3893 struct dib8000_state *state = fe->demodulator_priv; in dib8000_read_snr()
4009 struct dib8000_state *state = fe->demodulator_priv; in dib8000_get_time_us()
4123 struct dib8000_state *state = fe->demodulator_priv; in dib8000_get_stats()
4264 struct dib8000_state *state = fe->demodulator_priv; in dib8000_set_slave_frontend()
4281 struct dib8000_state *state = fe->demodulator_priv; in dib8000_get_slave_frontend()
4375 struct dib8000_state *st = fe->demodulator_priv; in dib8000_release()
4389 struct dib8000_state *st = fe->demodulator_priv; in dib8000_get_i2c_master()
4395 struct dib8000_state *st = fe->demodulator_priv; in dib8000_pid_filter_ctrl()
4405 struct dib8000_state *st = fe->demodulator_priv; in dib8000_pid_filter()
4443 struct dib8000_state *state; in dib8000_init()
4447 state = kzalloc(sizeof(struct dib8000_state), GFP_KERNEL); in dib8000_init()