Searched refs:car_max (Results 1 – 1 of 1) sorted by relevance
2255 s32 timeout, inc, steps_max, srate, car_max; in stv090x_get_loop_params() local2258 car_max = state->search_range / 1000; in stv090x_get_loop_params()2259 car_max += car_max / 10; in stv090x_get_loop_params()2260 car_max = 65536 * (car_max / 2); in stv090x_get_loop_params()2261 car_max /= (state->internal->mclk / 1000); in stv090x_get_loop_params()2263 if (car_max > 0x4000) in stv090x_get_loop_params()2264 car_max = 0x4000 ; /* maxcarrier should be<= +-1/4 Mclk */ in stv090x_get_loop_params()2291 if ((inc > car_max) || (inc < 0)) in stv090x_get_loop_params()2292 inc = car_max / 2; /* increment <= 1/8 Mclk */ in stv090x_get_loop_params()2301 steps_max = (car_max / inc) + 1; /* min steps = 3 */ in stv090x_get_loop_params()[all …]