Lines Matching refs:fe
69 static void mc44s803_release(struct dvb_frontend *fe) in mc44s803_release() argument
71 struct mc44s803_priv *priv = fe->tuner_priv; in mc44s803_release()
73 fe->tuner_priv = NULL; in mc44s803_release()
77 static int mc44s803_init(struct dvb_frontend *fe) in mc44s803_init() argument
79 struct mc44s803_priv *priv = fe->tuner_priv; in mc44s803_init()
83 if (fe->ops.i2c_gate_ctrl) in mc44s803_init()
84 fe->ops.i2c_gate_ctrl(fe, 1); in mc44s803_init()
189 if (fe->ops.i2c_gate_ctrl) in mc44s803_init()
190 fe->ops.i2c_gate_ctrl(fe, 0); in mc44s803_init()
194 if (fe->ops.i2c_gate_ctrl) in mc44s803_init()
195 fe->ops.i2c_gate_ctrl(fe, 0); in mc44s803_init()
201 static int mc44s803_set_params(struct dvb_frontend *fe) in mc44s803_set_params() argument
203 struct mc44s803_priv *priv = fe->tuner_priv; in mc44s803_set_params()
204 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in mc44s803_set_params()
221 if (fe->ops.i2c_gate_ctrl) in mc44s803_set_params()
222 fe->ops.i2c_gate_ctrl(fe, 1); in mc44s803_set_params()
265 if (fe->ops.i2c_gate_ctrl) in mc44s803_set_params()
266 fe->ops.i2c_gate_ctrl(fe, 0); in mc44s803_set_params()
271 if (fe->ops.i2c_gate_ctrl) in mc44s803_set_params()
272 fe->ops.i2c_gate_ctrl(fe, 0); in mc44s803_set_params()
278 static int mc44s803_get_frequency(struct dvb_frontend *fe, u32 *frequency) in mc44s803_get_frequency() argument
280 struct mc44s803_priv *priv = fe->tuner_priv; in mc44s803_get_frequency()
285 static int mc44s803_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) in mc44s803_get_if_frequency() argument
308 struct dvb_frontend *mc44s803_attach(struct dvb_frontend *fe, in mc44s803_attach() argument
324 priv->fe = fe; in mc44s803_attach()
326 if (fe->ops.i2c_gate_ctrl) in mc44s803_attach()
327 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */ in mc44s803_attach()
342 memcpy(&fe->ops.tuner_ops, &mc44s803_tuner_ops, in mc44s803_attach()
345 fe->tuner_priv = priv; in mc44s803_attach()
347 if (fe->ops.i2c_gate_ctrl) in mc44s803_attach()
348 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ in mc44s803_attach()
350 return fe; in mc44s803_attach()
353 if (fe->ops.i2c_gate_ctrl) in mc44s803_attach()
354 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */ in mc44s803_attach()