Lines Matching refs:fe
44 static int qt1010_set_params(struct dvb_frontend *fe) in qt1010_set_params() argument
46 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in qt1010_set_params()
105 priv = fe->tuner_priv; in qt1010_set_params()
113 if (fe->ops.i2c_gate_ctrl) in qt1010_set_params()
114 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ in qt1010_set_params()
209 if (fe->ops.i2c_gate_ctrl) in qt1010_set_params()
210 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ in qt1010_set_params()
280 static int qt1010_init(struct dvb_frontend *fe) in qt1010_init() argument
282 struct qt1010_priv *priv = fe->tuner_priv; in qt1010_init()
283 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in qt1010_init()
324 if (fe->ops.i2c_gate_ctrl) in qt1010_init()
325 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ in qt1010_init()
368 return qt1010_set_params(fe); in qt1010_init()
371 static void qt1010_release(struct dvb_frontend *fe) in qt1010_release() argument
373 kfree(fe->tuner_priv); in qt1010_release()
374 fe->tuner_priv = NULL; in qt1010_release()
377 static int qt1010_get_frequency(struct dvb_frontend *fe, u32 *frequency) in qt1010_get_frequency() argument
379 struct qt1010_priv *priv = fe->tuner_priv; in qt1010_get_frequency()
384 static int qt1010_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) in qt1010_get_if_frequency() argument
407 struct dvb_frontend * qt1010_attach(struct dvb_frontend *fe, in qt1010_attach() argument
421 if (fe->ops.i2c_gate_ctrl) in qt1010_attach()
422 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ in qt1010_attach()
431 if (fe->ops.i2c_gate_ctrl) in qt1010_attach()
432 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ in qt1010_attach()
438 memcpy(&fe->ops.tuner_ops, &qt1010_tuner_ops, in qt1010_attach()
441 fe->tuner_priv = priv; in qt1010_attach()
442 return fe; in qt1010_attach()