Lines Matching refs:fe

44 static int stb6000_release(struct dvb_frontend *fe)  in stb6000_release()  argument
46 kfree(fe->tuner_priv); in stb6000_release()
47 fe->tuner_priv = NULL; in stb6000_release()
51 static int stb6000_sleep(struct dvb_frontend *fe) in stb6000_sleep() argument
53 struct stb6000_priv *priv = fe->tuner_priv; in stb6000_sleep()
65 if (fe->ops.i2c_gate_ctrl) in stb6000_sleep()
66 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_sleep()
72 if (fe->ops.i2c_gate_ctrl) in stb6000_sleep()
73 fe->ops.i2c_gate_ctrl(fe, 0); in stb6000_sleep()
78 static int stb6000_set_params(struct dvb_frontend *fe) in stb6000_set_params() argument
80 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in stb6000_set_params()
81 struct stb6000_priv *priv = fe->tuner_priv; in stb6000_set_params()
146 if (fe->ops.i2c_gate_ctrl) in stb6000_set_params()
147 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_set_params()
154 if (fe->ops.i2c_gate_ctrl) in stb6000_set_params()
155 fe->ops.i2c_gate_ctrl(fe, 0); in stb6000_set_params()
164 if (fe->ops.i2c_gate_ctrl) in stb6000_set_params()
165 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_set_params()
172 if (fe->ops.i2c_gate_ctrl) in stb6000_set_params()
173 fe->ops.i2c_gate_ctrl(fe, 0); in stb6000_set_params()
182 static int stb6000_get_frequency(struct dvb_frontend *fe, u32 *frequency) in stb6000_get_frequency() argument
184 struct stb6000_priv *priv = fe->tuner_priv; in stb6000_get_frequency()
201 struct dvb_frontend *stb6000_attach(struct dvb_frontend *fe, int addr, in stb6000_attach() argument
224 if (fe->ops.i2c_gate_ctrl) in stb6000_attach()
225 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_attach()
229 if (fe->ops.i2c_gate_ctrl) in stb6000_attach()
230 fe->ops.i2c_gate_ctrl(fe, 0); in stb6000_attach()
242 memcpy(&fe->ops.tuner_ops, &stb6000_tuner_ops, in stb6000_attach()
245 fe->tuner_priv = priv; in stb6000_attach()
247 return fe; in stb6000_attach()