Lines Matching defs:fe
83 static int mc44s803_release(struct dvb_frontend *fe)
85 struct mc44s803_priv *priv = fe->tuner_priv;
87 fe->tuner_priv = NULL;
93 static int mc44s803_init(struct dvb_frontend *fe)
95 struct mc44s803_priv *priv = fe->tuner_priv;
99 if (fe->ops.i2c_gate_ctrl)
100 fe->ops.i2c_gate_ctrl(fe, 1);
205 if (fe->ops.i2c_gate_ctrl)
206 fe->ops.i2c_gate_ctrl(fe, 0);
210 if (fe->ops.i2c_gate_ctrl)
211 fe->ops.i2c_gate_ctrl(fe, 0);
217 static int mc44s803_set_params(struct dvb_frontend *fe,
220 struct mc44s803_priv *priv = fe->tuner_priv;
237 if (fe->ops.i2c_gate_ctrl)
238 fe->ops.i2c_gate_ctrl(fe, 1);
281 if (fe->ops.i2c_gate_ctrl)
282 fe->ops.i2c_gate_ctrl(fe, 0);
287 if (fe->ops.i2c_gate_ctrl)
288 fe->ops.i2c_gate_ctrl(fe, 0);
294 static int mc44s803_get_frequency(struct dvb_frontend *fe, u32 *frequency)
296 struct mc44s803_priv *priv = fe->tuner_priv;
317 struct dvb_frontend *mc44s803_attach(struct dvb_frontend *fe,
333 priv->fe = fe;
335 if (fe->ops.i2c_gate_ctrl)
336 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */
351 memcpy(&fe->ops.tuner_ops, &mc44s803_tuner_ops,
354 fe->tuner_priv = priv;
356 if (fe->ops.i2c_gate_ctrl)
357 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */
359 return fe;
362 if (fe->ops.i2c_gate_ctrl)
363 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */