Lines Matching full:fe
46 int cxd2820r_gpio(struct dvb_frontend *fe, u8 *gpio) in cxd2820r_gpio() argument
48 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_gpio()
50 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_gpio()
104 static int cxd2820r_set_frontend(struct dvb_frontend *fe) in cxd2820r_set_frontend() argument
106 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_set_frontend()
108 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_set_frontend()
115 ret = cxd2820r_init_t(fe); in cxd2820r_set_frontend()
118 ret = cxd2820r_set_frontend_t(fe); in cxd2820r_set_frontend()
123 ret = cxd2820r_init_t(fe); in cxd2820r_set_frontend()
126 ret = cxd2820r_set_frontend_t2(fe); in cxd2820r_set_frontend()
131 ret = cxd2820r_init_c(fe); in cxd2820r_set_frontend()
134 ret = cxd2820r_set_frontend_c(fe); in cxd2820r_set_frontend()
147 static int cxd2820r_read_status(struct dvb_frontend *fe, enum fe_status *status) in cxd2820r_read_status() argument
149 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_read_status()
151 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_read_status()
158 ret = cxd2820r_read_status_t(fe, status); in cxd2820r_read_status()
161 ret = cxd2820r_read_status_t2(fe, status); in cxd2820r_read_status()
164 ret = cxd2820r_read_status_c(fe, status); in cxd2820r_read_status()
173 static int cxd2820r_get_frontend(struct dvb_frontend *fe, in cxd2820r_get_frontend() argument
176 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_get_frontend()
178 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_get_frontend()
188 ret = cxd2820r_get_frontend_t(fe, p); in cxd2820r_get_frontend()
191 ret = cxd2820r_get_frontend_t2(fe, p); in cxd2820r_get_frontend()
194 ret = cxd2820r_get_frontend_c(fe, p); in cxd2820r_get_frontend()
203 static int cxd2820r_read_ber(struct dvb_frontend *fe, u32 *ber) in cxd2820r_read_ber() argument
205 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_read_ber()
207 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_read_ber()
217 static int cxd2820r_read_signal_strength(struct dvb_frontend *fe, u16 *strength) in cxd2820r_read_signal_strength() argument
219 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_read_signal_strength()
221 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_read_signal_strength()
233 static int cxd2820r_read_snr(struct dvb_frontend *fe, u16 *snr) in cxd2820r_read_snr() argument
235 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_read_snr()
237 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_read_snr()
249 static int cxd2820r_read_ucblocks(struct dvb_frontend *fe, u32 *ucblocks) in cxd2820r_read_ucblocks() argument
251 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_read_ucblocks()
253 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_read_ucblocks()
262 static int cxd2820r_init(struct dvb_frontend *fe) in cxd2820r_init() argument
267 static int cxd2820r_sleep(struct dvb_frontend *fe) in cxd2820r_sleep() argument
269 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_sleep()
271 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_sleep()
278 ret = cxd2820r_sleep_t(fe); in cxd2820r_sleep()
281 ret = cxd2820r_sleep_t2(fe); in cxd2820r_sleep()
284 ret = cxd2820r_sleep_c(fe); in cxd2820r_sleep()
293 static int cxd2820r_get_tune_settings(struct dvb_frontend *fe, in cxd2820r_get_tune_settings() argument
296 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_get_tune_settings()
298 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_get_tune_settings()
305 ret = cxd2820r_get_tune_settings_t(fe, s); in cxd2820r_get_tune_settings()
308 ret = cxd2820r_get_tune_settings_t2(fe, s); in cxd2820r_get_tune_settings()
311 ret = cxd2820r_get_tune_settings_c(fe, s); in cxd2820r_get_tune_settings()
320 static enum dvbfe_search cxd2820r_search(struct dvb_frontend *fe) in cxd2820r_search() argument
322 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_search()
324 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_search()
333 ret = cxd2820r_sleep_t(fe); in cxd2820r_search()
339 ret = cxd2820r_sleep_t2(fe); in cxd2820r_search()
348 ret = cxd2820r_set_frontend(fe); in cxd2820r_search()
371 ret = cxd2820r_read_status(fe, &status); in cxd2820r_search()
393 static enum dvbfe_algo cxd2820r_get_frontend_algo(struct dvb_frontend *fe) in cxd2820r_get_frontend_algo() argument
398 static void cxd2820r_release(struct dvb_frontend *fe) in cxd2820r_release() argument
400 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_release()
410 static int cxd2820r_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) in cxd2820r_i2c_gate_ctrl() argument
412 struct cxd2820r_priv *priv = fe->demodulator_priv; in cxd2820r_i2c_gate_ctrl()
433 return cxd2820r_gpio(&priv->fe, gpio); in cxd2820r_gpio_direction_output()
447 (void) cxd2820r_gpio(&priv->fe, gpio); in cxd2820r_gpio_set()
547 return &priv->fe; in cxd2820r_get_dvb_frontend()
604 priv->fe.demodulator_priv = priv; in cxd2820r_probe()
676 ret = cxd2820r_gpio(&priv->fe, gpio); in cxd2820r_probe()
683 memcpy(&priv->fe.ops, &cxd2820r_ops, sizeof(priv->fe.ops)); in cxd2820r_probe()
685 priv->fe.ops.release = NULL; in cxd2820r_probe()