• Home
  • Raw
  • Download

Lines Matching refs:demod

30 s32 shiftx(s32 x, int demod, s32 shift)  in shiftx()  argument
32 if (demod == 1) in shiftx()
39 enum fe_stv0900_demod_num demod) in stv0900_check_signal_presence() argument
52 max_carrier = intp->srch_range[demod] / 1000; in stv0900_check_signal_presence()
71 enum fe_stv0900_demod_num demod) in stv0900_get_sw_loop_params() argument
77 srate = intp->symbol_rate[demod]; in stv0900_get_sw_loop_params()
78 max_carrier = intp->srch_range[demod] / 1000; in stv0900_get_sw_loop_params()
80 standard = intp->srch_standard[demod]; in stv0900_get_sw_loop_params()
137 s32 MaxStep, enum fe_stv0900_demod_num demod) in stv0900_search_carr_sw_loop() argument
145 max_carrier = intp->srch_range[demod] / 1000; in stv0900_search_carr_sw_loop()
182 lock = stv0900_get_demod_lock(intp, demod, Timeout); in stv0900_search_carr_sw_loop()
183 no_signal = stv0900_check_signal_presence(intp, demod); in stv0900_search_carr_sw_loop()
197 enum fe_stv0900_demod_num demod) in stv0900_sw_algo() argument
209 &max_steps, demod); in stv0900_sw_algo()
210 switch (intp->srch_standard[demod]) { in stv0900_sw_algo()
253 demod); in stv0900_sw_algo()
254 no_signal = stv0900_check_signal_presence(intp, demod); in stv0900_sw_algo()
310 enum fe_stv0900_demod_num demod) in stv0900_get_symbol_rate() argument
338 enum fe_stv0900_demod_num demod) in stv0900_set_symbol_rate() argument
343 srate, demod); in stv0900_set_symbol_rate()
362 enum fe_stv0900_demod_num demod) in stv0900_set_max_symbol_rate() argument
390 enum fe_stv0900_demod_num demod) in stv0900_set_min_symbol_rate() argument
414 enum fe_stv0900_demod_num demod) in stv0900_get_timing_offst() argument
436 enum fe_stv0900_demod_num demod) in stv0900_set_dvbs2_rolloff() argument
471 enum fe_stv0900_demod_num demod) in stv0900_check_timing_lock() argument
520 enum fe_stv0900_demod_num demod = state->demod; in stv0900_get_demod_cold_lock() local
522 d = demod; in stv0900_get_demod_cold_lock()
611 intp->bw[d], demod); in stv0900_get_demod_cold_lock()
687 enum fe_stv0900_demod_num demod) in stv0900_set_viterbi_tracq() argument
705 enum fe_stv0900_demod_num demod) in stv0900_set_viterbi_standard() argument
766 enum fe_stv0900_demod_num demod) in stv0900_get_vit_fec() argument
799 enum fe_stv0900_demod_num demod, in stv0900_set_dvbs1_track_car_loop() argument
825 enum fe_stv0900_demod_num demod = state->demod; in stv0900_track_optimization() local
842 srate = stv0900_get_symbol_rate(intp, intp->mclk, demod); in stv0900_track_optimization()
843 srate += stv0900_get_timing_offst(intp, srate, demod); in stv0900_track_optimization()
845 switch (intp->result[demod].standard) { in stv0900_track_optimization()
849 if (intp->srch_standard[demod] == STV0900_AUTO_SEARCH) { in stv0900_track_optimization()
862 if (stv0900_get_vit_fec(intp, demod) == STV0900_FEC_1_2) { in stv0900_track_optimization()
878 if (intp->result[demod].frame_len == STV0900_LONG_FRAME) { in stv0900_track_optimization()
906 modulation = intp->result[demod].modulation; in stv0900_track_optimization()
926 stv0900_activate_s2_modcod(intp, demod); in stv0900_track_optimization()
942 if (intp->srch_algo[demod] == STV0900_BLIND_SEARCH) { in stv0900_track_optimization()
947 stv0900_set_symbol_rate(intp, intp->mclk, srate, demod); in stv0900_track_optimization()
949 if (intp->result[demod].standard != STV0900_DVBS2_STANDARD) in stv0900_track_optimization()
950 stv0900_set_dvbs1_track_car_loop(intp, demod, srate); in stv0900_track_optimization()
955 if ((intp->srch_standard[demod] == STV0900_SEARCH_DVBS1) || in stv0900_track_optimization()
956 (intp->srch_standard[demod] == in stv0900_track_optimization()
958 (intp->srch_standard[demod] == in stv0900_track_optimization()
975 (intp->symbol_rate[demod] < 10000000)) { in stv0900_track_optimization()
978 intp->bw[demod] = stv0900_carrier_width(srate, in stv0900_track_optimization()
982 if (intp->srch_algo[demod] != STV0900_WARM_START) { in stv0900_track_optimization()
983 if (intp->tuner_type[demod] == 3) in stv0900_track_optimization()
985 intp->freq[demod], in stv0900_track_optimization()
986 intp->bw[demod], in stv0900_track_optimization()
987 demod); in stv0900_track_optimization()
990 intp->bw[demod]); in stv0900_track_optimization()
994 if ((intp->srch_algo[demod] == STV0900_BLIND_SEARCH) || in stv0900_track_optimization()
995 (intp->symbol_rate[demod] < 10000000)) in stv0900_track_optimization()
1003 if (stv0900_get_demod_lock(intp, demod, timed / 2) == FALSE) { in stv0900_track_optimization()
1010 demod, in stv0900_track_optimization()
1026 if ((intp->result[demod].standard == STV0900_DVBS1_STANDARD) || in stv0900_track_optimization()
1027 (intp->result[demod].standard == STV0900_DSS_STANDARD)) in stv0900_track_optimization()
1028 stv0900_set_viterbi_tracq(intp, demod); in stv0900_track_optimization()
1033 enum fe_stv0900_demod_num demod, s32 time_out) in stv0900_get_fec_lock() argument
1073 enum fe_stv0900_demod_num demod, in stv0900_wait_for_lock() argument
1081 lock = stv0900_get_demod_lock(intp, demod, dmd_timeout); in stv0900_wait_for_lock()
1084 lock = stv0900_get_fec_lock(intp, demod, fec_timeout); in stv0900_wait_for_lock()
1111 enum fe_stv0900_demod_num demod) in stv0900_get_standard() argument
1140 enum fe_stv0900_demod_num demod) in stv0900_get_carr_freq() argument
1189 enum fe_stv0900_demod_num demod = state->demod; in stv0900_get_signal_params() local
1191 struct stv0900_signal_info *result = &intp->result[demod]; in stv0900_get_signal_params()
1195 d = demod; in stv0900_get_signal_params()
1213 if (intp->tuner_type[demod] == 3) in stv0900_get_signal_params()
1257 if (intp->tuner_type[demod] == 3) in stv0900_get_signal_params()
1282 enum fe_stv0900_demod_num demod = state->demod; in stv0900_dvbs1_acq_workaround() local
1291 intp->result[demod].locked = FALSE; in stv0900_dvbs1_acq_workaround()
1294 srate = stv0900_get_symbol_rate(intp, intp->mclk, demod); in stv0900_dvbs1_acq_workaround()
1295 srate += stv0900_get_timing_offst(intp, srate, demod); in stv0900_dvbs1_acq_workaround()
1296 if (intp->srch_algo[demod] == STV0900_BLIND_SEARCH) in stv0900_dvbs1_acq_workaround()
1297 stv0900_set_symbol_rate(intp, intp->mclk, srate, demod); in stv0900_dvbs1_acq_workaround()
1310 if (stv0900_wait_for_lock(intp, demod, in stv0900_dvbs1_acq_workaround()
1312 intp->result[demod].locked = TRUE; in stv0900_dvbs1_acq_workaround()
1322 if (stv0900_wait_for_lock(intp, demod, in stv0900_dvbs1_acq_workaround()
1324 intp->result[demod].locked = TRUE; in stv0900_dvbs1_acq_workaround()
1332 intp->result[demod].locked = FALSE; in stv0900_dvbs1_acq_workaround()
1338 enum fe_stv0900_demod_num demod) in stv0900_blind_check_agc2_min_level() argument
1357 stv0900_set_symbol_rate(intp, intp->mclk, 1000000, demod); in stv0900_blind_check_agc2_min_level()
1358 nb_steps = -1 + (intp->srch_range[demod] / 1000000); in stv0900_blind_check_agc2_min_level()
1403 enum fe_stv0900_demod_num demod = state->demod; in stv0900_search_srate_coarse() local
1444 if (intp->symbol_rate[demod] <= 2000000) in stv0900_search_srate_coarse()
1446 else if (intp->symbol_rate[demod] <= 5000000) in stv0900_search_srate_coarse()
1448 else if (intp->symbol_rate[demod] <= 12000000) in stv0900_search_srate_coarse()
1453 nb_steps = -1 + ((intp->srch_range[demod] / 1000) / currier_step); in stv0900_search_srate_coarse()
1461 currier_step = (intp->srch_range[demod] / 1000) / 10; in stv0900_search_srate_coarse()
1467 tuner_freq = intp->freq[demod]; in stv0900_search_srate_coarse()
1484 coarse_srate = stv0900_get_symbol_rate(intp, intp->mclk, demod); in stv0900_search_srate_coarse()
1503 if (intp->tuner_type[demod] == 3) in stv0900_search_srate_coarse()
1505 intp->bw[demod], demod); in stv0900_search_srate_coarse()
1508 intp->bw[demod]); in stv0900_search_srate_coarse()
1515 coarse_srate = stv0900_get_symbol_rate(intp, intp->mclk, demod); in stv0900_search_srate_coarse()
1524 enum fe_stv0900_demod_num demod = state->demod; in stv0900_search_srate_fine() local
1532 coarse_srate = stv0900_get_symbol_rate(intp, intp->mclk, demod); in stv0900_search_srate_fine()
1562 if (symbcomp < intp->symbol_rate[demod]) in stv0900_search_srate_fine()
1602 enum fe_stv0900_demod_num demod = state->demod; in stv0900_blind_search_algo() local
1633 agc2_int = stv0900_blind_check_agc2_min_level(intp, demod); in stv0900_blind_search_algo()
1674 demod, in stv0900_blind_search_algo()
1710 enum fe_stv0900_demod_num demod) in stv0900_set_viterbi_acq() argument
1725 enum fe_stv0900_demod_num demod) in stv0900_set_search_standard() argument
1730 switch (intp->srch_standard[demod]) { in stv0900_set_search_standard()
1746 switch (intp->srch_standard[demod]) { in stv0900_set_search_standard()
1753 demod, in stv0900_set_search_standard()
1754 intp->symbol_rate[demod]); in stv0900_set_search_standard()
1757 stv0900_set_viterbi_acq(intp, demod); in stv0900_set_search_standard()
1759 intp->srch_standard[demod], in stv0900_set_search_standard()
1760 intp->fec[demod], demod); in stv0900_set_search_standard()
1776 stv0900_stop_all_s2_modcod(intp, demod); in stv0900_set_search_standard()
1778 stv0900_activate_s2_modcod(intp, demod); in stv0900_set_search_standard()
1781 stv0900_activate_s2_modcod_single(intp, demod); in stv0900_set_search_standard()
1783 stv0900_set_viterbi_tracq(intp, demod); in stv0900_set_search_standard()
1794 demod, in stv0900_set_search_standard()
1795 intp->symbol_rate[demod]); in stv0900_set_search_standard()
1803 stv0900_stop_all_s2_modcod(intp, demod); in stv0900_set_search_standard()
1805 stv0900_activate_s2_modcod(intp, demod); in stv0900_set_search_standard()
1808 stv0900_activate_s2_modcod_single(intp, demod); in stv0900_set_search_standard()
1810 stv0900_set_viterbi_tracq(intp, demod); in stv0900_set_search_standard()
1812 intp->srch_standard[demod], in stv0900_set_search_standard()
1813 intp->fec[demod], demod); in stv0900_set_search_standard()
1823 enum fe_stv0900_demod_num demod = state->demod; in stv0900_algo() local
1836 algo = intp->srch_algo[demod]; in stv0900_algo()
1840 if (intp->symbol_rate[demod] > 5000000) in stv0900_algo()
1848 intp->symbol_rate[demod], in stv0900_algo()
1849 intp->srch_algo[demod]); in stv0900_algo()
1851 if (intp->srch_algo[demod] == STV0900_BLIND_SEARCH) { in stv0900_algo()
1852 intp->bw[demod] = 2 * 36000000; in stv0900_algo()
1857 stv0900_set_symbol_rate(intp, intp->mclk, 1000000, demod); in stv0900_algo()
1862 if (intp->symbol_rate[demod] < 2000000) in stv0900_algo()
1869 intp->bw[demod] = in stv0900_algo()
1870 stv0900_carrier_width(intp->symbol_rate[demod], in stv0900_algo()
1875 if (intp->srch_algo[demod] == STV0900_COLD_START) { in stv0900_algo()
1876 intp->bw[demod] += 10000000; in stv0900_algo()
1877 intp->bw[demod] *= 15; in stv0900_algo()
1878 intp->bw[demod] /= 10; in stv0900_algo()
1879 } else if (intp->srch_algo[demod] == STV0900_WARM_START) in stv0900_algo()
1880 intp->bw[demod] += 10000000; in stv0900_algo()
1884 intp->bw[demod] += 10000000; in stv0900_algo()
1885 intp->bw[demod] *= 15; in stv0900_algo()
1886 intp->bw[demod] /= 10; in stv0900_algo()
1892 intp->symbol_rate[demod], demod); in stv0900_algo()
1894 intp->symbol_rate[demod], demod); in stv0900_algo()
1896 intp->symbol_rate[demod], demod); in stv0900_algo()
1897 if (intp->symbol_rate[demod] >= 10000000) in stv0900_algo()
1904 if (intp->tuner_type[demod] == 3) in stv0900_algo()
1905 stv0900_set_tuner_auto(intp, intp->freq[demod], in stv0900_algo()
1906 intp->bw[demod], demod); in stv0900_algo()
1908 stv0900_set_tuner(fe, intp->freq[demod], intp->bw[demod]); in stv0900_algo()
1924 intp->result[demod].locked = FALSE; in stv0900_algo()
1929 intp->srch_iq_inv[demod]); in stv0900_algo()
1935 stv0900_set_search_standard(intp, demod); in stv0900_algo()
1937 if (intp->srch_algo[demod] != STV0900_BLIND_SEARCH) in stv0900_algo()
1938 stv0900_start_search(intp, demod); in stv0900_algo()
1956 lock = stv0900_get_demod_lock(intp, demod, demod_timeout); in stv0900_algo()
1960 if (stv0900_check_timing_lock(intp, demod) == TRUE) in stv0900_algo()
1961 lock = stv0900_sw_algo(intp, demod); in stv0900_algo()
1991 if (stv0900_wait_for_lock(intp, demod, in stv0900_algo()
1994 intp->result[demod].locked = TRUE; in stv0900_algo()
1995 if (intp->result[demod].standard == in stv0900_algo()
1997 stv0900_set_dvbs2_rolloff(intp, demod); in stv0900_algo()
2010 no_signal = stv0900_check_signal_presence(intp, demod); in stv0900_algo()
2012 intp->result[demod].locked = FALSE; in stv0900_algo()
2020 intp->result[demod].locked = FALSE; in stv0900_algo()
2025 (intp->srch_iq_inv[demod] <= STV0900_IQ_AUTO_NORMAL_FIRST)) in stv0900_algo()