Lines Matching refs:mxl

70 struct mxl {  struct
71 struct list_head mxl; argument
138 static int i2cread(struct mxl *state, u8 *data, int len) in i2cread()
143 static int i2cwrite(struct mxl *state, u8 *data, int len) in i2cwrite()
148 static int read_register_unlocked(struct mxl *state, u32 reg, u32 *val) in read_register_unlocked()
173 static int send_command(struct mxl *state, u32 size, u8 *buf) in send_command()
201 static int write_register(struct mxl *state, u32 reg, u32 val) in write_register()
217 static int write_firmware_block(struct mxl *state, in write_firmware_block()
240 static int read_register(struct mxl *state, u32 reg, u32 *val) in read_register()
264 static int read_register_block(struct mxl *state, u32 reg, u32 size, u8 *data) in read_register_block()
287 static int read_by_mnemonic(struct mxl *state, in read_by_mnemonic()
304 static int update_by_mnemonic(struct mxl *state, in update_by_mnemonic()
319 static int firmware_is_alive(struct mxl *state) in firmware_is_alive()
356 struct mxl *state = fe->demodulator_priv; in release()
358 list_del(&state->mxl); in release()
384 static int cfg_scrambler(struct mxl *state, u32 gold) in cfg_scrambler()
405 static int cfg_demod_abort_tune(struct mxl *state) in cfg_demod_abort_tune()
428 struct mxl *state = fe->demodulator_priv; in set_parameters()
490 static int enable_tuner(struct mxl *state, u32 tuner, u32 enable);
494 struct mxl *state = fe->demodulator_priv; in sleep()
495 struct mxl *p; in sleep()
501 list_for_each_entry(p, &state->base->mxls, mxl) { in sleep()
505 if (&p->mxl == &state->base->mxls) in sleep()
514 struct mxl *state = fe->demodulator_priv; in read_snr()
535 struct mxl *state = fe->demodulator_priv; in read_ber()
591 struct mxl *state = fe->demodulator_priv; in read_signal_strength()
612 struct mxl *state = fe->demodulator_priv; in read_status()
652 struct mxl *state = fe->demodulator_priv; in tune()
682 struct mxl *state = fe->demodulator_priv; in get_frontend()
768 struct mxl *state = fe->demodulator_priv; in set_input()
807 static void cfg_dev_xtal(struct mxl *state, u32 freq, u32 cap, u32 enable) in cfg_dev_xtal()
841 static int write_fw_segment(struct mxl *state, in write_fw_segment()
876 static int do_firmware_download(struct mxl *state, u8 *mbin_buffer_ptr, in do_firmware_download()
935 static int check_fw(struct mxl *state, u8 *mbin, u32 mbin_len) in check_fw()
957 static int firmware_download(struct mxl *state, u8 *mbin, u32 mbin_len) in firmware_download()
1049 static int cfg_ts_pad_mux(struct mxl *state, enum MXL_BOOL_E enable_serial_ts) in cfg_ts_pad_mux()
1314 static int set_drive_strength(struct mxl *state, in set_drive_strength()
1346 static int enable_tuner(struct mxl *state, u32 tuner, u32 enable) in enable_tuner()
1377 static int config_ts(struct mxl *state, enum MXL_HYDRA_DEMOD_ID_E demod_id, in config_ts()
1568 static int config_mux(struct mxl *state) in config_mux()
1583 static int load_fw(struct mxl *state, struct mxl5xx_cfg *cfg) in load_fw()
1605 static int validate_sku(struct mxl *state) in validate_sku()
1651 static int get_fwinfo(struct mxl *state) in get_fwinfo()
1698 static int probe(struct mxl *state, struct mxl5xx_cfg *cfg) in probe()
1829 struct mxl *state; in mxl5xx_attach()
1832 state = kzalloc(sizeof(struct mxl), GFP_KERNEL); in mxl5xx_attach()
1874 list_add(&state->mxl, &base->mxls); in mxl5xx_attach()