Home
last modified time | relevance | path

Searched refs:symbol_rate (Results 1 – 25 of 70) sorted by relevance

123

/openbmc/linux/drivers/media/dvb-frontends/
H A Dtda10086.c29 u32 symbol_rate; member
295 u32 symbol_rate = fe_params->symbol_rate; in tda10086_set_symbol_rate() local
300 if (symbol_rate < SACLK / 10000 * 137) { in tda10086_set_symbol_rate()
343 tmp = (1<<dfn)*(symbol_rate/1000); in tda10086_set_symbol_rate()
444 state->symbol_rate = fe_params->symbol_rate; in tda10086_set_frontend()
460 if (fe_params->symbol_rate < 500000) in tda10086_get_frontend()
509 fe_params->symbol_rate = state->symbol_rate + tmp; in tda10086_get_frontend()
660 if (p->symbol_rate > 20000000) { in tda10086_get_tune_settings()
668 } else if (p->symbol_rate > 8000000) { in tda10086_get_tune_settings()
672 } else if (p->symbol_rate > 4000000) { in tda10086_get_tune_settings()
[all …]
H A Dhorus3a.c170 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 Ds5h1420.c42 u32 symbol_rate; member
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()
684 if (p->symbol_rate > 29000000) in s5h1420_set_frontend()
697 if (p->symbol_rate > 20000000) in s5h1420_set_frontend()
703 if (p->symbol_rate >= 8000000) in s5h1420_set_frontend()
737 state->symbol_rate = p->symbol_rate; in s5h1420_set_frontend()
762 if (p->symbol_rate > 20000000) { in s5h1420_get_tune_settings()
[all …]
H A Dm88rs2000.c31 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 Dds3000.c928 if (c->symbol_rate >= 30000000) 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()
975 value = 129032 / (c->symbol_rate / 1000) + 1; in ds3000_set_frontend()
[all …]
H A Ditd1000.c96 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 Dstv0299.c52 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 Dstv0910.c101 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
493 symbol_rate = (u32)(((u64)symbol_rate * state->base->mclk) >> 32); in get_cur_symbol_rate()
1016 if (p->symbol_rate < 100000 || p->symbol_rate > 70000000) in start()
1097 if (p->symbol_rate <= 5000000) in start()
1285 state->symbol_rate = p->symbol_rate; in set_parameters()
[all …]
H A Dstv0900_sw.c63 srate = intp->symbol_rate[demod]; in stv0900_get_sw_loop_params()
520 srate = intp->symbol_rate[d]; in stv0900_get_demod_cold_lock()
584 intp->rolloff) + intp->symbol_rate[d]; in stv0900_get_demod_cold_lock()
1208 result->symbol_rate += srate_offset; in stv0900_get_signal_params()
1241 (intp->symbol_rate[d] < 10000000)) { in stv0900_get_signal_params()
1739 intp->symbol_rate[demod]); in stv0900_set_search_standard()
1780 intp->symbol_rate[demod]); in stv0900_set_search_standard()
1833 intp->symbol_rate[demod], in stv0900_algo()
1877 intp->symbol_rate[demod], demod); in stv0900_algo()
1879 intp->symbol_rate[demod], demod); in stv0900_algo()
[all …]
H A Dhelene.c519 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 Dstv0288.c34 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 Dgp8psk-fe.c170 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 Dstv0900_priv.h254 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 Dmt312.c552 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 Dstv6110.c146 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 Dstv0900_core.c970 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 Dm88ds3103.c390 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 …]
H A Dcx24117.c161 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 Dves1820.c216 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 Dcx24123.c524 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()
/openbmc/linux/drivers/media/pci/ddbridge/
H A Dddbridge-sx8.c187 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 Dddbridge-mci.h124 u32 symbol_rate; member
147 u32 symbol_rate; /* Only in VTM mode */ member
183 u32 symbol_rate; member
/openbmc/linux/drivers/media/pci/bt8xx/
H A Ddst.c431 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()
/openbmc/linux/drivers/media/dvb-core/
H A Ddvb_frontend.c998 fe->dvb->num, fe->id, c->symbol_rate, in dvb_frontend_check_parameters()
1028 c->symbol_rate = 0; in dvb_frontend_clear_cache()
1068 c->symbol_rate = 28860000; in dvb_frontend_clear_cache()
1187 c->symbol_rate = p->u.qpsk.symbol_rate; in dtv_property_cache_sync()
1192 c->symbol_rate = p->u.qam.symbol_rate; in dtv_property_cache_sync()
1268 p->u.qpsk.symbol_rate = c->symbol_rate; in dtv_property_legacy_params_sync()
1273 p->u.qam.symbol_rate = c->symbol_rate; in dtv_property_legacy_params_sync()
1380 tvp->u.data = c->symbol_rate; in dtv_property_process_get()
1847 fepriv->step_size = c->symbol_rate / 16000; in prepare_tuning_algo_parameters()
1848 fepriv->max_drift = c->symbol_rate / 2000; in prepare_tuning_algo_parameters()
[all …]
/openbmc/linux/Documentation/userspace-api/media/dvb/
H A Ddvb-frontend-parameters.rst64 uint32_t symbol_rate; /* symbol rate in Symbols per second */
80 uint32_t symbol_rate; /* symbol rate in Symbols per second */

123