Lines Matching refs:mxl

80 struct mxl {  struct
81 struct list_head mxl; argument
148 static int i2cread(struct mxl *state, u8 *data, int len) in i2cread()
153 static int i2cwrite(struct mxl *state, u8 *data, int len) in i2cwrite()
158 static int read_register_unlocked(struct mxl *state, u32 reg, u32 *val) in read_register_unlocked()
183 static int send_command(struct mxl *state, u32 size, u8 *buf) in send_command()
211 static int write_register(struct mxl *state, u32 reg, u32 val) in write_register()
227 static int write_firmware_block(struct mxl *state, in write_firmware_block()
250 static int read_register(struct mxl *state, u32 reg, u32 *val) in read_register()
274 static int read_register_block(struct mxl *state, u32 reg, u32 size, u8 *data) in read_register_block()
297 static int read_by_mnemonic(struct mxl *state, in read_by_mnemonic()
314 static int update_by_mnemonic(struct mxl *state, in update_by_mnemonic()
329 static int firmware_is_alive(struct mxl *state) in firmware_is_alive()
366 struct mxl *state = fe->demodulator_priv; in release()
368 list_del(&state->mxl); in release()
394 static int cfg_scrambler(struct mxl *state, u32 gold) in cfg_scrambler()
415 static int cfg_demod_abort_tune(struct mxl *state) in cfg_demod_abort_tune()
438 struct mxl *state = fe->demodulator_priv; in set_parameters()
500 static int enable_tuner(struct mxl *state, u32 tuner, u32 enable);
504 struct mxl *state = fe->demodulator_priv; in sleep()
505 struct mxl *p; in sleep()
511 list_for_each_entry(p, &state->base->mxls, mxl) { in sleep()
515 if (&p->mxl == &state->base->mxls) in sleep()
524 struct mxl *state = fe->demodulator_priv; in read_snr()
545 struct mxl *state = fe->demodulator_priv; in read_ber()
601 struct mxl *state = fe->demodulator_priv; in read_signal_strength()
622 struct mxl *state = fe->demodulator_priv; in read_status()
662 struct mxl *state = fe->demodulator_priv; in tune()
692 struct mxl *state = fe->demodulator_priv; in get_frontend()
777 struct mxl *state = fe->demodulator_priv; in set_input()
816 static void cfg_dev_xtal(struct mxl *state, u32 freq, u32 cap, u32 enable) in cfg_dev_xtal()
850 static int write_fw_segment(struct mxl *state, in write_fw_segment()
885 static int do_firmware_download(struct mxl *state, u8 *mbin_buffer_ptr, in do_firmware_download()
944 static int check_fw(struct mxl *state, u8 *mbin, u32 mbin_len) in check_fw()
966 static int firmware_download(struct mxl *state, u8 *mbin, u32 mbin_len) in firmware_download()
1058 static int cfg_ts_pad_mux(struct mxl *state, enum MXL_BOOL_E enable_serial_ts) in cfg_ts_pad_mux()
1323 static int set_drive_strength(struct mxl *state, in set_drive_strength()
1355 static int enable_tuner(struct mxl *state, u32 tuner, u32 enable) in enable_tuner()
1386 static int config_ts(struct mxl *state, enum MXL_HYDRA_DEMOD_ID_E demod_id, in config_ts()
1577 static int config_mux(struct mxl *state) in config_mux()
1592 static int load_fw(struct mxl *state, struct mxl5xx_cfg *cfg) in load_fw()
1614 static int validate_sku(struct mxl *state) in validate_sku()
1662 static int get_fwinfo(struct mxl *state) in get_fwinfo()
1709 static int probe(struct mxl *state, struct mxl5xx_cfg *cfg) in probe()
1840 struct mxl *state; in mxl5xx_attach()
1843 state = kzalloc(sizeof(struct mxl), GFP_KERNEL); in mxl5xx_attach()
1885 list_add(&state->mxl, &base->mxls); in mxl5xx_attach()