Lines Matching refs:sp887x_state
25 struct sp887x_state { struct
40 static int i2c_writebytes (struct sp887x_state* state, u8 *buf, u8 len) in i2c_writebytes() argument
54 static int sp887x_writereg (struct sp887x_state* state, u16 reg, u16 data) in sp887x_writereg()
76 static int sp887x_readreg (struct sp887x_state* state, u16 reg) in sp887x_readreg()
92 static void sp887x_microcontroller_stop (struct sp887x_state* state) in sp887x_microcontroller_stop()
102 static void sp887x_microcontroller_start (struct sp887x_state* state) in sp887x_microcontroller_start()
112 static void sp887x_setup_agc (struct sp887x_state* state) in sp887x_setup_agc()
139 struct sp887x_state* state = fe->demodulator_priv; in sp887x_initial_setup()
303 static void sp887x_correct_offsets (struct sp887x_state* state, in sp887x_correct_offsets()
350 struct sp887x_state* state = fe->demodulator_priv; in sp887x_setup_frontend_parameters()
419 struct sp887x_state* state = fe->demodulator_priv; in sp887x_read_status()
453 struct sp887x_state* state = fe->demodulator_priv; in sp887x_read_ber()
467 struct sp887x_state* state = fe->demodulator_priv; in sp887x_read_signal_strength()
478 struct sp887x_state* state = fe->demodulator_priv; in sp887x_read_snr()
488 struct sp887x_state* state = fe->demodulator_priv; in sp887x_read_ucblocks()
499 struct sp887x_state* state = fe->demodulator_priv; in sp887x_i2c_gate_ctrl()
510 struct sp887x_state* state = fe->demodulator_priv; in sp887x_sleep()
520 struct sp887x_state* state = fe->demodulator_priv; in sp887x_init()
559 struct sp887x_state* state = fe->demodulator_priv; in sp887x_release()
568 struct sp887x_state* state = NULL; in sp887x_attach()
571 state = kzalloc(sizeof(struct sp887x_state), GFP_KERNEL); in sp887x_attach()