Lines Matching refs:max_carrier
43 max_carrier; in stv0900_check_signal_presence() local
52 max_carrier = intp->srch_range[demod] / 1000; in stv0900_check_signal_presence()
54 max_carrier += (max_carrier / 10); in stv0900_check_signal_presence()
55 max_carrier = 65536 * (max_carrier / 2); in stv0900_check_signal_presence()
56 max_carrier /= intp->mclk / 1000; in stv0900_check_signal_presence()
57 if (max_carrier > 0x4000) in stv0900_check_signal_presence()
58 max_carrier = 0x4000; in stv0900_check_signal_presence()
61 || (carr_offset > (2 * max_carrier)) in stv0900_check_signal_presence()
62 || (carr_offset < (-2 * max_carrier))) in stv0900_check_signal_presence()
73 s32 timeout, freq_inc, max_steps, srate, max_carrier; in stv0900_get_sw_loop_params() local
78 max_carrier = intp->srch_range[demod] / 1000; in stv0900_get_sw_loop_params()
79 max_carrier += max_carrier / 10; in stv0900_get_sw_loop_params()
82 max_carrier = 65536 * (max_carrier / 2); in stv0900_get_sw_loop_params()
83 max_carrier /= intp->mclk / 1000; in stv0900_get_sw_loop_params()
85 if (max_carrier > 0x4000) in stv0900_get_sw_loop_params()
86 max_carrier = 0x4000; in stv0900_get_sw_loop_params()
111 if ((freq_inc > max_carrier) || (freq_inc < 0)) in stv0900_get_sw_loop_params()
112 freq_inc = max_carrier / 2; in stv0900_get_sw_loop_params()
122 max_steps = (max_carrier / freq_inc) + 1; in stv0900_get_sw_loop_params()
126 freq_inc = max_carrier / max_steps; in stv0900_get_sw_loop_params()
143 max_carrier; in stv0900_search_carr_sw_loop() local
145 max_carrier = intp->srch_range[demod] / 1000; in stv0900_search_carr_sw_loop()
146 max_carrier += (max_carrier / 10); in stv0900_search_carr_sw_loop()
148 max_carrier = 65536 * (max_carrier / 2); in stv0900_search_carr_sw_loop()
149 max_carrier /= intp->mclk / 1000; in stv0900_search_carr_sw_loop()
151 if (max_carrier > 0x4000) in stv0900_search_carr_sw_loop()
152 max_carrier = 0x4000; in stv0900_search_carr_sw_loop()
157 freqOffset = -max_carrier + FreqIncr; in stv0900_search_carr_sw_loop()
187 && ((freqOffset - FreqIncr) < max_carrier) in stv0900_search_carr_sw_loop()
188 && ((freqOffset + FreqIncr) > -max_carrier) in stv0900_search_carr_sw_loop()