Lines Matching refs:fe_params
701 struct dvb_frontend_parameters *fe_params)
721 fe->ops.tuner_ops.set_params(fe, fe_params);
729 fe_params->u.ofdm.code_rate_HP = FEC_AUTO;
730 fe_params->u.ofdm.guard_interval = GUARD_INTERVAL_AUTO;
731 fe_params->u.ofdm.transmission_mode = TRANSMISSION_MODE_AUTO;
735 if ((fe_params->u.ofdm.code_rate_HP == FEC_AUTO) ||
736 (fe_params->u.ofdm.code_rate_LP == FEC_AUTO) ||
737 (fe_params->u.ofdm.constellation == QAM_AUTO) ||
738 (fe_params->u.ofdm.hierarchy_information == HIERARCHY_AUTO)) {
747 tmp = tda1004x_encode_fec(fe_params->u.ofdm.code_rate_HP);
753 tmp = tda1004x_encode_fec(fe_params->u.ofdm.code_rate_LP);
759 switch (fe_params->u.ofdm.constellation) {
777 switch (fe_params->u.ofdm.hierarchy_information) {
802 tda10045h_set_bandwidth(state, fe_params->u.ofdm.bandwidth);
806 tda10046h_set_bandwidth(state, fe_params->u.ofdm.bandwidth);
811 inversion = fe_params->inversion;
828 switch (fe_params->u.ofdm.guard_interval) {
859 switch (fe_params->u.ofdm.transmission_mode) {
898 static int tda1004x_get_fe(struct dvb_frontend* fe, struct dvb_frontend_parameters *fe_params)
905 fe_params->inversion = INVERSION_OFF;
907 fe_params->inversion = INVERSION_ON;
909 fe_params->inversion = fe_params->inversion ? INVERSION_OFF : INVERSION_ON;
916 fe_params->u.ofdm.bandwidth = BANDWIDTH_8_MHZ;
919 fe_params->u.ofdm.bandwidth = BANDWIDTH_7_MHZ;
922 fe_params->u.ofdm.bandwidth = BANDWIDTH_6_MHZ;
930 fe_params->u.ofdm.bandwidth = BANDWIDTH_8_MHZ;
934 fe_params->u.ofdm.bandwidth = BANDWIDTH_7_MHZ;
938 fe_params->u.ofdm.bandwidth = BANDWIDTH_6_MHZ;
945 fe_params->u.ofdm.code_rate_HP =
947 fe_params->u.ofdm.code_rate_LP =
953 fe_params->u.ofdm.constellation = QPSK;
956 fe_params->u.ofdm.constellation = QAM_16;
959 fe_params->u.ofdm.constellation = QAM_64;
964 fe_params->u.ofdm.transmission_mode = TRANSMISSION_MODE_2K;
966 fe_params->u.ofdm.transmission_mode = TRANSMISSION_MODE_8K;
971 fe_params->u.ofdm.guard_interval = GUARD_INTERVAL_1_32;
974 fe_params->u.ofdm.guard_interval = GUARD_INTERVAL_1_16;
977 fe_params->u.ofdm.guard_interval = GUARD_INTERVAL_1_8;
980 fe_params->u.ofdm.guard_interval = GUARD_INTERVAL_1_4;
987 fe_params->u.ofdm.hierarchy_information = HIERARCHY_NONE;
990 fe_params->u.ofdm.hierarchy_information = HIERARCHY_1;
993 fe_params->u.ofdm.hierarchy_information = HIERARCHY_2;
996 fe_params->u.ofdm.hierarchy_information = HIERARCHY_4;