• Home
  • Raw
  • Download

Lines Matching refs:fe

58 static int fc0012_release(struct dvb_frontend *fe)  in fc0012_release()  argument
60 kfree(fe->tuner_priv); in fc0012_release()
61 fe->tuner_priv = NULL; in fc0012_release()
65 static int fc0012_init(struct dvb_frontend *fe) in fc0012_init() argument
67 struct fc0012_priv *priv = fe->tuner_priv; in fc0012_init()
113 if (fe->ops.i2c_gate_ctrl) in fc0012_init()
114 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ in fc0012_init()
122 if (fe->ops.i2c_gate_ctrl) in fc0012_init()
123 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ in fc0012_init()
132 static int fc0012_set_params(struct dvb_frontend *fe) in fc0012_set_params() argument
134 struct fc0012_priv *priv = fe->tuner_priv; in fc0012_set_params()
136 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in fc0012_set_params()
144 if (fe->callback) { in fc0012_set_params()
145 ret = fe->callback(priv->i2c, DVB_FRONTEND_COMPONENT_TUNER, in fc0012_set_params()
271 if (fe->ops.i2c_gate_ctrl) in fc0012_set_params()
272 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ in fc0012_set_params()
323 if (fe->ops.i2c_gate_ctrl) in fc0012_set_params()
324 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ in fc0012_set_params()
331 static int fc0012_get_frequency(struct dvb_frontend *fe, u32 *frequency) in fc0012_get_frequency() argument
333 struct fc0012_priv *priv = fe->tuner_priv; in fc0012_get_frequency()
338 static int fc0012_get_if_frequency(struct dvb_frontend *fe, u32 *frequency) in fc0012_get_if_frequency() argument
344 static int fc0012_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth) in fc0012_get_bandwidth() argument
346 struct fc0012_priv *priv = fe->tuner_priv; in fc0012_get_bandwidth()
353 static int fc0012_get_rf_strength(struct dvb_frontend *fe, u16 *strength) in fc0012_get_rf_strength() argument
355 struct fc0012_priv *priv = fe->tuner_priv; in fc0012_get_rf_strength()
371 if (fe->ops.i2c_gate_ctrl) in fc0012_get_rf_strength()
372 fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */ in fc0012_get_rf_strength()
388 if (fe->ops.i2c_gate_ctrl) in fc0012_get_rf_strength()
389 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ in fc0012_get_rf_strength()
412 if (fe->ops.i2c_gate_ctrl) in fc0012_get_rf_strength()
413 fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */ in fc0012_get_rf_strength()
443 struct dvb_frontend *fc0012_attach(struct dvb_frontend *fe, in fc0012_attach() argument
450 if (fe->ops.i2c_gate_ctrl) in fc0012_attach()
451 fe->ops.i2c_gate_ctrl(fe, 1); in fc0012_attach()
497 fe->tuner_priv = priv; in fc0012_attach()
498 memcpy(&fe->ops.tuner_ops, &fc0012_tuner_ops, in fc0012_attach()
502 if (fe->ops.i2c_gate_ctrl) in fc0012_attach()
503 fe->ops.i2c_gate_ctrl(fe, 0); in fc0012_attach()
511 return fe; in fc0012_attach()