/Linux-v6.1/drivers/media/dvb-frontends/ |
D | tda10086.c | 29 u32 symbol_rate; member 295 u32 symbol_rate = fe_params->symbol_rate; in tda10086_set_symbol_rate() local 297 dprintk ("%s %i\n", __func__, symbol_rate); in tda10086_set_symbol_rate() 300 if (symbol_rate < SACLK / 10000 * 137) { in tda10086_set_symbol_rate() 303 } else if (symbol_rate < SACLK / 10000 * 208) { in tda10086_set_symbol_rate() 306 } else if (symbol_rate < SACLK / 10000 * 270) { in tda10086_set_symbol_rate() 309 } else if (symbol_rate < SACLK / 10000 * 416) { in tda10086_set_symbol_rate() 312 } else if (symbol_rate < SACLK / 10000 * 550) { in tda10086_set_symbol_rate() 315 } else if (symbol_rate < SACLK / 10000 * 833) { in tda10086_set_symbol_rate() 318 } else if (symbol_rate < SACLK / 10000 * 1100) { in tda10086_set_symbol_rate() [all …]
|
D | s5h1420.c | 42 u32 symbol_rate; member 472 val = ((u64) p->symbol_rate / 1000ULL) * (1ULL<<24); in s5h1420_setsymbolrate() 473 if (p->symbol_rate < 29000000) in s5h1420_setsymbolrate() 490 return state->symbol_rate; in s5h1420_getsymbolrate() 644 (state->symbol_rate == p->symbol_rate)) { in s5h1420_set_frontend() 667 if (p->symbol_rate > 33000000) in s5h1420_set_frontend() 669 else if (p->symbol_rate > 28500000) in s5h1420_set_frontend() 671 else if (p->symbol_rate > 25000000) in s5h1420_set_frontend() 673 else if (p->symbol_rate > 1900000) in s5h1420_set_frontend() 684 if (p->symbol_rate > 29000000) in s5h1420_set_frontend() [all …]
|
D | horus3a.c | 170 u32 symbol_rate = p->symbol_rate/1000; in horus3a_set_params() local 180 __func__, frequency, symbol_rate); in horus3a_set_params() 257 if (symbol_rate <= 4300) in horus3a_set_params() 259 else if (symbol_rate <= 10000) in horus3a_set_params() 260 fc_lpf = (u8)DIV_ROUND_UP(symbol_rate * 47, 40000); in horus3a_set_params() 262 fc_lpf = (u8)DIV_ROUND_UP(symbol_rate * 27, 40000) + 5; in horus3a_set_params() 276 if (symbol_rate <= 4500) in horus3a_set_params() 278 else if (symbol_rate <= 10000) in horus3a_set_params() 279 fc_lpf = (u8)((symbol_rate * 11 + (10000-1)) / 10000); in horus3a_set_params() 281 fc_lpf = (u8)((symbol_rate * 3 + (5000-1)) / 5000 + 5); in horus3a_set_params()
|
D | m88rs2000.c | 31 u32 symbol_rate; member 645 if (c->symbol_rate > 27500000) in m88rs2000_set_frontend() 666 ret = m88rs2000_set_symbolrate(fe, c->symbol_rate); in m88rs2000_set_frontend() 698 state->symbol_rate = c->symbol_rate; in m88rs2000_set_frontend() 709 c->symbol_rate = state->symbol_rate; in m88rs2000_get_frontend() 718 if (c->symbol_rate > 3000000) in m88rs2000_get_tune_settings() 723 tune->step_size = c->symbol_rate / 16000; in m88rs2000_get_tune_settings() 724 tune->max_drift = c->symbol_rate / 2000; in m88rs2000_get_tune_settings() 797 state->symbol_rate = 0; in m88rs2000_attach()
|
D | ds3000.c | 928 if (c->symbol_rate >= 30000000) in ds3000_set_frontend() 942 if ((c->symbol_rate < ds3000_ops.info.symbol_rate_min) || in ds3000_set_frontend() 943 (c->symbol_rate > ds3000_ops.info.symbol_rate_max)) { in ds3000_set_frontend() 945 __func__, c->symbol_rate, in ds3000_set_frontend() 952 if ((c->symbol_rate / 1000) <= 5000) { in ds3000_set_frontend() 953 value = 29777 / (c->symbol_rate / 1000) + 1; in ds3000_set_frontend() 960 } else if ((c->symbol_rate / 1000) <= 10000) { in ds3000_set_frontend() 961 value = 92166 / (c->symbol_rate / 1000) + 1; in ds3000_set_frontend() 968 } else if ((c->symbol_rate / 1000) <= 20000) { in ds3000_set_frontend() 969 value = 64516 / (c->symbol_rate / 1000) + 1; in ds3000_set_frontend() [all …]
|
D | itd1000.c | 96 u32 symbol_rate; member 117 static void itd1000_set_lpf_bw(struct itd1000_state *state, u32 symbol_rate) in itd1000_set_lpf_bw() argument 125 itd_dbg("symbol_rate = %d\n", symbol_rate); in itd1000_set_lpf_bw() 131 if (symbol_rate < itd1000_lpf_pga[i].symbol_rate) { in itd1000_set_lpf_bw() 258 itd1000_set_lpf_bw(state, c->symbol_rate); in itd1000_set_parameters()
|
D | stv0299.c | 52 u32 symbol_rate; member 583 stv0299_set_symbolrate(fe, p->symbol_rate); in stv0299_set_frontend() 589 state->symbol_rate = p->symbol_rate; in stv0299_set_frontend() 615 p->symbol_rate = stv0299_get_symbolrate(state); in stv0299_get_frontend() 649 if (p->symbol_rate < 10000000) { in stv0299_get_tune_settings() 650 fesettings->step_size = p->symbol_rate / 32000; in stv0299_get_tune_settings() 653 fesettings->step_size = p->symbol_rate / 16000; in stv0299_get_tune_settings() 654 fesettings->max_drift = p->symbol_rate / 2000; in stv0299_get_tune_settings() 682 state->symbol_rate = 0; in stv0299_attach()
|
D | stv0910.c | 101 u32 symbol_rate; member 443 if (state->symbol_rate <= 3000000) in get_optim_cloop() 445 else if (state->symbol_rate <= 7000000) in get_optim_cloop() 447 else if (state->symbol_rate <= 15000000) in get_optim_cloop() 449 else if (state->symbol_rate <= 25000000) in get_optim_cloop() 470 u32 symbol_rate; in get_cur_symbol_rate() local 485 symbol_rate = ((u32)symb_freq3 << 24) | ((u32)symb_freq2 << 16) | in get_cur_symbol_rate() 493 symbol_rate = (u32)(((u64)symbol_rate * state->base->mclk) >> 32); in get_cur_symbol_rate() 494 timing_offset = (s32)(((s64)symbol_rate * (s64)timing_offset) >> 29); in get_cur_symbol_rate() 496 *p_symbol_rate = symbol_rate + timing_offset; in get_cur_symbol_rate() [all …]
|
D | stv0900_sw.c | 63 srate = intp->symbol_rate[demod]; in stv0900_get_sw_loop_params() 520 srate = intp->symbol_rate[d]; in stv0900_get_demod_cold_lock() 583 intp->bw[d] = stv0900_carrier_width(intp->symbol_rate[d], in stv0900_get_demod_cold_lock() 584 intp->rolloff) + intp->symbol_rate[d]; in stv0900_get_demod_cold_lock() 961 (intp->symbol_rate[demod] < 10000000)) { in stv0900_track_optimization() 981 (intp->symbol_rate[demod] < 10000000)) in stv0900_track_optimization() 1206 result->symbol_rate = stv0900_get_symbol_rate(intp, intp->mclk, d); in stv0900_get_signal_params() 1207 srate_offset = stv0900_get_timing_offst(intp, result->symbol_rate, d); in stv0900_get_signal_params() 1208 result->symbol_rate += srate_offset; in stv0900_get_signal_params() 1241 (intp->symbol_rate[d] < 10000000)) { in stv0900_get_signal_params() [all …]
|
D | helene.c | 519 u32 symbol_rate = p->symbol_rate/1000; in helene_set_params_s() local 522 __func__, frequencykHz, symbol_rate); in helene_set_params_s() 604 if (symbol_rate <= 4000) in helene_set_params_s() 606 else if (symbol_rate <= 10000) in helene_set_params_s() 607 data[11] = (uint8_t)((symbol_rate * 47 in helene_set_params_s() 610 data[11] = (uint8_t)((symbol_rate * 27 in helene_set_params_s() 617 if (symbol_rate <= 4000) in helene_set_params_s() 619 else if (symbol_rate <= 10000) in helene_set_params_s() 620 data[11] = (uint8_t)((symbol_rate * 11 in helene_set_params_s() 623 data[11] = (uint8_t)((symbol_rate * 3 in helene_set_params_s()
|
D | stv0288.c | 34 u32 symbol_rate; member 466 stv0288_set_symbolrate(fe, c->symbol_rate); in stv0288_set_frontend() 495 state->symbol_rate = c->symbol_rate; in stv0288_set_frontend() 570 state->symbol_rate = 0; in stv0288_attach()
|
D | gp8psk-fe.c | 170 cmd[0] = c->symbol_rate & 0xff; in gp8psk_fe_set_frontend() 171 cmd[1] = (c->symbol_rate >> 8) & 0xff; in gp8psk_fe_set_frontend() 172 cmd[2] = (c->symbol_rate >> 16) & 0xff; in gp8psk_fe_set_frontend() 173 cmd[3] = (c->symbol_rate >> 24) & 0xff; in gp8psk_fe_set_frontend()
|
D | stv0900_priv.h | 254 u32 symbol_rate;/* Transponder symbol rate (in bds)*/ member 269 u32 symbol_rate;/* Transponder symbol rate (in Mbds) */ member 297 s32 symbol_rate[2]; member
|
D | mt312.c | 552 if ((p->symbol_rate < fe->ops.info.symbol_rate_min) in mt312_set_frontend() 553 || (p->symbol_rate > fe->ops.info.symbol_rate_max)) in mt312_set_frontend() 573 if (p->symbol_rate >= 30000000) { in mt312_set_frontend() 608 sr = DIV_ROUND_CLOSEST(p->symbol_rate * 4, 15625); in mt312_set_frontend() 620 if (p->symbol_rate < 10000000) in mt312_set_frontend() 647 ret = mt312_get_symbol_rate(state, &p->symbol_rate); in mt312_get_frontend()
|
D | stv0900_core.c | 970 if (intp->symbol_rate[0] <= 5000000) { in stv0900_start_search() 983 if (intp->symbol_rate[demod] <= 5000000) in stv0900_start_search() 995 if (intp->symbol_rate[demod] <= 5000000) in stv0900_start_search() 1036 if (intp->symbol_rate[demod] < 2000000) { in stv0900_start_search() 1043 } else if (intp->symbol_rate[demod] < 10000000) { in stv0900_start_search() 1052 if (intp->symbol_rate[demod] < 10000000) in stv0900_start_search() 1576 if (!(INRANGE(100000, c->symbol_rate, 70000000))) in stv0900_search() 1587 p_search.symbol_rate = c->symbol_rate; in stv0900_search() 1598 intp->symbol_rate[demod] = p_search.symbol_rate; in stv0900_search() 1609 p_result.symbol_rate = intp->result[demod].symbol_rate; in stv0900_search() [all …]
|
D | stv6110.c | 146 static u32 carrier_width(u32 symbol_rate, enum fe_rolloff rolloff) in carrier_width() argument 162 return symbol_rate + ((symbol_rate * rlf) / 100); in carrier_width() 339 u32 bandwidth = carrier_width(c->symbol_rate, c->rolloff); in stv6110_set_params()
|
D | m88ds3103.c | 390 big_symbol = (c->symbol_rate > 45010000) ? 1 : 0; in m88ds3103b_select_mclk() 636 c->delivery_system, c->modulation, c->frequency, c->symbol_rate, in m88ds3103_set_frontend() 692 if (c->symbol_rate > 45010000) in m88ds3103_set_frontend() 726 if (c->symbol_rate < 18000000) in m88ds3103_set_frontend() 728 else if (c->symbol_rate < 28000000) in m88ds3103_set_frontend() 804 c->symbol_rate <= 5000000) { in m88ds3103_set_frontend() 823 if (c->symbol_rate > 45010000) { in m88ds3103_set_frontend() 926 if (c->symbol_rate <= 3000000) in m88ds3103_set_frontend() 928 else if (c->symbol_rate <= 10000000) in m88ds3103_set_frontend() 952 u16tmp = DIV_ROUND_CLOSEST_ULL((u64)c->symbol_rate * 0x10000, dev->mclk); in m88ds3103_set_frontend() [all …]
|
D | cx24117.c | 161 u32 symbol_rate; member 428 state->dnxt.symbol_rate = rate; in cx24117_set_symbolrate() 1404 ret = cx24117_set_symbolrate(state, c->symbol_rate); in cx24117_set_frontend() 1426 "%s: symbol_rate = %d\n", __func__, state->dcur.symbol_rate); in cx24117_set_frontend() 1446 cmd.args[5] = ((state->dcur.symbol_rate / 1000) & 0xff00) >> 8; in cx24117_set_frontend() 1447 cmd.args[6] = ((state->dcur.symbol_rate / 1000) & 0x00ff); in cx24117_set_frontend() 1461 if (state->dcur.symbol_rate > 30000000) { in cx24117_set_frontend() 1464 } else if (state->dcur.symbol_rate > 10000000) { in cx24117_set_frontend() 1606 c->symbol_rate = -1000 * srate_os + state->dcur.symbol_rate; in cx24117_get_frontend()
|
D | ves1820.c | 216 ves1820_set_symbolrate(state, p->symbol_rate); in ves1820_set_parameters() 315 "ves1820: [AFC (%d) %dHz]\n", afc, -((s32) p->symbol_rate * afc) >> 10); in ves1820_get_frontend() 330 p->frequency -= ((s32) p->symbol_rate * afc) >> 10; in ves1820_get_frontend()
|
D | cx24123.c | 524 if ((agcv->symbolrate_low <= p->symbol_rate) && in cx24123_pll_calculate() 525 (agcv->symbolrate_high >= p->symbol_rate)) { in cx24123_pll_calculate() 911 state->currentsymbolrate = p->symbol_rate; in cx24123_set_frontend() 915 cx24123_set_symbolrate(state, p->symbol_rate); in cx24123_set_frontend() 951 p->symbol_rate = state->currentsymbolrate; in cx24123_get_frontend()
|
/Linux-v6.1/drivers/media/pci/ddbridge/ |
D | ddbridge-sx8.c | 187 if (p->symbol_rate >= (MCLK / 2)) in start() 209 if (p->symbol_rate >= MCLK / 2) { in start() 231 while (p->symbol_rate * bits_per_symbol > free_ldpc_bitrate) in start() 244 i = (p->symbol_rate > (MCLK / 2)) ? 3 : 7; in start() 254 sx8_base->used_ldpc_bitrate[state->mci.nr] = p->symbol_rate in start() 284 cmd.dvbs2_search.symbol_rate = p->symbol_rate; in start() 339 cmd.sx8_start_iq.symbol_rate = p->symbol_rate; in start_iq()
|
D | ddbridge-mci.h | 124 u32 symbol_rate; member 147 u32 symbol_rate; /* Only in VTM mode */ member 183 u32 symbol_rate; member
|
/Linux-v6.1/drivers/media/pci/bt8xx/ |
D | dst.c | 431 state->symbol_rate = srate; in dst_set_symbolrate() 1594 dst_set_symbolrate(state, p->symbol_rate); in dst_set_frontend() 1596 dprintk(3, "Set Symbolrate=[%d]\n", p->symbol_rate); in dst_set_frontend() 1602 dst_set_symbolrate(state, p->symbol_rate); in dst_set_frontend() 1628 dst_set_symbolrate(state, p->symbol_rate); in dst_tune_frontend() 1630 dprintk(3, "Set Symbolrate=[%d]\n", p->symbol_rate); in dst_tune_frontend() 1636 dst_set_symbolrate(state, p->symbol_rate); in dst_tune_frontend() 1663 p->symbol_rate = state->symbol_rate; in dst_get_frontend() 1668 p->symbol_rate = state->symbol_rate; in dst_get_frontend()
|
/Linux-v6.1/drivers/media/dvb-core/ |
D | dvb_frontend.c | 983 c->symbol_rate < fe->ops.info.symbol_rate_min) || in dvb_frontend_check_parameters() 985 c->symbol_rate > fe->ops.info.symbol_rate_max)) { in dvb_frontend_check_parameters() 987 fe->dvb->num, fe->id, c->symbol_rate, in dvb_frontend_check_parameters() 1017 c->symbol_rate = 0; in dvb_frontend_clear_cache() 1053 c->symbol_rate = 28860000; in dvb_frontend_clear_cache() 1055 c->bandwidth_hz = c->symbol_rate / 100 * 135; in dvb_frontend_clear_cache() 1172 c->symbol_rate = p->u.qpsk.symbol_rate; in dtv_property_cache_sync() 1177 c->symbol_rate = p->u.qam.symbol_rate; in dtv_property_cache_sync() 1253 p->u.qpsk.symbol_rate = c->symbol_rate; in dtv_property_legacy_params_sync() 1258 p->u.qam.symbol_rate = c->symbol_rate; in dtv_property_legacy_params_sync() [all …]
|
/Linux-v6.1/Documentation/userspace-api/media/dvb/ |
D | dvb-frontend-parameters.rst | 64 uint32_t symbol_rate; /* symbol rate in Symbols per second */ 80 uint32_t symbol_rate; /* symbol rate in Symbols per second */
|