/linux/drivers/media/dvb-frontends/ |
H A 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 …]
|
H A 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 …]
|
H A 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()
|
H A 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()
|
H A 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 …]
|
H A 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()
|
H A 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()
|
H A D | stv0910.c | 101 u32 symbol_rate; member 438 if (state->symbol_rate <= 3000000) in get_optim_cloop() 440 else if (state->symbol_rate <= 7000000) in get_optim_cloop() 442 else if (state->symbol_rate <= 15000000) in get_optim_cloop() 444 else if (state->symbol_rate <= 25000000) in get_optim_cloop() 465 u32 symbol_rate; in get_cur_symbol_rate() local 480 symbol_rate = ((u32)symb_freq3 << 24) | ((u32)symb_freq2 << 16) | in get_cur_symbol_rate() 488 symbol_rate = (u32)(((u64)symbol_rate * state->base->mclk) >> 32); in get_cur_symbol_rate() 489 timing_offset = (s32)(((s64)symbol_rate * (s64)timing_offset) >> 29); in get_cur_symbol_rate() 491 *p_symbol_rate = symbol_rate + timing_offset; in get_cur_symbol_rate() [all …]
|
H A 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 …]
|
H A 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()
|
H A D | stv0288.c | 34 u32 symbol_rate; member 465 stv0288_set_symbolrate(fe, c->symbol_rate); in stv0288_set_frontend() 494 state->symbol_rate = c->symbol_rate; in stv0288_set_frontend() 569 state->symbol_rate = 0; in stv0288_attach()
|
H A 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()
|
H A 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()
|
H A 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
|
H A 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 …]
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | cx24116.c | 150 u32 symbol_rate; member 454 state->dnxt.symbol_rate = rate; in cx24116_set_symbolrate() 1309 ret = cx24116_set_symbolrate(state, c->symbol_rate); in cx24116_set_frontend() 1324 dprintk("%s: symbol_rate = %d\n", __func__, state->dcur.symbol_rate); in cx24116_set_frontend() 1351 cmd.args[0x04] = ((state->dcur.symbol_rate / 1000) & 0xff00) >> 8; in cx24116_set_frontend() 1352 cmd.args[0x05] = ((state->dcur.symbol_rate / 1000) & 0x00ff); in cx24116_set_frontend() 1367 if (state->dcur.symbol_rate > 30000000) { in cx24116_set_frontend()
|
/linux/drivers/media/pci/ddbridge/ |
H A 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()
|
H A D | ddbridge-mci.h | 124 u32 symbol_rate; member 147 u32 symbol_rate; /* Only in VTM mode */ member 183 u32 symbol_rate; member
|
/linux/drivers/media/dvb-core/ |
H A D | dvb_frontend.c | 989 c->symbol_rate < fe->ops.info.symbol_rate_min) || in dvb_frontend_check_parameters() 991 c->symbol_rate > fe->ops.info.symbol_rate_max)) { in dvb_frontend_check_parameters() 993 fe->dvb->num, fe->id, c->symbol_rate, in dvb_frontend_check_parameters() 1023 c->symbol_rate = 0; in dvb_frontend_clear_cache() 1063 c->symbol_rate = 28860000; in dvb_frontend_clear_cache() 1065 c->bandwidth_hz = c->symbol_rate / 100 * 135; in dvb_frontend_clear_cache() 1182 c->symbol_rate = p->u.qpsk.symbol_rate; in dtv_property_cache_sync() 1187 c->symbol_rate = p->u.qam.symbol_rate; in dtv_property_cache_sync() 1263 p->u.qpsk.symbol_rate = c->symbol_rate; in dtv_property_legacy_params_sync() 1268 p->u.qam.symbol_rate = c->symbol_rate; in dtv_property_legacy_params_sync() [all …]
|
/linux/drivers/media/pci/bt8xx/ |
H A 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/Documentation/userspace-api/media/dvb/ |
H A 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 */
|