Lines Matching refs:drxk_state

37 static int power_down_dvbt(struct drxk_state *state, bool set_power_mode);
38 static int power_down_qam(struct drxk_state *state);
39 static int set_dvbt_standard(struct drxk_state *state,
41 static int set_qam_standard(struct drxk_state *state,
43 static int set_qam(struct drxk_state *state, u16 intermediate_freqk_hz,
45 static int set_dvbt_standard(struct drxk_state *state,
47 static int dvbt_start(struct drxk_state *state);
48 static int set_dvbt(struct drxk_state *state, u16 intermediate_freqk_hz,
50 static int get_qam_lock_status(struct drxk_state *state, u32 *p_lock_status);
51 static int get_dvbt_lock_status(struct drxk_state *state, u32 *p_lock_status);
52 static int switch_antenna_to_qam(struct drxk_state *state);
53 static int switch_antenna_to_dvbt(struct drxk_state *state);
55 static bool is_dvbt(struct drxk_state *state) in is_dvbt()
60 static bool is_qam(struct drxk_state *state) in is_qam()
214 static int drxk_i2c_lock(struct drxk_state *state) in drxk_i2c_lock()
222 static void drxk_i2c_unlock(struct drxk_state *state) in drxk_i2c_unlock()
231 static int drxk_i2c_transfer(struct drxk_state *state, struct i2c_msg *msgs, in drxk_i2c_transfer()
240 static int i2c_read1(struct drxk_state *state, u8 adr, u8 *val) in i2c_read1()
249 static int i2c_write(struct drxk_state *state, u8 adr, u8 *data, int len) in i2c_write()
272 static int i2c_read(struct drxk_state *state, in i2c_read()
306 static int read16_flags(struct drxk_state *state, u32 reg, u16 *data, u8 flags) in read16_flags()
335 static int read16(struct drxk_state *state, u32 reg, u16 *data) in read16()
340 static int read32_flags(struct drxk_state *state, u32 reg, u32 *data, u8 flags) in read32_flags()
370 static int read32(struct drxk_state *state, u32 reg, u32 *data) in read32()
375 static int write16_flags(struct drxk_state *state, u32 reg, u16 data, u8 flags) in write16_flags()
399 static int write16(struct drxk_state *state, u32 reg, u16 data) in write16()
404 static int write32_flags(struct drxk_state *state, u32 reg, u32 data, u8 flags) in write32_flags()
430 static int write32(struct drxk_state *state, u32 reg, u32 data) in write32()
435 static int write_block(struct drxk_state *state, u32 address, in write_block()
492 static int power_up_device(struct drxk_state *state) in power_up_device()
540 static int init_state(struct drxk_state *state) in init_state()
775 static int drxx_open(struct drxk_state *state) in drxx_open()
808 static int get_device_capabilities(struct drxk_state *state) in get_device_capabilities()
1008 static int hi_command(struct drxk_state *state, u16 cmd, u16 *p_result) in hi_command()
1050 static int hi_cfg_command(struct drxk_state *state) in hi_cfg_command()
1094 static int init_hi(struct drxk_state *state) in init_hi()
1106 static int mpegts_configure_pins(struct drxk_state *state, bool mpeg_enable) in mpegts_configure_pins()
1265 static int mpegts_disable(struct drxk_state *state) in mpegts_disable()
1272 static int bl_chain_cmd(struct drxk_state *state, in bl_chain_cmd()
1317 static int download_microcode(struct drxk_state *state, in download_microcode()
1381 static int dvbt_enable_ofdm_token_ring(struct drxk_state *state, bool enable) in dvbt_enable_ofdm_token_ring()
1419 static int mpegts_stop(struct drxk_state *state) in mpegts_stop()
1450 static int scu_command(struct drxk_state *state, in scu_command()
1548 static int set_iqm_af(struct drxk_state *state, bool active) in set_iqm_af()
1582 static int ctrl_power_mode(struct drxk_state *state, enum drx_power_mode *mode) in ctrl_power_mode()
1688 static int power_down_dvbt(struct drxk_state *state, bool set_power_mode) in power_down_dvbt()
1745 static int setoperation_mode(struct drxk_state *state, in setoperation_mode()
1826 static int start(struct drxk_state *state, s32 offset_freq, in start()
1877 static int shut_down(struct drxk_state *state) in shut_down()
1885 static int get_lock_status(struct drxk_state *state, u32 *p_lock_status) in get_lock_status()
1917 static int mpegts_start(struct drxk_state *state) in mpegts_start()
1938 static int mpegts_dto_init(struct drxk_state *state) in mpegts_dto_init()
1985 static int mpegts_dto_setup(struct drxk_state *state, in mpegts_dto_setup()
2122 static int mpegts_configure_polarity(struct drxk_state *state) in mpegts_configure_polarity()
2157 static int set_agc_rf(struct drxk_state *state, in set_agc_rf()
2310 static int set_agc_if(struct drxk_state *state, in set_agc_if()
2438 static int get_qam_signal_to_noise(struct drxk_state *state, in get_qam_signal_to_noise()
2487 static int get_dvbt_signal_to_noise(struct drxk_state *state, in get_dvbt_signal_to_noise()
2591 static int get_signal_to_noise(struct drxk_state *state, s32 *p_signal_to_noise) in get_signal_to_noise()
2609 static int get_dvbt_quality(struct drxk_state *state, s32 *p_quality)
2676 static int get_dvbc_quality(struct drxk_state *state, s32 *p_quality)
2723 static int get_quality(struct drxk_state *state, s32 *p_quality)
2753 static int ConfigureI2CBridge(struct drxk_state *state, bool b_enable_bridge) in ConfigureI2CBridge()
2791 static int set_pre_saw(struct drxk_state *state, in set_pre_saw()
2809 static int bl_direct_cmd(struct drxk_state *state, u32 target_addr, in bl_direct_cmd()
2860 static int adc_sync_measurement(struct drxk_state *state, u16 *count) in adc_sync_measurement()
2898 static int adc_synchronization(struct drxk_state *state) in adc_synchronization()
2942 static int set_frequency_shifter(struct drxk_state *state, in set_frequency_shifter()
3008 static int init_agc(struct drxk_state *state, bool is_dtv) in init_agc()
3202 static int dvbtqam_get_acc_pkt_err(struct drxk_state *state, u16 *packet_err) in dvbtqam_get_acc_pkt_err()
3217 static int dvbt_sc_command(struct drxk_state *state, in dvbt_sc_command()
3338 static int power_up_dvbt(struct drxk_state *state) in power_up_dvbt()
3350 static int dvbt_ctrl_set_inc_enable(struct drxk_state *state, bool *enabled) in dvbt_ctrl_set_inc_enable()
3365 static int dvbt_ctrl_set_fr_enable(struct drxk_state *state, bool *enabled) in dvbt_ctrl_set_fr_enable()
3385 static int dvbt_ctrl_set_echo_threshold(struct drxk_state *state, in dvbt_ctrl_set_echo_threshold()
3420 static int dvbt_ctrl_set_sqi_speed(struct drxk_state *state, in dvbt_ctrl_set_sqi_speed()
3453 static int dvbt_activate_presets(struct drxk_state *state) in dvbt_activate_presets()
3493 static int set_dvbt_standard(struct drxk_state *state, in set_dvbt_standard()
3702 static int dvbt_start(struct drxk_state *state) in dvbt_start()
3739 static int set_dvbt(struct drxk_state *state, u16 intermediate_freqk_hz, in set_dvbt()
4090 static int get_dvbt_lock_status(struct drxk_state *state, u32 *p_lock_status) in get_dvbt_lock_status()
4131 static int power_up_qam(struct drxk_state *state) in power_up_qam()
4146 static int power_down_qam(struct drxk_state *state) in power_down_qam()
4194 static int set_qam_measurement(struct drxk_state *state, in set_qam_measurement()
4269 static int set_qam16(struct drxk_state *state) in set_qam16()
4463 static int set_qam32(struct drxk_state *state) in set_qam32()
4659 static int set_qam64(struct drxk_state *state) in set_qam64()
4854 static int set_qam128(struct drxk_state *state) in set_qam128()
5051 static int set_qam256(struct drxk_state *state) in set_qam256()
5247 static int qam_reset_qam(struct drxk_state *state) in qam_reset_qam()
5275 static int qam_set_symbolrate(struct drxk_state *state) in qam_set_symbolrate()
5345 static int get_qam_lock_status(struct drxk_state *state, u32 *p_lock_status) in get_qam_lock_status()
5386 static int qam_demodulator_command(struct drxk_state *state, in qam_demodulator_command()
5444 static int set_qam(struct drxk_state *state, u16 intermediate_freqk_hz, in set_qam()
5704 static int set_qam_standard(struct drxk_state *state, in set_qam_standard()
5876 static int write_gpio(struct drxk_state *state) in write_gpio()
5963 static int switch_antenna_to_qam(struct drxk_state *state) in switch_antenna_to_qam()
5988 static int switch_antenna_to_dvbt(struct drxk_state *state) in switch_antenna_to_dvbt()
6014 static int power_down_device(struct drxk_state *state) in power_down_device()
6052 static int init_drxk(struct drxk_state *state) in init_drxk()
6280 struct drxk_state *state = context; in load_firmware_cb()
6308 struct drxk_state *state = fe->demodulator_priv; in drxk_release()
6318 struct drxk_state *state = fe->demodulator_priv; in drxk_sleep()
6333 struct drxk_state *state = fe->demodulator_priv; in drxk_gate_ctrl()
6347 struct drxk_state *state = fe->demodulator_priv; in drxk_set_parameters()
6415 static int get_strength(struct drxk_state *state, u64 *strength) in get_strength()
6519 struct drxk_state *state = fe->demodulator_priv; in drxk_get_stats()
6642 struct drxk_state *state = fe->demodulator_priv; in drxk_read_status()
6659 struct drxk_state *state = fe->demodulator_priv; in drxk_read_signal_strength()
6675 struct drxk_state *state = fe->demodulator_priv; in drxk_read_snr()
6696 struct drxk_state *state = fe->demodulator_priv; in drxk_read_ucblocks()
6714 struct drxk_state *state = fe->demodulator_priv; in drxk_get_tune_settings()
6774 struct drxk_state *state = NULL; in drxk_attach()
6779 state = kzalloc(sizeof(struct drxk_state), GFP_KERNEL); in drxk_attach()