Lines Matching refs:drxk_state

25 static int power_down_dvbt(struct drxk_state *state, bool set_power_mode);
26 static int power_down_qam(struct drxk_state *state);
27 static int set_dvbt_standard(struct drxk_state *state,
29 static int set_qam_standard(struct drxk_state *state,
31 static int set_qam(struct drxk_state *state, u16 intermediate_freqk_hz,
33 static int set_dvbt_standard(struct drxk_state *state,
35 static int dvbt_start(struct drxk_state *state);
36 static int set_dvbt(struct drxk_state *state, u16 intermediate_freqk_hz,
38 static int get_qam_lock_status(struct drxk_state *state, u32 *p_lock_status);
39 static int get_dvbt_lock_status(struct drxk_state *state, u32 *p_lock_status);
40 static int switch_antenna_to_qam(struct drxk_state *state);
41 static int switch_antenna_to_dvbt(struct drxk_state *state);
43 static bool is_dvbt(struct drxk_state *state) in is_dvbt()
48 static bool is_qam(struct drxk_state *state) in is_qam()
191 static int drxk_i2c_lock(struct drxk_state *state) in drxk_i2c_lock()
199 static void drxk_i2c_unlock(struct drxk_state *state) in drxk_i2c_unlock()
208 static int drxk_i2c_transfer(struct drxk_state *state, struct i2c_msg *msgs, in drxk_i2c_transfer()
217 static int i2c_read1(struct drxk_state *state, u8 adr, u8 *val) in i2c_read1()
226 static int i2c_write(struct drxk_state *state, u8 adr, u8 *data, int len) in i2c_write()
244 static int i2c_read(struct drxk_state *state, in i2c_read()
269 static int read16_flags(struct drxk_state *state, u32 reg, u16 *data, u8 flags) in read16_flags()
298 static int read16(struct drxk_state *state, u32 reg, u16 *data) in read16()
303 static int read32_flags(struct drxk_state *state, u32 reg, u32 *data, u8 flags) in read32_flags()
333 static int read32(struct drxk_state *state, u32 reg, u32 *data) in read32()
338 static int write16_flags(struct drxk_state *state, u32 reg, u16 data, u8 flags) in write16_flags()
362 static int write16(struct drxk_state *state, u32 reg, u16 data) in write16()
367 static int write32_flags(struct drxk_state *state, u32 reg, u32 data, u8 flags) in write32_flags()
393 static int write32(struct drxk_state *state, u32 reg, u32 data) in write32()
398 static int write_block(struct drxk_state *state, u32 address, in write_block()
450 static int power_up_device(struct drxk_state *state) in power_up_device()
498 static int init_state(struct drxk_state *state) in init_state()
733 static int drxx_open(struct drxk_state *state) in drxx_open()
766 static int get_device_capabilities(struct drxk_state *state) in get_device_capabilities()
966 static int hi_command(struct drxk_state *state, u16 cmd, u16 *p_result) in hi_command()
1007 static int hi_cfg_command(struct drxk_state *state) in hi_cfg_command()
1051 static int init_hi(struct drxk_state *state) in init_hi()
1063 static int mpegts_configure_pins(struct drxk_state *state, bool mpeg_enable) in mpegts_configure_pins()
1222 static int mpegts_disable(struct drxk_state *state) in mpegts_disable()
1229 static int bl_chain_cmd(struct drxk_state *state, in bl_chain_cmd()
1274 static int download_microcode(struct drxk_state *state, in download_microcode()
1338 static int dvbt_enable_ofdm_token_ring(struct drxk_state *state, bool enable) in dvbt_enable_ofdm_token_ring()
1376 static int mpegts_stop(struct drxk_state *state) in mpegts_stop()
1407 static int scu_command(struct drxk_state *state, in scu_command()
1507 static int set_iqm_af(struct drxk_state *state, bool active) in set_iqm_af()
1541 static int ctrl_power_mode(struct drxk_state *state, enum drx_power_mode *mode) in ctrl_power_mode()
1647 static int power_down_dvbt(struct drxk_state *state, bool set_power_mode) in power_down_dvbt()
1704 static int setoperation_mode(struct drxk_state *state, in setoperation_mode()
1785 static int start(struct drxk_state *state, s32 offset_freq, in start()
1836 static int shut_down(struct drxk_state *state) in shut_down()
1844 static int get_lock_status(struct drxk_state *state, u32 *p_lock_status) in get_lock_status()
1876 static int mpegts_start(struct drxk_state *state) in mpegts_start()
1897 static int mpegts_dto_init(struct drxk_state *state) in mpegts_dto_init()
1944 static int mpegts_dto_setup(struct drxk_state *state, in mpegts_dto_setup()
2081 static int mpegts_configure_polarity(struct drxk_state *state) in mpegts_configure_polarity()
2116 static int set_agc_rf(struct drxk_state *state, in set_agc_rf()
2269 static int set_agc_if(struct drxk_state *state, in set_agc_if()
2397 static int get_qam_signal_to_noise(struct drxk_state *state, in get_qam_signal_to_noise()
2446 static int get_dvbt_signal_to_noise(struct drxk_state *state, in get_dvbt_signal_to_noise()
2550 static int get_signal_to_noise(struct drxk_state *state, s32 *p_signal_to_noise) in get_signal_to_noise()
2568 static int get_dvbt_quality(struct drxk_state *state, s32 *p_quality)
2635 static int get_dvbc_quality(struct drxk_state *state, s32 *p_quality)
2682 static int get_quality(struct drxk_state *state, s32 *p_quality)
2712 static int ConfigureI2CBridge(struct drxk_state *state, bool b_enable_bridge) in ConfigureI2CBridge()
2750 static int set_pre_saw(struct drxk_state *state, in set_pre_saw()
2768 static int bl_direct_cmd(struct drxk_state *state, u32 target_addr, in bl_direct_cmd()
2819 static int adc_sync_measurement(struct drxk_state *state, u16 *count) in adc_sync_measurement()
2857 static int adc_synchronization(struct drxk_state *state) in adc_synchronization()
2901 static int set_frequency_shifter(struct drxk_state *state, in set_frequency_shifter()
2967 static int init_agc(struct drxk_state *state, bool is_dtv) in init_agc()
3161 static int dvbtqam_get_acc_pkt_err(struct drxk_state *state, u16 *packet_err) in dvbtqam_get_acc_pkt_err()
3176 static int dvbt_sc_command(struct drxk_state *state, in dvbt_sc_command()
3298 static int power_up_dvbt(struct drxk_state *state) in power_up_dvbt()
3310 static int dvbt_ctrl_set_inc_enable(struct drxk_state *state, bool *enabled) in dvbt_ctrl_set_inc_enable()
3325 static int dvbt_ctrl_set_fr_enable(struct drxk_state *state, bool *enabled) in dvbt_ctrl_set_fr_enable()
3345 static int dvbt_ctrl_set_echo_threshold(struct drxk_state *state, in dvbt_ctrl_set_echo_threshold()
3380 static int dvbt_ctrl_set_sqi_speed(struct drxk_state *state, in dvbt_ctrl_set_sqi_speed()
3413 static int dvbt_activate_presets(struct drxk_state *state) in dvbt_activate_presets()
3453 static int set_dvbt_standard(struct drxk_state *state, in set_dvbt_standard()
3662 static int dvbt_start(struct drxk_state *state) in dvbt_start()
3699 static int set_dvbt(struct drxk_state *state, u16 intermediate_freqk_hz, in set_dvbt()
4037 static int get_dvbt_lock_status(struct drxk_state *state, u32 *p_lock_status) in get_dvbt_lock_status()
4078 static int power_up_qam(struct drxk_state *state) in power_up_qam()
4093 static int power_down_qam(struct drxk_state *state) in power_down_qam()
4141 static int set_qam_measurement(struct drxk_state *state, in set_qam_measurement()
4216 static int set_qam16(struct drxk_state *state) in set_qam16()
4410 static int set_qam32(struct drxk_state *state) in set_qam32()
4606 static int set_qam64(struct drxk_state *state) in set_qam64()
4801 static int set_qam128(struct drxk_state *state) in set_qam128()
4998 static int set_qam256(struct drxk_state *state) in set_qam256()
5194 static int qam_reset_qam(struct drxk_state *state) in qam_reset_qam()
5222 static int qam_set_symbolrate(struct drxk_state *state) in qam_set_symbolrate()
5292 static int get_qam_lock_status(struct drxk_state *state, u32 *p_lock_status) in get_qam_lock_status()
5333 static int qam_demodulator_command(struct drxk_state *state, in qam_demodulator_command()
5391 static int set_qam(struct drxk_state *state, u16 intermediate_freqk_hz, in set_qam()
5651 static int set_qam_standard(struct drxk_state *state, in set_qam_standard()
5823 static int write_gpio(struct drxk_state *state) in write_gpio()
5910 static int switch_antenna_to_qam(struct drxk_state *state) in switch_antenna_to_qam()
5935 static int switch_antenna_to_dvbt(struct drxk_state *state) in switch_antenna_to_dvbt()
5961 static int power_down_device(struct drxk_state *state) in power_down_device()
5999 static int init_drxk(struct drxk_state *state) in init_drxk()
6227 struct drxk_state *state = context; in load_firmware_cb()
6255 struct drxk_state *state = fe->demodulator_priv; in drxk_release()
6265 struct drxk_state *state = fe->demodulator_priv; in drxk_sleep()
6280 struct drxk_state *state = fe->demodulator_priv; in drxk_gate_ctrl()
6294 struct drxk_state *state = fe->demodulator_priv; in drxk_set_parameters()
6362 static int get_strength(struct drxk_state *state, u64 *strength) in get_strength()
6466 struct drxk_state *state = fe->demodulator_priv; in drxk_get_stats()
6589 struct drxk_state *state = fe->demodulator_priv; in drxk_read_status()
6606 struct drxk_state *state = fe->demodulator_priv; in drxk_read_signal_strength()
6622 struct drxk_state *state = fe->demodulator_priv; in drxk_read_snr()
6643 struct drxk_state *state = fe->demodulator_priv; in drxk_read_ucblocks()
6661 struct drxk_state *state = fe->demodulator_priv; in drxk_get_tune_settings()
6721 struct drxk_state *state = NULL; in drxk_attach()
6726 state = kzalloc(sizeof(struct drxk_state), GFP_KERNEL); in drxk_attach()