Lines Matching refs:fe
47 static int rtl2830_init(struct dvb_frontend *fe) in rtl2830_init() argument
49 struct i2c_client *client = fe->demodulator_priv; in rtl2830_init()
51 struct dtv_frontend_properties *c = &dev->fe.dtv_property_cache; in rtl2830_init()
137 static int rtl2830_sleep(struct dvb_frontend *fe) in rtl2830_sleep() argument
139 struct i2c_client *client = fe->demodulator_priv; in rtl2830_sleep()
148 static int rtl2830_get_tune_settings(struct dvb_frontend *fe, in rtl2830_get_tune_settings() argument
152 s->step_size = fe->ops.info.frequency_stepsize_hz * 2; in rtl2830_get_tune_settings()
153 s->max_drift = (fe->ops.info.frequency_stepsize_hz * 2) + 1; in rtl2830_get_tune_settings()
158 static int rtl2830_set_frontend(struct dvb_frontend *fe) in rtl2830_set_frontend() argument
160 struct i2c_client *client = fe->demodulator_priv; in rtl2830_set_frontend()
162 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in rtl2830_set_frontend()
195 if (fe->ops.tuner_ops.set_params) in rtl2830_set_frontend()
196 fe->ops.tuner_ops.set_params(fe); in rtl2830_set_frontend()
219 if (fe->ops.tuner_ops.get_if_frequency) in rtl2830_set_frontend()
220 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in rtl2830_set_frontend()
268 static int rtl2830_get_frontend(struct dvb_frontend *fe, in rtl2830_get_frontend() argument
271 struct i2c_client *client = fe->demodulator_priv; in rtl2830_get_frontend()
381 static int rtl2830_read_status(struct dvb_frontend *fe, enum fe_status *status) in rtl2830_read_status() argument
383 struct i2c_client *client = fe->demodulator_priv; in rtl2830_read_status()
385 struct dtv_frontend_properties *c = &dev->fe.dtv_property_cache; in rtl2830_read_status()
499 static int rtl2830_read_snr(struct dvb_frontend *fe, u16 *snr) in rtl2830_read_snr() argument
501 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in rtl2830_read_snr()
511 static int rtl2830_read_ber(struct dvb_frontend *fe, u32 *ber) in rtl2830_read_ber() argument
513 struct i2c_client *client = fe->demodulator_priv; in rtl2830_read_ber()
522 static int rtl2830_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) in rtl2830_read_ucblocks() argument
529 static int rtl2830_read_signal_strength(struct dvb_frontend *fe, u16 *strength) in rtl2830_read_signal_strength() argument
531 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in rtl2830_read_signal_strength()
577 static int rtl2830_pid_filter_ctrl(struct dvb_frontend *fe, int onoff) in rtl2830_pid_filter_ctrl() argument
579 struct i2c_client *client = fe->demodulator_priv; in rtl2830_pid_filter_ctrl()
601 static int rtl2830_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid, int onoff) in rtl2830_pid_filter() argument
603 struct i2c_client *client = fe->demodulator_priv; in rtl2830_pid_filter()
674 return &dev->fe; in rtl2830_get_dvb_frontend()
846 memcpy(&dev->fe.ops, &rtl2830_ops, sizeof(dev->fe.ops)); in rtl2830_probe()
847 dev->fe.demodulator_priv = client; in rtl2830_probe()