Lines Matching refs:af9013_state

30 struct af9013_state {  struct
52 static int af9013_wr_regs_i2c(struct af9013_state *priv, u8 mbox, u16 reg, in af9013_wr_regs_i2c() argument
90 static int af9013_rd_regs_i2c(struct af9013_state *priv, u8 mbox, u16 reg, in af9013_rd_regs_i2c()
125 static int af9013_wr_regs(struct af9013_state *priv, u16 reg, const u8 *val, in af9013_wr_regs()
148 static int af9013_rd_regs(struct af9013_state *priv, u16 reg, u8 *val, int len) in af9013_rd_regs()
170 static int af9013_wr_reg(struct af9013_state *priv, u16 reg, u8 val) in af9013_wr_reg()
176 static int af9013_rd_reg(struct af9013_state *priv, u16 reg, u8 *val) in af9013_rd_reg()
181 static int af9013_write_ofsm_regs(struct af9013_state *state, u16 reg, u8 *val, in af9013_write_ofsm_regs()
188 static int af9013_wr_reg_bits(struct af9013_state *state, u16 reg, int pos, in af9013_wr_reg_bits()
209 static int af9013_rd_reg_bits(struct af9013_state *state, u16 reg, int pos, in af9013_rd_reg_bits()
225 static int af9013_set_gpio(struct af9013_state *state, u8 gpio, u8 gpioval) in af9013_set_gpio()
278 static u32 af9013_div(struct af9013_state *state, u32 a, u32 b, u32 x) in af9013_div()
305 static int af9013_power_ctrl(struct af9013_state *state, u8 onoff) in af9013_power_ctrl()
361 struct af9013_state *state = fe->demodulator_priv; in af9013_statistics_ber_unc_start()
379 struct af9013_state *state = fe->demodulator_priv; in af9013_statistics_ber_unc_result()
410 struct af9013_state *state = fe->demodulator_priv; in af9013_statistics_snr_start()
428 struct af9013_state *state = fe->demodulator_priv; in af9013_statistics_snr_result()
491 struct af9013_state *state = fe->demodulator_priv; in af9013_statistics_signal_strength()
528 struct af9013_state *state = container_of(work, in af9013_statistics_work()
529 struct af9013_state, statistics_work.work); in af9013_statistics_work()
585 struct af9013_state *state = fe->demodulator_priv; in af9013_set_frontend()
872 struct af9013_state *state = fe->demodulator_priv; in af9013_get_frontend()
988 struct af9013_state *state = fe->demodulator_priv; in af9013_read_status()
1038 struct af9013_state *state = fe->demodulator_priv; in af9013_read_snr()
1045 struct af9013_state *state = fe->demodulator_priv; in af9013_read_signal_strength()
1052 struct af9013_state *state = fe->demodulator_priv; in af9013_read_ber()
1059 struct af9013_state *state = fe->demodulator_priv; in af9013_read_ucblocks()
1066 struct af9013_state *state = fe->demodulator_priv; in af9013_init()
1294 struct af9013_state *state = fe->demodulator_priv; in af9013_sleep()
1321 struct af9013_state *state = fe->demodulator_priv; in af9013_i2c_gate_ctrl()
1346 struct af9013_state *state = fe->demodulator_priv; in af9013_release()
1352 static int af9013_download_firmware(struct af9013_state *state) in af9013_download_firmware()
1467 struct af9013_state *state = NULL; in af9013_attach()
1471 state = kzalloc(sizeof(struct af9013_state), GFP_KERNEL); in af9013_attach()