Lines Matching refs:fe

44 static int tda826x_release(struct dvb_frontend *fe)  in tda826x_release()  argument
46 kfree(fe->tuner_priv); in tda826x_release()
47 fe->tuner_priv = NULL; in tda826x_release()
51 static int tda826x_sleep(struct dvb_frontend *fe) in tda826x_sleep() argument
53 struct tda826x_priv *priv = fe->tuner_priv; in tda826x_sleep()
63 if (fe->ops.i2c_gate_ctrl) in tda826x_sleep()
64 fe->ops.i2c_gate_ctrl(fe, 1); in tda826x_sleep()
68 if (fe->ops.i2c_gate_ctrl) in tda826x_sleep()
69 fe->ops.i2c_gate_ctrl(fe, 0); in tda826x_sleep()
74 static int tda826x_set_params(struct dvb_frontend *fe) in tda826x_set_params() argument
76 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in tda826x_set_params()
77 struct tda826x_priv *priv = fe->tuner_priv; in tda826x_set_params()
112 if (fe->ops.i2c_gate_ctrl) in tda826x_set_params()
113 fe->ops.i2c_gate_ctrl(fe, 1); in tda826x_set_params()
117 if (fe->ops.i2c_gate_ctrl) in tda826x_set_params()
118 fe->ops.i2c_gate_ctrl(fe, 0); in tda826x_set_params()
125 static int tda826x_get_frequency(struct dvb_frontend *fe, u32 *frequency) in tda826x_get_frequency() argument
127 struct tda826x_priv *priv = fe->tuner_priv; in tda826x_get_frequency()
144 struct dvb_frontend *tda826x_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c, int… in tda826x_attach() argument
156 if (fe->ops.i2c_gate_ctrl) in tda826x_attach()
157 fe->ops.i2c_gate_ctrl(fe, 1); in tda826x_attach()
159 if (fe->ops.i2c_gate_ctrl) in tda826x_attach()
160 fe->ops.i2c_gate_ctrl(fe, 0); in tda826x_attach()
175 memcpy(&fe->ops.tuner_ops, &tda826x_tuner_ops, sizeof(struct dvb_tuner_ops)); in tda826x_attach()
177 fe->tuner_priv = priv; in tda826x_attach()
179 return fe; in tda826x_attach()