Lines Matching refs:fe
137 static int sp887x_initial_setup (struct dvb_frontend* fe, const struct firmware *fw) in sp887x_initial_setup() argument
139 struct sp887x_state* state = fe->demodulator_priv; in sp887x_initial_setup()
349 static int sp887x_setup_frontend_parameters(struct dvb_frontend *fe) in sp887x_setup_frontend_parameters() argument
351 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in sp887x_setup_frontend_parameters()
352 struct sp887x_state* state = fe->demodulator_priv; in sp887x_setup_frontend_parameters()
368 if (fe->ops.tuner_ops.set_params) { in sp887x_setup_frontend_parameters()
369 fe->ops.tuner_ops.set_params(fe); in sp887x_setup_frontend_parameters()
370 if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); in sp887x_setup_frontend_parameters()
372 if (fe->ops.tuner_ops.get_frequency) { in sp887x_setup_frontend_parameters()
373 fe->ops.tuner_ops.get_frequency(fe, &actual_freq); in sp887x_setup_frontend_parameters()
374 if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); in sp887x_setup_frontend_parameters()
419 static int sp887x_read_status(struct dvb_frontend *fe, enum fe_status *status) in sp887x_read_status() argument
421 struct sp887x_state* state = fe->demodulator_priv; in sp887x_read_status()
453 static int sp887x_read_ber(struct dvb_frontend* fe, u32* ber) in sp887x_read_ber() argument
455 struct sp887x_state* state = fe->demodulator_priv; in sp887x_read_ber()
467 static int sp887x_read_signal_strength(struct dvb_frontend* fe, u16* strength) in sp887x_read_signal_strength() argument
469 struct sp887x_state* state = fe->demodulator_priv; in sp887x_read_signal_strength()
478 static int sp887x_read_snr(struct dvb_frontend* fe, u16* snr) in sp887x_read_snr() argument
480 struct sp887x_state* state = fe->demodulator_priv; in sp887x_read_snr()
488 static int sp887x_read_ucblocks(struct dvb_frontend* fe, u32* ucblocks) in sp887x_read_ucblocks() argument
490 struct sp887x_state* state = fe->demodulator_priv; in sp887x_read_ucblocks()
499 static int sp887x_i2c_gate_ctrl(struct dvb_frontend* fe, int enable) in sp887x_i2c_gate_ctrl() argument
501 struct sp887x_state* state = fe->demodulator_priv; in sp887x_i2c_gate_ctrl()
510 static int sp887x_sleep(struct dvb_frontend* fe) in sp887x_sleep() argument
512 struct sp887x_state* state = fe->demodulator_priv; in sp887x_sleep()
520 static int sp887x_init(struct dvb_frontend* fe) in sp887x_init() argument
522 struct sp887x_state* state = fe->demodulator_priv; in sp887x_init()
529 ret = state->config->request_firmware(fe, &fw, SP887X_DEFAULT_FIRMWARE); in sp887x_init()
535 ret = sp887x_initial_setup(fe, fw); in sp887x_init()
551 static int sp887x_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fes… in sp887x_get_tune_settings() argument
559 static void sp887x_release(struct dvb_frontend* fe) in sp887x_release() argument
561 struct sp887x_state* state = fe->demodulator_priv; in sp887x_release()