Lines Matching refs:fe

140 static int fc2580_set_params(struct dvb_frontend *fe)
142 struct fc2580_priv *priv = fe->tuner_priv;
143 struct dtv_frontend_properties *c = &fe->dtv_property_cache;
161 if (fe->ops.i2c_gate_ctrl)
162 fe->ops.i2c_gate_ctrl(fe, 1);
391 if (fe->ops.i2c_gate_ctrl)
392 fe->ops.i2c_gate_ctrl(fe, 0);
396 if (fe->ops.i2c_gate_ctrl)
397 fe->ops.i2c_gate_ctrl(fe, 0);
403 static int fc2580_init(struct dvb_frontend *fe)
405 struct fc2580_priv *priv = fe->tuner_priv;
410 if (fe->ops.i2c_gate_ctrl)
411 fe->ops.i2c_gate_ctrl(fe, 1);
420 if (fe->ops.i2c_gate_ctrl)
421 fe->ops.i2c_gate_ctrl(fe, 0);
425 if (fe->ops.i2c_gate_ctrl)
426 fe->ops.i2c_gate_ctrl(fe, 0);
432 static int fc2580_sleep(struct dvb_frontend *fe)
434 struct fc2580_priv *priv = fe->tuner_priv;
439 if (fe->ops.i2c_gate_ctrl)
440 fe->ops.i2c_gate_ctrl(fe, 1);
446 if (fe->ops.i2c_gate_ctrl)
447 fe->ops.i2c_gate_ctrl(fe, 0);
451 if (fe->ops.i2c_gate_ctrl)
452 fe->ops.i2c_gate_ctrl(fe, 0);
458 static int fc2580_get_if_frequency(struct dvb_frontend *fe, u32 *frequency)
460 struct fc2580_priv *priv = fe->tuner_priv;
469 static int fc2580_release(struct dvb_frontend *fe)
471 struct fc2580_priv *priv = fe->tuner_priv;
475 kfree(fe->tuner_priv);
496 struct dvb_frontend *fc2580_attach(struct dvb_frontend *fe,
503 if (fe->ops.i2c_gate_ctrl)
504 fe->ops.i2c_gate_ctrl(fe, 1);
535 fe->tuner_priv = priv;
536 memcpy(&fe->ops.tuner_ops, &fc2580_tuner_ops,
539 if (fe->ops.i2c_gate_ctrl)
540 fe->ops.i2c_gate_ctrl(fe, 0);
542 return fe;
544 if (fe->ops.i2c_gate_ctrl)
545 fe->ops.i2c_gate_ctrl(fe, 0);