Lines Matching refs:fe
249 static int ascot2e_init(struct dvb_frontend *fe) in ascot2e_init() argument
251 struct ascot2e_priv *priv = fe->tuner_priv; in ascot2e_init()
257 static int ascot2e_release(struct dvb_frontend *fe) in ascot2e_release() argument
259 struct ascot2e_priv *priv = fe->tuner_priv; in ascot2e_release()
262 kfree(fe->tuner_priv); in ascot2e_release()
263 fe->tuner_priv = NULL; in ascot2e_release()
267 static int ascot2e_sleep(struct dvb_frontend *fe) in ascot2e_sleep() argument
269 struct ascot2e_priv *priv = fe->tuner_priv; in ascot2e_sleep()
276 static enum ascot2e_tv_system_t ascot2e_get_tv_system(struct dvb_frontend *fe) in ascot2e_get_tv_system() argument
279 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in ascot2e_get_tv_system()
280 struct ascot2e_priv *priv = fe->tuner_priv; in ascot2e_get_tv_system()
320 static int ascot2e_set_params(struct dvb_frontend *fe) in ascot2e_set_params() argument
325 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in ascot2e_set_params()
326 struct ascot2e_priv *priv = fe->tuner_priv; in ascot2e_set_params()
330 tv_system = ascot2e_get_tv_system(fe); in ascot2e_set_params()
459 static int ascot2e_get_frequency(struct dvb_frontend *fe, u32 *frequency) in ascot2e_get_frequency() argument
461 struct ascot2e_priv *priv = fe->tuner_priv; in ascot2e_get_frequency()
481 struct dvb_frontend *ascot2e_attach(struct dvb_frontend *fe, in ascot2e_attach() argument
496 if (fe->ops.i2c_gate_ctrl) in ascot2e_attach()
497 fe->ops.i2c_gate_ctrl(fe, 1); in ascot2e_attach()
533 if (fe->ops.i2c_gate_ctrl) in ascot2e_attach()
534 fe->ops.i2c_gate_ctrl(fe, 0); in ascot2e_attach()
536 memcpy(&fe->ops.tuner_ops, &ascot2e_tuner_ops, in ascot2e_attach()
538 fe->tuner_priv = priv; in ascot2e_attach()
542 return fe; in ascot2e_attach()