Lines Matching defs:state

147 static int i2cread(struct mxl *state, u8 *data, int len)  in i2cread()
152 static int i2cwrite(struct mxl *state, u8 *data, int len) in i2cwrite()
157 static int read_register_unlocked(struct mxl *state, u32 reg, u32 *val) in read_register_unlocked()
182 static int send_command(struct mxl *state, u32 size, u8 *buf) in send_command()
210 static int write_register(struct mxl *state, u32 reg, u32 val) in write_register()
226 static int write_firmware_block(struct mxl *state, in write_firmware_block()
249 static int read_register(struct mxl *state, u32 reg, u32 *val) in read_register()
273 static int read_register_block(struct mxl *state, u32 reg, u32 size, u8 *data) in read_register_block()
296 static int read_by_mnemonic(struct mxl *state, in read_by_mnemonic()
313 static int update_by_mnemonic(struct mxl *state, in update_by_mnemonic()
328 static int firmware_is_alive(struct mxl *state) in firmware_is_alive()
365 struct mxl *state = fe->demodulator_priv; in release() local
393 static int cfg_scrambler(struct mxl *state, u32 gold) in cfg_scrambler()
414 static int cfg_demod_abort_tune(struct mxl *state) in cfg_demod_abort_tune()
437 struct mxl *state = fe->demodulator_priv; in set_parameters() local
503 struct mxl *state = fe->demodulator_priv; in sleep() local
523 struct mxl *state = fe->demodulator_priv; in read_snr() local
544 struct mxl *state = fe->demodulator_priv; in read_ber() local
600 struct mxl *state = fe->demodulator_priv; in read_signal_strength() local
621 struct mxl *state = fe->demodulator_priv; in read_status() local
661 struct mxl *state = fe->demodulator_priv; in tune() local
691 struct mxl *state = fe->demodulator_priv; in get_frontend() local
777 struct mxl *state = fe->demodulator_priv; in set_input() local
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() local