Lines Matching full:fe
31 static void tda826x_release(struct dvb_frontend *fe) in tda826x_release() argument
33 kfree(fe->tuner_priv); in tda826x_release()
34 fe->tuner_priv = NULL; in tda826x_release()
37 static int tda826x_sleep(struct dvb_frontend *fe) in tda826x_sleep() argument
39 struct tda826x_priv *priv = fe->tuner_priv; in tda826x_sleep()
49 if (fe->ops.i2c_gate_ctrl) in tda826x_sleep()
50 fe->ops.i2c_gate_ctrl(fe, 1); in tda826x_sleep()
54 if (fe->ops.i2c_gate_ctrl) in tda826x_sleep()
55 fe->ops.i2c_gate_ctrl(fe, 0); in tda826x_sleep()
60 static int tda826x_set_params(struct dvb_frontend *fe) in tda826x_set_params() argument
62 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in tda826x_set_params()
63 struct tda826x_priv *priv = fe->tuner_priv; in tda826x_set_params()
98 if (fe->ops.i2c_gate_ctrl) in tda826x_set_params()
99 fe->ops.i2c_gate_ctrl(fe, 1); in tda826x_set_params()
103 if (fe->ops.i2c_gate_ctrl) in tda826x_set_params()
104 fe->ops.i2c_gate_ctrl(fe, 0); in tda826x_set_params()
111 static int tda826x_get_frequency(struct dvb_frontend *fe, u32 *frequency) in tda826x_get_frequency() argument
113 struct tda826x_priv *priv = fe->tuner_priv; in tda826x_get_frequency()
130 struct dvb_frontend *tda826x_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c, int… in tda826x_attach() argument
142 if (fe->ops.i2c_gate_ctrl) in tda826x_attach()
143 fe->ops.i2c_gate_ctrl(fe, 1); in tda826x_attach()
145 if (fe->ops.i2c_gate_ctrl) in tda826x_attach()
146 fe->ops.i2c_gate_ctrl(fe, 0); in tda826x_attach()
161 memcpy(&fe->ops.tuner_ops, &tda826x_tuner_ops, sizeof(struct dvb_tuner_ops)); in tda826x_attach()
163 fe->tuner_priv = priv; in tda826x_attach()
165 return fe; in tda826x_attach()