Lines Matching refs:xc5000_priv
39 struct xc5000_priv { struct
241 static int xc5000_readreg(struct xc5000_priv *priv, u16 reg, u16 *val);
244 static int xc_send_i2c_data(struct xc5000_priv *priv, u8 *buf, int len) in xc_send_i2c_data()
260 static int xc_read_i2c_data(struct xc5000_priv *priv, u8 *buf, int len)
273 static int xc5000_readreg(struct xc5000_priv *priv, u16 reg, u16 *val) in xc5000_readreg()
295 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_tuner_reset()
317 static int xc_write_reg(struct xc5000_priv *priv, u16 reg_addr, u16 i2c_data) in xc_write_reg()
351 struct xc5000_priv *priv = fe->tuner_priv; in xc_load_i2c_sequence()
403 static int xc_initialize(struct xc5000_priv *priv) in xc_initialize()
409 static int xc_set_tv_standard(struct xc5000_priv *priv, in xc_set_tv_standard()
431 static int xc_set_signal_source(struct xc5000_priv *priv, u16 rf_mode) in xc_set_signal_source()
447 static int xc_set_rf_frequency(struct xc5000_priv *priv, u32 freq_hz) in xc_set_rf_frequency()
466 static int xc_set_IF_frequency(struct xc5000_priv *priv, u32 freq_khz) in xc_set_IF_frequency()
476 static int xc_get_adc_envelope(struct xc5000_priv *priv, u16 *adc_envelope) in xc_get_adc_envelope()
481 static int xc_get_frequency_error(struct xc5000_priv *priv, u32 *freq_error_hz) in xc_get_frequency_error()
496 static int xc_get_lock_status(struct xc5000_priv *priv, u16 *lock_status) in xc_get_lock_status()
501 static int xc_get_version(struct xc5000_priv *priv, in xc_get_version()
520 static int xc_get_buildversion(struct xc5000_priv *priv, u16 *buildrev) in xc_get_buildversion()
525 static int xc_get_hsync_freq(struct xc5000_priv *priv, u32 *hsync_freq_hz) in xc_get_hsync_freq()
538 static int xc_get_frame_lines(struct xc5000_priv *priv, u16 *frame_lines) in xc_get_frame_lines()
543 static int xc_get_quality(struct xc5000_priv *priv, u16 *quality) in xc_get_quality()
548 static int xc_get_analogsnr(struct xc5000_priv *priv, u16 *snr) in xc_get_analogsnr()
553 static int xc_get_totalgain(struct xc5000_priv *priv, u16 *totalgain) in xc_get_totalgain()
560 static int xc_tune_channel(struct xc5000_priv *priv, u32 freq_hz, int mode) in xc_tune_channel()
572 struct xc5000_priv *priv = fe->tuner_priv; in xc_set_xtal()
600 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_fwupload()
623 static void xc_debug_dump(struct xc5000_priv *priv) in xc_debug_dump()
685 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_tune_digital()
729 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_set_digital_params()
819 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_is_firmware_loaded()
840 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_config_tv()
899 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_set_tv_freq()
952 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_config_radio()
970 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_set_radio_freq()
1015 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_set_params()
1037 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_set_analog_params()
1062 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_get_frequency()
1070 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_get_if_frequency()
1078 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_get_bandwidth()
1087 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_get_status()
1101 struct xc5000_priv *priv = fe->tuner_priv; in xc_load_fw_and_init_tuner()
1218 struct xc5000_priv *priv =container_of(timer_sleep, struct xc5000_priv, in xc5000_do_timer_sleep()
1237 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_sleep()
1253 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_suspend()
1271 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_resume()
1285 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_init()
1301 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_release()
1323 struct xc5000_priv *priv = fe->tuner_priv; in xc5000_set_config()
1368 struct xc5000_priv *priv = NULL; in xc5000_attach()
1378 instance = hybrid_tuner_request_state(struct xc5000_priv, priv, in xc5000_attach()