Lines Matching refs:car_max

2260 	s32 timeout, inc, steps_max, srate, car_max;  in stv090x_get_loop_params()  local
2263 car_max = state->search_range / 1000; in stv090x_get_loop_params()
2264 car_max += car_max / 10; in stv090x_get_loop_params()
2265 car_max = 65536 * (car_max / 2); in stv090x_get_loop_params()
2266 car_max /= (state->internal->mclk / 1000); in stv090x_get_loop_params()
2268 if (car_max > 0x4000) in stv090x_get_loop_params()
2269 car_max = 0x4000 ; /* maxcarrier should be<= +-1/4 Mclk */ in stv090x_get_loop_params()
2296 if ((inc > car_max) || (inc < 0)) in stv090x_get_loop_params()
2297 inc = car_max / 2; /* increment <= 1/8 Mclk */ in stv090x_get_loop_params()
2306 steps_max = (car_max / inc) + 1; /* min steps = 3 */ in stv090x_get_loop_params()
2309 inc = car_max / steps_max; in stv090x_get_loop_params()
2320 s32 offst_car, agc2, car_max; in stv090x_chk_signal() local
2329 car_max = state->search_range / 1000; in stv090x_chk_signal()
2331 car_max += (car_max / 10); /* 10% margin */ in stv090x_chk_signal()
2332 car_max = (65536 * car_max / 2); in stv090x_chk_signal()
2333 car_max /= state->internal->mclk / 1000; in stv090x_chk_signal()
2335 if (car_max > 0x4000) in stv090x_chk_signal()
2336 car_max = 0x4000; in stv090x_chk_signal()
2338 if ((agc2 > 0x2000) || (offst_car > 2 * car_max) || (offst_car < -2 * car_max)) { in stv090x_chk_signal()
2352 s32 cpt_step = 0, offst_freq, car_max; in stv090x_search_car_loop() local
2355 car_max = state->search_range / 1000; in stv090x_search_car_loop()
2356 car_max += (car_max / 10); in stv090x_search_car_loop()
2357 car_max = (65536 * car_max / 2); in stv090x_search_car_loop()
2358 car_max /= (state->internal->mclk / 1000); in stv090x_search_car_loop()
2359 if (car_max > 0x4000) in stv090x_search_car_loop()
2360 car_max = 0x4000; in stv090x_search_car_loop()
2365 offst_freq = -car_max + inc; in stv090x_search_car_loop()
2398 ((offst_freq - inc) < car_max) && in stv090x_search_car_loop()
2399 ((offst_freq + inc) > -car_max) && in stv090x_search_car_loop()