Lines Matching refs:fe

44 static void 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()
50 static int stb6000_sleep(struct dvb_frontend *fe) in stb6000_sleep() argument
52 struct stb6000_priv *priv = fe->tuner_priv; in stb6000_sleep()
64 if (fe->ops.i2c_gate_ctrl) in stb6000_sleep()
65 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_sleep()
71 if (fe->ops.i2c_gate_ctrl) in stb6000_sleep()
72 fe->ops.i2c_gate_ctrl(fe, 0); in stb6000_sleep()
77 static int stb6000_set_params(struct dvb_frontend *fe) in stb6000_set_params() argument
79 struct dtv_frontend_properties *p = &fe->dtv_property_cache; in stb6000_set_params()
80 struct stb6000_priv *priv = fe->tuner_priv; in stb6000_set_params()
145 if (fe->ops.i2c_gate_ctrl) in stb6000_set_params()
146 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_set_params()
153 if (fe->ops.i2c_gate_ctrl) in stb6000_set_params()
154 fe->ops.i2c_gate_ctrl(fe, 0); in stb6000_set_params()
163 if (fe->ops.i2c_gate_ctrl) in stb6000_set_params()
164 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_set_params()
171 if (fe->ops.i2c_gate_ctrl) in stb6000_set_params()
172 fe->ops.i2c_gate_ctrl(fe, 0); in stb6000_set_params()
181 static int stb6000_get_frequency(struct dvb_frontend *fe, u32 *frequency) in stb6000_get_frequency() argument
183 struct stb6000_priv *priv = fe->tuner_priv; in stb6000_get_frequency()
200 struct dvb_frontend *stb6000_attach(struct dvb_frontend *fe, int addr, in stb6000_attach() argument
223 if (fe->ops.i2c_gate_ctrl) in stb6000_attach()
224 fe->ops.i2c_gate_ctrl(fe, 1); in stb6000_attach()
228 if (fe->ops.i2c_gate_ctrl) in stb6000_attach()
229 fe->ops.i2c_gate_ctrl(fe, 0); in stb6000_attach()
241 memcpy(&fe->ops.tuner_ops, &stb6000_tuner_ops, in stb6000_attach()
244 fe->tuner_priv = priv; in stb6000_attach()
246 return fe; in stb6000_attach()