/drivers/media/dvb/frontends/ |
D | dib3000mc.c | 443 dib3000mc_set_bandwidth(state, BANDWIDTH_TO_KHZ(ch->u.ofdm.bandwidth)); in dib3000mc_set_channel_cfg() 444 …dib3000mc_set_timing(state, ch->u.ofdm.transmission_mode, BANDWIDTH_TO_KHZ(ch->u.ofdm.bandwidth), … in dib3000mc_set_channel_cfg() 473 dib3000mc_set_impulse_noise(state, 0, ch->u.ofdm.transmission_mode); in dib3000mc_set_channel_cfg() 476 switch (ch->u.ofdm.transmission_mode) { in dib3000mc_set_channel_cfg() 481 switch (ch->u.ofdm.guard_interval) { in dib3000mc_set_channel_cfg() 488 switch (ch->u.ofdm.constellation) { in dib3000mc_set_channel_cfg() 504 if (ch->u.ofdm.hierarchy_information == 1) in dib3000mc_set_channel_cfg() 508 …switch ((ch->u.ofdm.hierarchy_information == 0 || 1 == 1) ? ch->u.ofdm.code_rate_HP : ch->u.ofdm.c… in dib3000mc_set_channel_cfg() 519 switch (ch->u.ofdm.transmission_mode) { in dib3000mc_set_channel_cfg() 524 switch (ch->u.ofdm.guard_interval) { in dib3000mc_set_channel_cfg() [all …]
|
D | dib3000mb.c | 129 struct dvb_ofdm_parameters *ofdm = &fep->u.ofdm; in dib3000mb_set_frontend() local 138 switch (ofdm->bandwidth) { in dib3000mb_set_frontend() 164 switch (ofdm->transmission_mode) { in dib3000mb_set_frontend() 181 switch (ofdm->guard_interval) { in dib3000mb_set_frontend() 223 switch (ofdm->constellation) { in dib3000mb_set_frontend() 242 switch (ofdm->hierarchy_information) { in dib3000mb_set_frontend() 266 if (ofdm->hierarchy_information == HIERARCHY_NONE) { in dib3000mb_set_frontend() 270 fe_cr = ofdm->code_rate_HP; in dib3000mb_set_frontend() 271 } else if (ofdm->hierarchy_information != HIERARCHY_AUTO) { in dib3000mb_set_frontend() 275 fe_cr = ofdm->code_rate_LP; in dib3000mb_set_frontend() [all …]
|
D | l64781.c | 131 struct dvb_ofdm_parameters *p = ¶m->u.ofdm; in apply_frontend_param() 245 param->u.ofdm.guard_interval = GUARD_INTERVAL_1_32; in get_frontend() 248 param->u.ofdm.guard_interval = GUARD_INTERVAL_1_16; in get_frontend() 251 param->u.ofdm.guard_interval = GUARD_INTERVAL_1_8; in get_frontend() 254 param->u.ofdm.guard_interval = GUARD_INTERVAL_1_4; in get_frontend() 259 param->u.ofdm.transmission_mode = TRANSMISSION_MODE_2K; in get_frontend() 262 param->u.ofdm.transmission_mode = TRANSMISSION_MODE_8K; in get_frontend() 273 param->u.ofdm.code_rate_HP = FEC_1_2; in get_frontend() 276 param->u.ofdm.code_rate_HP = FEC_2_3; in get_frontend() 279 param->u.ofdm.code_rate_HP = FEC_3_4; in get_frontend() [all …]
|
D | dib7000p.c | 708 dib7000p_set_bandwidth(state, BANDWIDTH_TO_KHZ(ch->u.ofdm.bandwidth)); in dib7000p_set_channel() 712 switch (ch->u.ofdm.transmission_mode) { in dib7000p_set_channel() 718 switch (ch->u.ofdm.guard_interval) { in dib7000p_set_channel() 725 switch (ch->u.ofdm.constellation) { in dib7000p_set_channel() 744 if (ch->u.ofdm.hierarchy_information == 1) in dib7000p_set_channel() 748 …switch ((ch->u.ofdm.hierarchy_information == 0 || 1 == 1) ? ch->u.ofdm.code_rate_HP : ch->u.ofdm.c… in dib7000p_set_channel() 765 switch (ch->u.ofdm.transmission_mode) { in dib7000p_set_channel() 771 switch (ch->u.ofdm.guard_interval) { in dib7000p_set_channel() 781 state->div_force_off = !1 && ch->u.ofdm.transmission_mode != TRANSMISSION_MODE_8K; in dib7000p_set_channel() 785 switch (ch->u.ofdm.constellation) { in dib7000p_set_channel() [all …]
|
D | dib7000m.c | 801 dib7000m_set_bandwidth(state, BANDWIDTH_TO_KHZ(ch->u.ofdm.bandwidth)); in dib7000m_set_channel() 805 switch (ch->u.ofdm.transmission_mode) { in dib7000m_set_channel() 811 switch (ch->u.ofdm.guard_interval) { in dib7000m_set_channel() 818 switch (ch->u.ofdm.constellation) { in dib7000m_set_channel() 837 if (ch->u.ofdm.hierarchy_information == 1) in dib7000m_set_channel() 841 …switch ((ch->u.ofdm.hierarchy_information == 0 || 1 == 1) ? ch->u.ofdm.code_rate_HP : ch->u.ofdm.c… in dib7000m_set_channel() 866 switch (ch->u.ofdm.transmission_mode) { in dib7000m_set_channel() 872 switch (ch->u.ofdm.guard_interval) { in dib7000m_set_channel() 890 switch (ch->u.ofdm.constellation) { in dib7000m_set_channel() 926 schan.u.ofdm.constellation = QAM_64; in dib7000m_autosearch_start() [all …]
|
D | tda1004x.c | 711 fe_params->u.ofdm.code_rate_HP = FEC_AUTO; in tda1004x_set_fe() 712 fe_params->u.ofdm.guard_interval = GUARD_INTERVAL_AUTO; in tda1004x_set_fe() 713 fe_params->u.ofdm.transmission_mode = TRANSMISSION_MODE_AUTO; in tda1004x_set_fe() 717 if ((fe_params->u.ofdm.code_rate_HP == FEC_AUTO) || in tda1004x_set_fe() 718 (fe_params->u.ofdm.code_rate_LP == FEC_AUTO) || in tda1004x_set_fe() 719 (fe_params->u.ofdm.constellation == QAM_AUTO) || in tda1004x_set_fe() 720 (fe_params->u.ofdm.hierarchy_information == HIERARCHY_AUTO)) { in tda1004x_set_fe() 729 tmp = tda1004x_encode_fec(fe_params->u.ofdm.code_rate_HP); in tda1004x_set_fe() 735 tmp = tda1004x_encode_fec(fe_params->u.ofdm.code_rate_LP); in tda1004x_set_fe() 741 switch (fe_params->u.ofdm.constellation) { in tda1004x_set_fe() [all …]
|
D | cx22702.c | 273 switch (p->u.ofdm.bandwidth) { in cx22702_set_tps() 291 p->u.ofdm.code_rate_LP = FEC_AUTO; /* temp hack as manual not working */ in cx22702_set_tps() 294 if ((p->u.ofdm.hierarchy_information == HIERARCHY_AUTO) || in cx22702_set_tps() 295 (p->u.ofdm.constellation == QAM_AUTO) || in cx22702_set_tps() 296 (p->u.ofdm.code_rate_HP == FEC_AUTO) || in cx22702_set_tps() 297 (p->u.ofdm.code_rate_LP == FEC_AUTO) || in cx22702_set_tps() 298 (p->u.ofdm.guard_interval == GUARD_INTERVAL_AUTO) || in cx22702_set_tps() 299 (p->u.ofdm.transmission_mode == TRANSMISSION_MODE_AUTO)) { in cx22702_set_tps() 316 switch (p->u.ofdm.constellation) { in cx22702_set_tps() 330 switch (p->u.ofdm.hierarchy_information) { in cx22702_set_tps() [all …]
|
D | af9013.c | 749 params->u.ofdm.bandwidth); in af9013_set_frontend() 754 ret = af9013_set_coeff(state, params->u.ofdm.bandwidth); in af9013_set_frontend() 759 ret = af9013_set_freq_ctrl(state, params->u.ofdm.bandwidth); in af9013_set_frontend() 788 ret = af9013_set_ofdm_params(state, ¶ms->u.ofdm, &auto_mode); in af9013_set_frontend() 833 p->u.ofdm.constellation = QPSK; in af9013_get_frontend() 836 p->u.ofdm.constellation = QAM_16; in af9013_get_frontend() 839 p->u.ofdm.constellation = QAM_64; in af9013_get_frontend() 845 p->u.ofdm.transmission_mode = TRANSMISSION_MODE_2K; in af9013_get_frontend() 848 p->u.ofdm.transmission_mode = TRANSMISSION_MODE_8K; in af9013_get_frontend() 853 p->u.ofdm.guard_interval = GUARD_INTERVAL_1_32; in af9013_get_frontend() [all …]
|
D | sp887x.c | 218 switch (p->u.ofdm.constellation) { in configure_reg0xc05() 234 switch (p->u.ofdm.hierarchy_information) { in configure_reg0xc05() 253 switch (p->u.ofdm.code_rate_HP) { in configure_reg0xc05() 310 int bw_index = p->u.ofdm.bandwidth - BANDWIDTH_8_MHZ; in sp887x_correct_offsets() 344 if (p->u.ofdm.bandwidth != BANDWIDTH_8_MHZ && in sp887x_setup_frontend_parameters() 345 p->u.ofdm.bandwidth != BANDWIDTH_7_MHZ && in sp887x_setup_frontend_parameters() 346 p->u.ofdm.bandwidth != BANDWIDTH_6_MHZ) in sp887x_setup_frontend_parameters() 372 if (p->u.ofdm.bandwidth == BANDWIDTH_6_MHZ) in sp887x_setup_frontend_parameters() 374 else if (p->u.ofdm.bandwidth == BANDWIDTH_7_MHZ) in sp887x_setup_frontend_parameters() 382 if (p->u.ofdm.transmission_mode == TRANSMISSION_MODE_2K) in sp887x_setup_frontend_parameters() [all …]
|
D | dvb-pll.c | 97 if (BANDWIDTH_7_MHZ == params->u.ofdm.bandwidth) in thomson_dtt759x_bw() 190 if (params->u.ofdm.bandwidth == BANDWIDTH_8_MHZ) in tda665x_bw() 224 if (BANDWIDTH_7_MHZ != params->u.ofdm.bandwidth) in tua6034_bw() 248 if (params->u.ofdm.bandwidth == BANDWIDTH_8_MHZ) in tded4_bw() 323 if (params->u.ofdm.bandwidth == BANDWIDTH_8_MHZ) in opera1_bw() 516 priv->bandwidth = (fe->ops.info.type == FE_OFDM) ? params->u.ofdm.bandwidth : 0; in dvb_pll_set_params() 540 priv->bandwidth = (fe->ops.info.type == FE_OFDM) ? params->u.ofdm.bandwidth : 0; in dvb_pll_calc_regs()
|
D | sp8870.c | 177 switch (p->u.ofdm.constellation) { in configure_reg0xc05() 193 switch (p->u.ofdm.hierarchy_information) { in configure_reg0xc05() 212 switch (p->u.ofdm.code_rate_HP) { in configure_reg0xc05() 280 if (p->u.ofdm.bandwidth == BANDWIDTH_6_MHZ) in sp8870_set_frontend_parameters() 282 else if (p->u.ofdm.bandwidth == BANDWIDTH_7_MHZ) in sp8870_set_frontend_parameters() 288 if (p->u.ofdm.transmission_mode == TRANSMISSION_MODE_2K) in sp8870_set_frontend_parameters()
|
D | nxt6000.c | 470 if ((result = nxt6000_set_bandwidth(state, param->u.ofdm.bandwidth)) < 0) in nxt6000_set_frontend() 472 if ((result = nxt6000_set_guard_interval(state, param->u.ofdm.guard_interval)) < 0) in nxt6000_set_frontend() 474 if ((result = nxt6000_set_transmission_mode(state, param->u.ofdm.transmission_mode)) < 0) in nxt6000_set_frontend()
|
D | drx397xD.c | 714 if (fep->u.ofdm.transmission_mode != TRANSMISSION_MODE_2K) in drx_tune() 716 switch (fep->u.ofdm.transmission_mode) { in drx_tune() 743 switch (fep->u.ofdm.guard_interval) { in drx_tune() 769 switch (fep->u.ofdm.hierarchy_information) { in drx_tune() 852 switch (fep->u.ofdm.constellation) { in drx_tune() 959 switch (fep->u.ofdm.code_rate_HP) { in drx_tune() 995 switch (fep->u.ofdm.bandwidth) { in drx_tune()
|
D | lgs8gl5.c | 321 if (p->u.ofdm.bandwidth != BANDWIDTH_8_MHZ) in lgs8gl5_set_frontend() 344 struct dvb_ofdm_parameters *o = &p->u.ofdm; in lgs8gl5_get_frontend()
|
D | cx22700.c | 334 cx22700_set_tps (state, &p->u.ofdm); in cx22700_set_frontend() 347 return cx22700_get_tps (state, &p->u.ofdm); in cx22700_get_frontend()
|
D | mt352.c | 177 struct dvb_ofdm_parameters *op = ¶m->u.ofdm; in mt352_set_parameters() 322 struct dvb_ofdm_parameters *op = ¶m->u.ofdm; in mt352_get_parameters()
|
/drivers/media/dvb/dvb-usb/ |
D | af9005-fe.c | 1112 fep->u.ofdm.bandwidth); in af9005_fe_set_frontend() 1172 ret = af9005_fe_select_bw(state->d, fep->u.ofdm.bandwidth); in af9005_fe_set_frontend() 1175 ret = af9005_fe_program_cfoe(state->d, fep->u.ofdm.bandwidth); in af9005_fe_set_frontend() 1248 fep->u.ofdm.constellation = QPSK; in af9005_fe_get_frontend() 1252 fep->u.ofdm.constellation = QAM_16; in af9005_fe_get_frontend() 1256 fep->u.ofdm.constellation = QAM_64; in af9005_fe_get_frontend() 1271 fep->u.ofdm.hierarchy_information = HIERARCHY_NONE; in af9005_fe_get_frontend() 1275 fep->u.ofdm.hierarchy_information = HIERARCHY_1; in af9005_fe_get_frontend() 1279 fep->u.ofdm.hierarchy_information = HIERARCHY_2; in af9005_fe_get_frontend() 1283 fep->u.ofdm.hierarchy_information = HIERARCHY_4; in af9005_fe_get_frontend() [all …]
|
D | cinergyT2-fe.c | 45 struct dvb_ofdm_parameters *op = &p->u.ofdm; in compute_tps() 277 param.bandwidth = 8 - fep->u.ofdm.bandwidth - BANDWIDTH_8_MHZ; in cinergyt2_fe_set_frontend()
|
D | vp7045-fe.c | 118 switch (fep->u.ofdm.bandwidth) { in vp7045_fe_set_frontend()
|
/drivers/media/dvb/dvb-core/ |
D | dvb_frontend.c | 1033 if (p->u.ofdm.bandwidth == BANDWIDTH_6_MHZ) in dtv_property_cache_sync() 1035 else if (p->u.ofdm.bandwidth == BANDWIDTH_7_MHZ) in dtv_property_cache_sync() 1037 else if (p->u.ofdm.bandwidth == BANDWIDTH_8_MHZ) in dtv_property_cache_sync() 1042 c->code_rate_HP = p->u.ofdm.code_rate_HP; in dtv_property_cache_sync() 1043 c->code_rate_LP = p->u.ofdm.code_rate_LP; in dtv_property_cache_sync() 1044 c->modulation = p->u.ofdm.constellation; in dtv_property_cache_sync() 1045 c->transmission_mode = p->u.ofdm.transmission_mode; in dtv_property_cache_sync() 1046 c->guard_interval = p->u.ofdm.guard_interval; in dtv_property_cache_sync() 1047 c->hierarchy = p->u.ofdm.hierarchy_information; in dtv_property_cache_sync() 1089 p->u.ofdm.bandwidth = BANDWIDTH_6_MHZ; in dtv_property_legacy_params_sync() [all …]
|
/drivers/media/dvb/firewire/ |
D | firedtv-avc.c | 386 struct dvb_ofdm_parameters *ofdm = ¶ms->u.ofdm; in avc_tuner_dsd_dvb_t() local 400 | (ofdm->bandwidth != BANDWIDTH_AUTO ? 1 << 5 : 0) in avc_tuner_dsd_dvb_t() 401 | (ofdm->constellation != QAM_AUTO ? 1 << 4 : 0) in avc_tuner_dsd_dvb_t() 402 | (ofdm->hierarchy_information != HIERARCHY_AUTO ? 1 << 3 : 0) in avc_tuner_dsd_dvb_t() 403 | (ofdm->code_rate_HP != FEC_AUTO ? 1 << 2 : 0) in avc_tuner_dsd_dvb_t() 404 | (ofdm->code_rate_LP != FEC_AUTO ? 1 << 1 : 0) in avc_tuner_dsd_dvb_t() 405 | (ofdm->guard_interval != GUARD_INTERVAL_AUTO ? 1 << 0 : 0); in avc_tuner_dsd_dvb_t() 410 | (ofdm->transmission_mode != TRANSMISSION_MODE_AUTO ? 1 << 6 : 0) in avc_tuner_dsd_dvb_t() 420 switch (ofdm->bandwidth) { in avc_tuner_dsd_dvb_t() 428 switch (ofdm->constellation) { in avc_tuner_dsd_dvb_t() [all …]
|
/drivers/media/common/tuners/ |
D | mt2266.c | 140 priv->bandwidth = (fe->ops.info.type == FE_OFDM) ? params->u.ofdm.bandwidth : 0; in mt2266_set_params() 148 switch (params->u.ofdm.bandwidth) { in mt2266_set_params()
|
D | tda827x.c | 147 switch (params->u.ofdm.bandwidth) { in tda827xo_set_params() 204 priv->bandwidth = (fe->ops.info.type == FE_OFDM) ? params->u.ofdm.bandwidth : 0; in tda827xo_set_params() 485 switch (params->u.ofdm.bandwidth) { in tda827xa_set_params() 596 priv->bandwidth = (fe->ops.info.type == FE_OFDM) ? params->u.ofdm.bandwidth : 0; in tda827xa_set_params()
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-3945-commands.h | 1085 __le32 ofdm[NUM_ELEMENTS_IN_HISTOGRAM]; /* in 0.8usec counts */ member 1091 __le32 ofdm; member 1526 struct statistics_rx_phy ofdm; member
|
/drivers/media/dvb/siano/ |
D | smsdvb.c | 275 fep->frequency, fep->u.ofdm.bandwidth); in smsdvb_set_frontend() 277 switch (fep->u.ofdm.bandwidth) { in smsdvb_set_frontend()
|