• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/dvb/ttusb-dec/

Lines Matching defs:state

53 	struct ttusbdecfe_state* state = fe->demodulator_priv;
61 ret=state->config->send_command(fe, 0x73, sizeof(b), b, &len, result);
92 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv;
101 state->config->send_command(fe, 0x71, sizeof(b), b, NULL, NULL);
118 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv;
136 (state->hi_band ? LOF_HI : LOF_LO));
140 band = htonl(state->hi_band ? LOF_HI : LOF_LO);
142 lnb_voltage = htonl(state->voltage);
145 state->config->send_command(fe, 0x71, sizeof(b), b, NULL, NULL);
152 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv;
159 state->config->send_command(fe, 0x72,
169 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv;
171 state->hi_band = (SEC_TONE_ON == tone);
179 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv;
183 state->voltage = 13;
186 state->voltage = 18;
197 struct ttusbdecfe_state* state = (struct ttusbdecfe_state*) fe->demodulator_priv;
198 kfree(state);
205 struct ttusbdecfe_state* state = NULL;
207 /* allocate memory for the internal state */
208 state = kmalloc(sizeof(struct ttusbdecfe_state), GFP_KERNEL);
209 if (state == NULL)
212 /* setup the state */
213 state->config = config;
216 memcpy(&state->frontend.ops, &ttusbdecfe_dvbt_ops, sizeof(struct dvb_frontend_ops));
217 state->frontend.demodulator_priv = state;
218 return &state->frontend;
225 struct ttusbdecfe_state* state = NULL;
227 /* allocate memory for the internal state */
228 state = kmalloc(sizeof(struct ttusbdecfe_state), GFP_KERNEL);
229 if (state == NULL)
232 /* setup the state */
233 state->config = config;
234 state->voltage = 0;
235 state->hi_band = 0;
238 memcpy(&state->frontend.ops, &ttusbdecfe_dvbs_ops, sizeof(struct dvb_frontend_ops));
239 state->frontend.demodulator_priv = state;
240 return &state->frontend;