• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/dvb/frontends/

Lines Matching defs:fe

137 static int zl10036_release(struct dvb_frontend *fe)
139 struct zl10036_state *state = fe->tuner_priv;
141 fe->tuner_priv = NULL;
147 static int zl10036_sleep(struct dvb_frontend *fe)
149 struct zl10036_state *state = fe->tuner_priv;
155 if (fe->ops.i2c_gate_ctrl)
156 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */
160 if (fe->ops.i2c_gate_ctrl)
161 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */
308 static int zl10036_set_params(struct dvb_frontend *fe,
311 struct zl10036_state *state = fe->tuner_priv;
320 if ((frequency < fe->ops.info.frequency_min)
321 || (frequency > fe->ops.info.frequency_max))
349 if (fe->ops.i2c_gate_ctrl)
350 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */
378 if (fe->ops.i2c_gate_ctrl)
379 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */
384 static int zl10036_get_frequency(struct dvb_frontend *fe, u32 *frequency)
386 struct zl10036_state *state = fe->tuner_priv;
428 static int zl10036_init(struct dvb_frontend *fe)
430 struct zl10036_state *state = fe->tuner_priv;
433 if (fe->ops.i2c_gate_ctrl)
434 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */
443 if (fe->ops.i2c_gate_ctrl)
444 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */
462 struct dvb_frontend *zl10036_attach(struct dvb_frontend *fe,
481 if (fe->ops.i2c_gate_ctrl)
482 fe->ops.i2c_gate_ctrl(fe, 1); /* open i2c_gate */
497 if (fe->ops.i2c_gate_ctrl)
498 fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */
500 fe->tuner_priv = state;
502 memcpy(&fe->ops.tuner_ops, &zl10036_tuner_ops,
505 __func__, fe->ops.tuner_ops.info.name, config->tuner_address);
507 return fe;
510 zl10036_release(fe);