Lines Matching refs:fe
84 static void ix2505v_release(struct dvb_frontend *fe)
86 struct ix2505v_state *state = fe->tuner_priv;
88 fe->tuner_priv = NULL;
118 static int ix2505v_set_params(struct dvb_frontend *fe)
120 struct dtv_frontend_properties *c = &fe->dtv_property_cache;
121 struct ix2505v_state *state = fe->tuner_priv;
129 if ((frequency < fe->ops.info.frequency_min_hz / kHz)
130 || (frequency > fe->ops.info.frequency_max_hz / kHz))
203 if (fe->ops.i2c_gate_ctrl)
204 fe->ops.i2c_gate_ctrl(fe, 1);
211 if (fe->ops.i2c_gate_ctrl)
212 fe->ops.i2c_gate_ctrl(fe, 1);
224 if (fe->ops.i2c_gate_ctrl)
225 fe->ops.i2c_gate_ctrl(fe, 1);
238 static int ix2505v_get_frequency(struct dvb_frontend *fe, u32 *frequency)
240 struct ix2505v_state *state = fe->tuner_priv;
258 struct dvb_frontend *ix2505v_attach(struct dvb_frontend *fe,
278 if (fe->ops.i2c_gate_ctrl)
279 fe->ops.i2c_gate_ctrl(fe, 1);
288 if (fe->ops.i2c_gate_ctrl)
289 fe->ops.i2c_gate_ctrl(fe, 0);
292 fe->tuner_priv = state;
294 memcpy(&fe->ops.tuner_ops, &ix2505v_tuner_ops,
297 __func__, fe->ops.tuner_ops.info.name, config->tuner_address);
299 return fe;