Lines Matching refs:fe_params
270 struct dvb_frontend_parameters *fe_params)
274 dprintk ("%s %i %i\n", __func__, fe_params->inversion, state->config->invert);
276 switch(fe_params->inversion) {
295 struct dvb_frontend_parameters *fe_params)
306 u32 symbol_rate = fe_params->u.qpsk.symbol_rate;
370 struct dvb_frontend_parameters *fe_params)
374 dprintk ("%s %i\n", __func__, fe_params->u.qpsk.fec_inner);
376 switch(fe_params->u.qpsk.fec_inner) {
413 struct dvb_frontend_parameters *fe_params)
428 fe->ops.tuner_ops.set_params(fe, fe_params);
439 freqoff = fe_params->frequency - freq;
444 if ((ret = tda10086_set_inversion(state, fe_params)) < 0)
446 if ((ret = tda10086_set_symbol_rate(state, fe_params)) < 0)
448 if ((ret = tda10086_set_fec(state, fe_params)) < 0)
455 state->symbol_rate = fe_params->u.qpsk.symbol_rate;
456 state->frequency = fe_params->frequency;
460 static int tda10086_get_frontend(struct dvb_frontend* fe, struct dvb_frontend_parameters *fe_params)
470 if (fe_params->u.qpsk.symbol_rate < 500000)
480 fe_params->frequency = (int) state->frequency + (int) tmp64;
487 fe_params->inversion = INVERSION_OFF;
489 fe_params->inversion = INVERSION_ON;
492 fe_params->inversion = INVERSION_ON;
494 fe_params->inversion = INVERSION_OFF;
501 fe_params->inversion = INVERSION_OFF;
503 fe_params->inversion = INVERSION_ON;
506 fe_params->inversion = INVERSION_ON;
508 fe_params->inversion = INVERSION_OFF;
519 fe_params->u.qpsk.symbol_rate = state->symbol_rate + tmp;
525 fe_params->u.qpsk.fec_inner = FEC_1_2;
528 fe_params->u.qpsk.fec_inner = FEC_2_3;
531 fe_params->u.qpsk.fec_inner = FEC_3_4;
534 fe_params->u.qpsk.fec_inner = FEC_4_5;
537 fe_params->u.qpsk.fec_inner = FEC_5_6;
540 fe_params->u.qpsk.fec_inner = FEC_6_7;
543 fe_params->u.qpsk.fec_inner = FEC_7_8;
546 fe_params->u.qpsk.fec_inner = FEC_8_9;