Lines Matching full:fe

31 static void stb6000_release(struct dvb_frontend *fe)  in stb6000_release()  argument
33 kfree(fe->tuner_priv); in stb6000_release()
34 fe->tuner_priv = NULL; in stb6000_release()
37 static int stb6000_sleep(struct dvb_frontend *fe) in stb6000_sleep() argument
39 struct stb6000_priv *priv = fe->tuner_priv; in stb6000_sleep()
51 if (fe->ops.i2c_gate_ctrl) in stb6000_sleep()
52 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_sleep()
58 if (fe->ops.i2c_gate_ctrl) in stb6000_sleep()
59 fe->ops.i2c_gate_ctrl(fe, 0); in stb6000_sleep()
64 static int stb6000_set_params(struct dvb_frontend *fe) in stb6000_set_params() argument
66 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in stb6000_set_params()
67 struct stb6000_priv *priv = fe->tuner_priv; in stb6000_set_params()
132 if (fe->ops.i2c_gate_ctrl) in stb6000_set_params()
133 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_set_params()
140 if (fe->ops.i2c_gate_ctrl) in stb6000_set_params()
141 fe->ops.i2c_gate_ctrl(fe, 0); in stb6000_set_params()
150 if (fe->ops.i2c_gate_ctrl) in stb6000_set_params()
151 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_set_params()
158 if (fe->ops.i2c_gate_ctrl) in stb6000_set_params()
159 fe->ops.i2c_gate_ctrl(fe, 0); in stb6000_set_params()
168 static int stb6000_get_frequency(struct dvb_frontend *fe, u32 *frequency) in stb6000_get_frequency() argument
170 struct stb6000_priv *priv = fe->tuner_priv; in stb6000_get_frequency()
187 struct dvb_frontend *stb6000_attach(struct dvb_frontend *fe, int addr, in stb6000_attach() argument
210 if (fe->ops.i2c_gate_ctrl) in stb6000_attach()
211 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_attach()
215 if (fe->ops.i2c_gate_ctrl) in stb6000_attach()
216 fe->ops.i2c_gate_ctrl(fe, 0); in stb6000_attach()
228 memcpy(&fe->ops.tuner_ops, &stb6000_tuner_ops, in stb6000_attach()
231 fe->tuner_priv = priv; in stb6000_attach()
233 return fe; in stb6000_attach()