Lines Matching refs:car_max

2243 	s32 timeout, inc, steps_max, srate, car_max;  in stv090x_get_loop_params()  local
2246 car_max = state->search_range / 1000; in stv090x_get_loop_params()
2247 car_max += car_max / 10; in stv090x_get_loop_params()
2248 car_max = 65536 * (car_max / 2); in stv090x_get_loop_params()
2249 car_max /= (state->internal->mclk / 1000); in stv090x_get_loop_params()
2251 if (car_max > 0x4000) in stv090x_get_loop_params()
2252 car_max = 0x4000 ; /* maxcarrier should be<= +-1/4 Mclk */ in stv090x_get_loop_params()
2279 if ((inc > car_max) || (inc < 0)) in stv090x_get_loop_params()
2280 inc = car_max / 2; /* increment <= 1/8 Mclk */ in stv090x_get_loop_params()
2289 steps_max = (car_max / inc) + 1; /* min steps = 3 */ in stv090x_get_loop_params()
2292 inc = car_max / steps_max; in stv090x_get_loop_params()
2303 s32 offst_car, agc2, car_max; in stv090x_chk_signal() local
2312 car_max = state->search_range / 1000; in stv090x_chk_signal()
2314 car_max += (car_max / 10); /* 10% margin */ in stv090x_chk_signal()
2315 car_max = (65536 * car_max / 2); in stv090x_chk_signal()
2316 car_max /= state->internal->mclk / 1000; in stv090x_chk_signal()
2318 if (car_max > 0x4000) in stv090x_chk_signal()
2319 car_max = 0x4000; in stv090x_chk_signal()
2321 if ((agc2 > 0x2000) || (offst_car > 2 * car_max) || (offst_car < -2 * car_max)) { in stv090x_chk_signal()
2335 s32 cpt_step = 0, offst_freq, car_max; in stv090x_search_car_loop() local
2338 car_max = state->search_range / 1000; in stv090x_search_car_loop()
2339 car_max += (car_max / 10); in stv090x_search_car_loop()
2340 car_max = (65536 * car_max / 2); in stv090x_search_car_loop()
2341 car_max /= (state->internal->mclk / 1000); in stv090x_search_car_loop()
2342 if (car_max > 0x4000) in stv090x_search_car_loop()
2343 car_max = 0x4000; in stv090x_search_car_loop()
2348 offst_freq = -car_max + inc; in stv090x_search_car_loop()
2381 ((offst_freq - inc) < car_max) && in stv090x_search_car_loop()
2382 ((offst_freq + inc) > -car_max) && in stv090x_search_car_loop()