Lines Matching refs:lgs8gxx_state
50 static int lgs8gxx_write_reg(struct lgs8gxx_state *priv, u8 reg, u8 data) in lgs8gxx_write_reg()
72 static int lgs8gxx_read_reg(struct lgs8gxx_state *priv, u8 reg, u8 *p_data) in lgs8gxx_read_reg()
101 static int lgs8gxx_soft_reset(struct lgs8gxx_state *priv) in lgs8gxx_soft_reset()
111 static int wait_reg_mask(struct lgs8gxx_state *priv, u8 reg, u8 mask, in wait_reg_mask()
128 static int lgs8gxx_set_ad_mode(struct lgs8gxx_state *priv) in lgs8gxx_set_ad_mode()
152 static int lgs8gxx_set_if_freq(struct lgs8gxx_state *priv, u32 freq /*in kHz*/) in lgs8gxx_set_if_freq()
188 static int lgs8gxx_get_afc_phase(struct lgs8gxx_state *priv) in lgs8gxx_get_afc_phase()
214 static int lgs8gxx_set_mode_auto(struct lgs8gxx_state *priv) in lgs8gxx_set_mode_auto()
261 static int lgs8gxx_set_mode_manual(struct lgs8gxx_state *priv) in lgs8gxx_set_mode_manual()
305 static int lgs8gxx_is_locked(struct lgs8gxx_state *priv, u8 *locked) in lgs8gxx_is_locked()
325 static int lgs8gxx_wait_ca_lock(struct lgs8gxx_state *priv, u8 *locked) in lgs8gxx_wait_ca_lock()
346 static int lgs8gxx_is_autodetect_finished(struct lgs8gxx_state *priv, in lgs8gxx_is_autodetect_finished()
368 static int lgs8gxx_autolock_gi(struct lgs8gxx_state *priv, u8 gi, u8 cpn, in lgs8gxx_autolock_gi()
408 static int lgs8gxx_auto_detect(struct lgs8gxx_state *priv, in lgs8gxx_auto_detect()
478 static void lgs8gxx_auto_lock(struct lgs8gxx_state *priv) in lgs8gxx_auto_lock()
527 static int lgs8gxx_set_mpeg_mode(struct lgs8gxx_state *priv, in lgs8gxx_set_mpeg_mode()
551 static int lgs8g75_set_adc_vpp(struct lgs8gxx_state *priv, in lgs8g75_set_adc_vpp()
569 static int lgs8913_init(struct lgs8gxx_state *priv) in lgs8913_init()
587 static int lgs8g75_init_data(struct lgs8gxx_state *priv) in lgs8g75_init_data()
622 struct lgs8gxx_state *priv = in lgs8gxx_init()
623 (struct lgs8gxx_state *)fe->demodulator_priv; in lgs8gxx_init()
652 struct lgs8gxx_state *state = fe->demodulator_priv; in lgs8gxx_release()
661 struct lgs8gxx_state *priv = fe->demodulator_priv; in lgs8gxx_write()
672 struct lgs8gxx_state *priv = fe->demodulator_priv; in lgs8gxx_set_fe()
724 struct lgs8gxx_state *priv = fe->demodulator_priv; in lgs8gxx_read_status()
764 static int lgs8gxx_read_signal_agc(struct lgs8gxx_state *priv, u16 *signal) in lgs8gxx_read_signal_agc()
799 static int lgs8913_read_signal_strength(struct lgs8gxx_state *priv, u16 *signal) in lgs8913_read_signal_strength()
842 static int lgs8g75_read_signal_strength(struct lgs8gxx_state *priv, u16 *signal) in lgs8g75_read_signal_strength()
863 struct lgs8gxx_state *priv = fe->demodulator_priv; in lgs8gxx_read_signal_strength()
875 struct lgs8gxx_state *priv = fe->demodulator_priv; in lgs8gxx_read_snr()
898 static void packet_counter_start(struct lgs8gxx_state *priv) in packet_counter_start()
918 static void packet_counter_stop(struct lgs8gxx_state *priv) in packet_counter_stop()
933 struct lgs8gxx_state *priv = fe->demodulator_priv; in lgs8gxx_read_ber()
973 struct lgs8gxx_state *priv = fe->demodulator_priv; in lgs8gxx_i2c_gate_ctrl()
1017 struct lgs8gxx_state *priv = NULL; in lgs8gxx_attach()
1025 priv = kzalloc(sizeof(struct lgs8gxx_state), GFP_KERNEL); in lgs8gxx_attach()