Lines Matching refs:lg216x_state
39 struct lg216x_state { struct
53 static int lg216x_write_reg(struct lg216x_state *state, u16 reg, u8 val) in lg216x_write_reg() argument
77 static int lg216x_read_reg(struct lg216x_state *state, u16 reg, u8 *val) in lg216x_read_reg()
108 static int lg216x_write_regs(struct lg216x_state *state, in lg216x_write_regs()
123 static int lg216x_set_reg_bit(struct lg216x_state *state, in lg216x_set_reg_bit()
148 struct lg216x_state *state = fe->demodulator_priv; in lg216x_i2c_gate_ctrl()
163 static int lg216x_soft_reset(struct lg216x_state *state) in lg216x_soft_reset()
183 static int lg216x_initialize(struct lg216x_state *state) in lg216x_initialize()
236 static int lg216x_set_if(struct lg216x_state *state) in lg216x_set_if()
260 static int lg2160_agc_fix(struct lg216x_state *state, in lg2160_agc_fix()
281 static int lg2160_agc_freeze(struct lg216x_state *state,
302 static int lg2160_agc_polarity(struct lg216x_state *state, in lg2160_agc_polarity()
322 static int lg2160_tuner_pwr_save_polarity(struct lg216x_state *state, in lg2160_tuner_pwr_save_polarity()
341 static int lg2160_spectrum_polarity(struct lg216x_state *state, in lg2160_spectrum_polarity()
360 static int lg2160_tuner_pwr_save(struct lg216x_state *state, int onoff) in lg2160_tuner_pwr_save()
378 static int lg216x_set_parade(struct lg216x_state *state, int id) in lg216x_set_parade()
391 static int lg216x_set_ensemble(struct lg216x_state *state, int id) in lg216x_set_ensemble()
420 static int lg2160_set_spi_clock(struct lg216x_state *state) in lg2160_set_spi_clock()
438 static int lg2161_set_output_interface(struct lg216x_state *state) in lg2161_set_output_interface()
456 static int lg216x_enable_fic(struct lg216x_state *state, int onoff) in lg216x_enable_fic()
494 static int lg216x_get_fic_version(struct lg216x_state *state, u8 *ficver) in lg216x_get_fic_version()
511 static int lg2160_get_parade_id(struct lg216x_state *state, u8 *id)
528 static int lg216x_get_nog(struct lg216x_state *state, u8 *nog) in lg216x_get_nog()
544 static int lg216x_get_tnog(struct lg216x_state *state, u8 *tnog) in lg216x_get_tnog()
560 static int lg216x_get_sgn(struct lg216x_state *state, u8 *sgn) in lg216x_get_sgn()
576 static int lg216x_get_prc(struct lg216x_state *state, u8 *prc) in lg216x_get_prc()
594 static int lg216x_get_rs_frame_mode(struct lg216x_state *state, in lg216x_get_rs_frame_mode()
634 int lg216x_get_rs_frame_ensemble(struct lg216x_state *state, in lg216x_get_rs_frame_ensemble()
659 static int lg216x_get_rs_code_mode(struct lg216x_state *state, in lg216x_get_rs_code_mode()
685 static int lg216x_get_sccc_block_mode(struct lg216x_state *state, in lg216x_get_sccc_block_mode()
719 static int lg216x_get_sccc_code_mode(struct lg216x_state *state, in lg216x_get_sccc_code_mode()
795 static int lg216x_read_fic_err_count(struct lg216x_state *state, u8 *err)
818 static int lg2160_read_crc_err_count(struct lg216x_state *state, u16 *err)
838 static int lg2161_read_crc_err_count(struct lg216x_state *state, u16 *err)
854 static int lg216x_read_crc_err_count(struct lg216x_state *state, u16 *err)
871 static int lg2160_read_rs_err_count(struct lg216x_state *state, u16 *err)
891 static int lg2161_read_rs_err_count(struct lg216x_state *state, u16 *err)
911 static int lg216x_read_rs_err_count(struct lg216x_state *state, u16 *err)
934 struct lg216x_state *state = fe->demodulator_priv; in lg216x_get_frontend()
1043 struct lg216x_state *state = fe->demodulator_priv; in lg2160_set_frontend()
1119 static int lg2160_read_lock_status(struct lg216x_state *state, in lg2160_read_lock_status()
1139 static int lg2161_read_lock_status(struct lg216x_state *state, in lg2161_read_lock_status()
1164 static int lg216x_read_lock_status(struct lg216x_state *state, in lg216x_read_lock_status()
1188 struct lg216x_state *state = fe->demodulator_priv; in lg216x_read_status()
1217 struct lg216x_state *state = fe->demodulator_priv; in lg2160_read_snr()
1245 struct lg216x_state *state = fe->demodulator_priv; in lg2161_read_snr()
1279 struct lg216x_state *state = fe->demodulator_priv; in lg216x_read_signal_strength()
1306 struct lg216x_state *state = fe->demodulator_priv; in lg216x_read_ucblocks()
1333 struct lg216x_state *state = fe->demodulator_priv; in lg216x_release()
1393 struct lg216x_state *state = NULL; in lg2160_attach()
1399 state = kzalloc(sizeof(struct lg216x_state), GFP_KERNEL); in lg2160_attach()