Lines Matching refs:stv0367_state
78 struct stv0367_state { struct
122 int stv0367_writeregs(struct stv0367_state *state, u16 reg, u8 *data, int len) in stv0367_writeregs()
157 static int stv0367_writereg(struct stv0367_state *state, u16 reg, u8 data) in stv0367_writereg()
164 static u8 stv0367_readreg(struct stv0367_state *state, u16 reg) in stv0367_readreg()
212 static void stv0367_writebits(struct stv0367_state *state, u32 label, u8 val) in stv0367_writebits()
237 static u8 stv0367_readbits(struct stv0367_state *state, u32 label) in stv0367_readbits()
261 static void stv0367_write_table(struct stv0367_state *state, in stv0367_write_table()
274 static void stv0367_pll_setup(struct stv0367_state *state, in stv0367_pll_setup()
321 static int stv0367_get_if_khz(struct stv0367_state *state, u32 *ifkhz) in stv0367_get_if_khz()
334 struct stv0367_state *state = fe->demodulator_priv; in stv0367ter_gate_ctrl()
452 static u32 stv0367ter_get_mclk(struct stv0367_state *state, u32 ExtClk_Hz) in stv0367ter_get_mclk()
484 static int stv0367ter_filt_coeff_init(struct stv0367_state *state, in stv0367ter_filt_coeff_init()
519 static void stv0367ter_agc_iir_lock_detect_set(struct stv0367_state *state) in stv0367ter_agc_iir_lock_detect_set()
547 static int stv0367_iir_filt_init(struct stv0367_state *state, u8 Bandwidth, in stv0367_iir_filt_init()
582 static void stv0367ter_agc_iir_rst(struct stv0367_state *state) in stv0367ter_agc_iir_rst()
626 stv0367_ter_signal_type stv0367ter_check_syr(struct stv0367_state *state) in stv0367ter_check_syr()
654 stv0367_ter_signal_type stv0367ter_check_cpamp(struct stv0367_state *state, in stv0367ter_check_cpamp()
703 stv0367ter_lock_algo(struct stv0367_state *state) in stv0367ter_lock_algo()
885 static void stv0367ter_set_ts_mode(struct stv0367_state *state, in stv0367ter_set_ts_mode()
909 static void stv0367ter_set_clk_pol(struct stv0367_state *state, in stv0367ter_set_clk_pol()
933 static void stv0367ter_core_sw(struct stv0367_state *state)
945 struct stv0367_state *state = fe->demodulator_priv; in stv0367ter_standby()
969 struct stv0367_state *state = fe->demodulator_priv; in stv0367ter_init()
998 struct stv0367_state *state = fe->demodulator_priv; in stv0367ter_algo()
1225 struct stv0367_state *state = fe->demodulator_priv; in stv0367ter_set_frontend()
1323 struct stv0367_state *state = fe->demodulator_priv; in stv0367ter_read_ucblocks()
1346 struct stv0367_state *state = fe->demodulator_priv; in stv0367ter_get_frontend()
1436 struct stv0367_state *state = fe->demodulator_priv; in stv0367ter_snr_readreg()
1468 struct stv0367_state *state = fe->demodulator_priv;
1497 struct stv0367_state *state = fe->demodulator_priv; in stv0367ter_read_status()
1514 struct stv0367_state *state = fe->demodulator_priv; in stv0367ter_read_ber()
1595 static u32 stv0367ter_get_per(struct stv0367_state *state)
1675 struct stv0367_state *state = fe->demodulator_priv; in stv0367_release()
1715 struct stv0367_state *state = NULL; in stv0367ter_attach()
1719 state = kzalloc(sizeof(struct stv0367_state), GFP_KERNEL); in stv0367ter_attach()
1757 struct stv0367_state *state = fe->demodulator_priv; in stv0367cab_gate_ctrl()
1768 struct stv0367_state *state = fe->demodulator_priv; in stv0367cab_get_mclk()
1803 static enum stv0367cab_mod stv0367cab_SetQamSize(struct stv0367_state *state, in stv0367cab_SetQamSize()
1900 static u32 stv0367cab_set_derot_freq(struct stv0367_state *state, in stv0367cab_set_derot_freq()
1933 static u32 stv0367cab_get_derot_freq(struct stv0367_state *state, u32 adc_hz) in stv0367cab_get_derot_freq()
1949 static u32 stv0367cab_set_srate(struct stv0367_state *state, u32 adc_hz, in stv0367cab_set_srate()
2092 static u32 stv0367cab_GetSymbolRate(struct stv0367_state *state, u32 mclk_hz) in stv0367cab_GetSymbolRate()
2137 static u32 stv0367cab_fsm_status(struct stv0367_state *state) in stv0367cab_fsm_status()
2142 static u32 stv0367cab_qamfec_lock(struct stv0367_state *state) in stv0367cab_qamfec_lock()
2205 struct stv0367_state *state = fe->demodulator_priv; in stv0367cab_read_status()
2238 struct stv0367_state *state = fe->demodulator_priv; in stv0367cab_standby()
2272 struct stv0367_state *state = fe->demodulator_priv; in stv0367cab_init()
2321 enum stv0367_cab_signal_type stv0367cab_algo(struct stv0367_state *state, in stv0367cab_algo()
2539 struct stv0367_state *state = fe->demodulator_priv; in stv0367cab_set_frontend()
2598 struct stv0367_state *state = fe->demodulator_priv; in stv0367cab_get_frontend()
2664 struct stv0367_state *state = fe->demodulator_priv;
2669 static s32 stv0367cab_get_rf_lvl(struct stv0367_state *state) in stv0367cab_get_rf_lvl()
2717 struct stv0367_state *state = fe->demodulator_priv; in stv0367cab_read_strength()
2735 struct stv0367_state *state = fe->demodulator_priv; in stv0367cab_snr_power()
2763 struct stv0367_state *state = fe->demodulator_priv; in stv0367cab_snr_readreg()
2780 struct stv0367_state *state = fe->demodulator_priv; in stv0367cab_read_snr()
2835 struct stv0367_state *state = fe->demodulator_priv; in stv0367cab_read_ucblcks()
2882 struct stv0367_state *state = NULL; in stv0367cab_attach()
2886 state = kzalloc(sizeof(struct stv0367_state), GFP_KERNEL); in stv0367cab_attach()
2928 static void stv0367ddb_setup_ter(struct stv0367_state *state) in stv0367ddb_setup_ter()
2957 static void stv0367ddb_setup_cab(struct stv0367_state *state) in stv0367ddb_setup_cab()
2995 struct stv0367_state *state = fe->demodulator_priv; in stv0367ddb_set_frontend()
3023 struct stv0367_state *state = fe->demodulator_priv; in stv0367ddb_read_signal_strength()
3042 struct stv0367_state *state = fe->demodulator_priv; in stv0367ddb_read_snr()
3075 struct stv0367_state *state = fe->demodulator_priv; in stv0367ddb_read_ucblocks()
3098 struct stv0367_state *state = fe->demodulator_priv; in stv0367ddb_read_status()
3137 struct stv0367_state *state = fe->demodulator_priv; in stv0367ddb_get_frontend()
3153 struct stv0367_state *state = fe->demodulator_priv; in stv0367ddb_sleep()
3169 static int stv0367ddb_init(struct stv0367_state *state) in stv0367ddb_init()
3290 struct stv0367_state *state = NULL; in stv0367ddb_attach()
3295 state = kzalloc(sizeof(struct stv0367_state), GFP_KERNEL); in stv0367ddb_attach()