• Home
  • Raw
  • Download

Lines Matching refs:demod

16 s32 shiftx(s32 x, int demod, s32 shift)  in shiftx()  argument
18 if (demod == 1) in shiftx()
25 enum fe_stv0900_demod_num demod) in stv0900_check_signal_presence() argument
38 max_carrier = intp->srch_range[demod] / 1000; in stv0900_check_signal_presence()
57 enum fe_stv0900_demod_num demod) in stv0900_get_sw_loop_params() argument
63 srate = intp->symbol_rate[demod]; in stv0900_get_sw_loop_params()
64 max_carrier = intp->srch_range[demod] / 1000; in stv0900_get_sw_loop_params()
66 standard = intp->srch_standard[demod]; in stv0900_get_sw_loop_params()
123 s32 MaxStep, enum fe_stv0900_demod_num demod) in stv0900_search_carr_sw_loop() argument
131 max_carrier = intp->srch_range[demod] / 1000; in stv0900_search_carr_sw_loop()
168 lock = stv0900_get_demod_lock(intp, demod, Timeout); in stv0900_search_carr_sw_loop()
169 no_signal = stv0900_check_signal_presence(intp, demod); in stv0900_search_carr_sw_loop()
183 enum fe_stv0900_demod_num demod) in stv0900_sw_algo() argument
195 &max_steps, demod); in stv0900_sw_algo()
196 switch (intp->srch_standard[demod]) { in stv0900_sw_algo()
239 demod); in stv0900_sw_algo()
240 no_signal = stv0900_check_signal_presence(intp, demod); in stv0900_sw_algo()
296 enum fe_stv0900_demod_num demod) in stv0900_get_symbol_rate() argument
324 enum fe_stv0900_demod_num demod) in stv0900_set_symbol_rate() argument
329 srate, demod); in stv0900_set_symbol_rate()
348 enum fe_stv0900_demod_num demod) in stv0900_set_max_symbol_rate() argument
376 enum fe_stv0900_demod_num demod) in stv0900_set_min_symbol_rate() argument
400 enum fe_stv0900_demod_num demod) in stv0900_get_timing_offst() argument
422 enum fe_stv0900_demod_num demod) in stv0900_set_dvbs2_rolloff() argument
457 enum fe_stv0900_demod_num demod) in stv0900_check_timing_lock() argument
506 enum fe_stv0900_demod_num demod = state->demod; in stv0900_get_demod_cold_lock() local
508 d = demod; in stv0900_get_demod_cold_lock()
597 intp->bw[d], demod); in stv0900_get_demod_cold_lock()
673 enum fe_stv0900_demod_num demod) in stv0900_set_viterbi_tracq() argument
691 enum fe_stv0900_demod_num demod) in stv0900_set_viterbi_standard() argument
752 enum fe_stv0900_demod_num demod) in stv0900_get_vit_fec() argument
785 enum fe_stv0900_demod_num demod, in stv0900_set_dvbs1_track_car_loop() argument
811 enum fe_stv0900_demod_num demod = state->demod; in stv0900_track_optimization() local
828 srate = stv0900_get_symbol_rate(intp, intp->mclk, demod); in stv0900_track_optimization()
829 srate += stv0900_get_timing_offst(intp, srate, demod); in stv0900_track_optimization()
831 switch (intp->result[demod].standard) { in stv0900_track_optimization()
835 if (intp->srch_standard[demod] == STV0900_AUTO_SEARCH) { in stv0900_track_optimization()
848 if (stv0900_get_vit_fec(intp, demod) == STV0900_FEC_1_2) { in stv0900_track_optimization()
864 if (intp->result[demod].frame_len == STV0900_LONG_FRAME) { in stv0900_track_optimization()
892 modulation = intp->result[demod].modulation; in stv0900_track_optimization()
912 stv0900_activate_s2_modcod(intp, demod); in stv0900_track_optimization()
928 if (intp->srch_algo[demod] == STV0900_BLIND_SEARCH) { in stv0900_track_optimization()
933 stv0900_set_symbol_rate(intp, intp->mclk, srate, demod); in stv0900_track_optimization()
935 if (intp->result[demod].standard != STV0900_DVBS2_STANDARD) in stv0900_track_optimization()
936 stv0900_set_dvbs1_track_car_loop(intp, demod, srate); in stv0900_track_optimization()
941 if ((intp->srch_standard[demod] == STV0900_SEARCH_DVBS1) || in stv0900_track_optimization()
942 (intp->srch_standard[demod] == in stv0900_track_optimization()
944 (intp->srch_standard[demod] == in stv0900_track_optimization()
961 (intp->symbol_rate[demod] < 10000000)) { in stv0900_track_optimization()
964 intp->bw[demod] = stv0900_carrier_width(srate, in stv0900_track_optimization()
968 if (intp->srch_algo[demod] != STV0900_WARM_START) { in stv0900_track_optimization()
969 if (intp->tuner_type[demod] == 3) in stv0900_track_optimization()
971 intp->freq[demod], in stv0900_track_optimization()
972 intp->bw[demod], in stv0900_track_optimization()
973 demod); in stv0900_track_optimization()
976 intp->bw[demod]); in stv0900_track_optimization()
980 if ((intp->srch_algo[demod] == STV0900_BLIND_SEARCH) || in stv0900_track_optimization()
981 (intp->symbol_rate[demod] < 10000000)) in stv0900_track_optimization()
989 if (stv0900_get_demod_lock(intp, demod, timed / 2) == FALSE) { in stv0900_track_optimization()
996 demod, in stv0900_track_optimization()
1012 if ((intp->result[demod].standard == STV0900_DVBS1_STANDARD) || in stv0900_track_optimization()
1013 (intp->result[demod].standard == STV0900_DSS_STANDARD)) in stv0900_track_optimization()
1014 stv0900_set_viterbi_tracq(intp, demod); in stv0900_track_optimization()
1019 enum fe_stv0900_demod_num demod, s32 time_out) in stv0900_get_fec_lock() argument
1059 enum fe_stv0900_demod_num demod, in stv0900_wait_for_lock() argument
1067 lock = stv0900_get_demod_lock(intp, demod, dmd_timeout); in stv0900_wait_for_lock()
1070 lock = stv0900_get_fec_lock(intp, demod, fec_timeout); in stv0900_wait_for_lock()
1097 enum fe_stv0900_demod_num demod) in stv0900_get_standard() argument
1126 enum fe_stv0900_demod_num demod) in stv0900_get_carr_freq() argument
1175 enum fe_stv0900_demod_num demod = state->demod; in stv0900_get_signal_params() local
1177 struct stv0900_signal_info *result = &intp->result[demod]; in stv0900_get_signal_params()
1181 d = demod; in stv0900_get_signal_params()
1199 if (intp->tuner_type[demod] == 3) in stv0900_get_signal_params()
1243 if (intp->tuner_type[demod] == 3) in stv0900_get_signal_params()
1268 enum fe_stv0900_demod_num demod = state->demod; in stv0900_dvbs1_acq_workaround() local
1277 intp->result[demod].locked = FALSE; in stv0900_dvbs1_acq_workaround()
1280 srate = stv0900_get_symbol_rate(intp, intp->mclk, demod); in stv0900_dvbs1_acq_workaround()
1281 srate += stv0900_get_timing_offst(intp, srate, demod); in stv0900_dvbs1_acq_workaround()
1282 if (intp->srch_algo[demod] == STV0900_BLIND_SEARCH) in stv0900_dvbs1_acq_workaround()
1283 stv0900_set_symbol_rate(intp, intp->mclk, srate, demod); in stv0900_dvbs1_acq_workaround()
1296 if (stv0900_wait_for_lock(intp, demod, in stv0900_dvbs1_acq_workaround()
1298 intp->result[demod].locked = TRUE; in stv0900_dvbs1_acq_workaround()
1308 if (stv0900_wait_for_lock(intp, demod, in stv0900_dvbs1_acq_workaround()
1310 intp->result[demod].locked = TRUE; in stv0900_dvbs1_acq_workaround()
1318 intp->result[demod].locked = FALSE; in stv0900_dvbs1_acq_workaround()
1324 enum fe_stv0900_demod_num demod) in stv0900_blind_check_agc2_min_level() argument
1343 stv0900_set_symbol_rate(intp, intp->mclk, 1000000, demod); in stv0900_blind_check_agc2_min_level()
1344 nb_steps = -1 + (intp->srch_range[demod] / 1000000); in stv0900_blind_check_agc2_min_level()
1389 enum fe_stv0900_demod_num demod = state->demod; in stv0900_search_srate_coarse() local
1430 if (intp->symbol_rate[demod] <= 2000000) in stv0900_search_srate_coarse()
1432 else if (intp->symbol_rate[demod] <= 5000000) in stv0900_search_srate_coarse()
1434 else if (intp->symbol_rate[demod] <= 12000000) in stv0900_search_srate_coarse()
1439 nb_steps = -1 + ((intp->srch_range[demod] / 1000) / currier_step); in stv0900_search_srate_coarse()
1447 currier_step = (intp->srch_range[demod] / 1000) / 10; in stv0900_search_srate_coarse()
1453 tuner_freq = intp->freq[demod]; in stv0900_search_srate_coarse()
1470 coarse_srate = stv0900_get_symbol_rate(intp, intp->mclk, demod); in stv0900_search_srate_coarse()
1488 if (intp->tuner_type[demod] == 3) in stv0900_search_srate_coarse()
1490 intp->bw[demod], demod); in stv0900_search_srate_coarse()
1493 intp->bw[demod]); in stv0900_search_srate_coarse()
1500 coarse_srate = stv0900_get_symbol_rate(intp, intp->mclk, demod); in stv0900_search_srate_coarse()
1509 enum fe_stv0900_demod_num demod = state->demod; in stv0900_search_srate_fine() local
1517 coarse_srate = stv0900_get_symbol_rate(intp, intp->mclk, demod); in stv0900_search_srate_fine()
1547 if (symbcomp < intp->symbol_rate[demod]) in stv0900_search_srate_fine()
1587 enum fe_stv0900_demod_num demod = state->demod; in stv0900_blind_search_algo() local
1618 agc2_int = stv0900_blind_check_agc2_min_level(intp, demod); in stv0900_blind_search_algo()
1659 demod, in stv0900_blind_search_algo()
1695 enum fe_stv0900_demod_num demod) in stv0900_set_viterbi_acq() argument
1710 enum fe_stv0900_demod_num demod) in stv0900_set_search_standard() argument
1715 switch (intp->srch_standard[demod]) { in stv0900_set_search_standard()
1731 switch (intp->srch_standard[demod]) { in stv0900_set_search_standard()
1738 demod, in stv0900_set_search_standard()
1739 intp->symbol_rate[demod]); in stv0900_set_search_standard()
1742 stv0900_set_viterbi_acq(intp, demod); in stv0900_set_search_standard()
1744 intp->srch_standard[demod], in stv0900_set_search_standard()
1745 intp->fec[demod], demod); in stv0900_set_search_standard()
1761 stv0900_stop_all_s2_modcod(intp, demod); in stv0900_set_search_standard()
1763 stv0900_activate_s2_modcod(intp, demod); in stv0900_set_search_standard()
1766 stv0900_activate_s2_modcod_single(intp, demod); in stv0900_set_search_standard()
1768 stv0900_set_viterbi_tracq(intp, demod); in stv0900_set_search_standard()
1779 demod, in stv0900_set_search_standard()
1780 intp->symbol_rate[demod]); in stv0900_set_search_standard()
1788 stv0900_stop_all_s2_modcod(intp, demod); in stv0900_set_search_standard()
1790 stv0900_activate_s2_modcod(intp, demod); in stv0900_set_search_standard()
1793 stv0900_activate_s2_modcod_single(intp, demod); in stv0900_set_search_standard()
1795 stv0900_set_viterbi_tracq(intp, demod); in stv0900_set_search_standard()
1797 intp->srch_standard[demod], in stv0900_set_search_standard()
1798 intp->fec[demod], demod); in stv0900_set_search_standard()
1808 enum fe_stv0900_demod_num demod = state->demod; in stv0900_algo() local
1821 algo = intp->srch_algo[demod]; in stv0900_algo()
1825 if (intp->symbol_rate[demod] > 5000000) in stv0900_algo()
1833 intp->symbol_rate[demod], in stv0900_algo()
1834 intp->srch_algo[demod]); in stv0900_algo()
1836 if (intp->srch_algo[demod] == STV0900_BLIND_SEARCH) { in stv0900_algo()
1837 intp->bw[demod] = 2 * 36000000; in stv0900_algo()
1842 stv0900_set_symbol_rate(intp, intp->mclk, 1000000, demod); in stv0900_algo()
1847 if (intp->symbol_rate[demod] < 2000000) in stv0900_algo()
1854 intp->bw[demod] = in stv0900_algo()
1855 stv0900_carrier_width(intp->symbol_rate[demod], in stv0900_algo()
1860 if (intp->srch_algo[demod] == STV0900_COLD_START) { in stv0900_algo()
1861 intp->bw[demod] += 10000000; in stv0900_algo()
1862 intp->bw[demod] *= 15; in stv0900_algo()
1863 intp->bw[demod] /= 10; in stv0900_algo()
1864 } else if (intp->srch_algo[demod] == STV0900_WARM_START) in stv0900_algo()
1865 intp->bw[demod] += 10000000; in stv0900_algo()
1869 intp->bw[demod] += 10000000; in stv0900_algo()
1870 intp->bw[demod] *= 15; in stv0900_algo()
1871 intp->bw[demod] /= 10; in stv0900_algo()
1877 intp->symbol_rate[demod], demod); in stv0900_algo()
1879 intp->symbol_rate[demod], demod); in stv0900_algo()
1881 intp->symbol_rate[demod], demod); in stv0900_algo()
1882 if (intp->symbol_rate[demod] >= 10000000) in stv0900_algo()
1889 if (intp->tuner_type[demod] == 3) in stv0900_algo()
1890 stv0900_set_tuner_auto(intp, intp->freq[demod], in stv0900_algo()
1891 intp->bw[demod], demod); in stv0900_algo()
1893 stv0900_set_tuner(fe, intp->freq[demod], intp->bw[demod]); in stv0900_algo()
1909 intp->result[demod].locked = FALSE; in stv0900_algo()
1914 intp->srch_iq_inv[demod]); in stv0900_algo()
1920 stv0900_set_search_standard(intp, demod); in stv0900_algo()
1922 if (intp->srch_algo[demod] != STV0900_BLIND_SEARCH) in stv0900_algo()
1923 stv0900_start_search(intp, demod); in stv0900_algo()
1941 lock = stv0900_get_demod_lock(intp, demod, demod_timeout); in stv0900_algo()
1945 if (stv0900_check_timing_lock(intp, demod) == TRUE) in stv0900_algo()
1946 lock = stv0900_sw_algo(intp, demod); in stv0900_algo()
1976 if (stv0900_wait_for_lock(intp, demod, in stv0900_algo()
1979 intp->result[demod].locked = TRUE; in stv0900_algo()
1980 if (intp->result[demod].standard == in stv0900_algo()
1982 stv0900_set_dvbs2_rolloff(intp, demod); in stv0900_algo()
1995 no_signal = stv0900_check_signal_presence(intp, demod); in stv0900_algo()
1997 intp->result[demod].locked = FALSE; in stv0900_algo()
2005 intp->result[demod].locked = FALSE; in stv0900_algo()
2010 (intp->srch_iq_inv[demod] <= STV0900_IQ_AUTO_NORMAL_FIRST)) in stv0900_algo()