Lines Matching refs:steps
1588 s32 i, j, steps, dir; in stv090x_get_agc2_min_level() local
1611 steps = state->search_range / 1000000; in stv090x_get_agc2_min_level()
1612 if (steps <= 0) in stv090x_get_agc2_min_level()
1613 steps = 1; in stv090x_get_agc2_min_level()
1619 for (i = 0; i < steps; i++) { in stv090x_get_agc2_min_level()
1683 s32 tmg_cpt = 0, dir = 1, steps, cur_step = 0, freq; in stv090x_srate_srch_coarse() local
1745 steps = -1 + ((state->search_range / 1000) / car_step); in stv090x_srate_srch_coarse()
1746 steps /= 2; in stv090x_srate_srch_coarse()
1747 steps = (2 * steps) + 1; in stv090x_srate_srch_coarse()
1748 if (steps < 0) in stv090x_srate_srch_coarse()
1749 steps = 1; in stv090x_srate_srch_coarse()
1750 else if (steps > 10) { in stv090x_srate_srch_coarse()
1751 steps = 11; in stv090x_srate_srch_coarse()
1758 while ((!tmg_lock) && (cur_step < steps)) { in stv090x_srate_srch_coarse()
1787 else if (cur_step < steps) { in stv090x_srate_srch_coarse()
2132 s32 car_step, steps, cur_step, dir, freq, timeout_lock; in stv090x_get_coldlock() local
2164 steps = (state->search_range / 1000) / car_step; in stv090x_get_coldlock()
2165 steps /= 2; in stv090x_get_coldlock()
2166 steps = 2 * (steps + 1); in stv090x_get_coldlock()
2167 if (steps < 0) in stv090x_get_coldlock()
2168 steps = 2; in stv090x_get_coldlock()
2169 else if (steps > 12) in stv090x_get_coldlock()
2170 steps = 12; in stv090x_get_coldlock()
2177 while ((cur_step <= steps) && (!lock)) { in stv090x_get_coldlock()
2241 …nt stv090x_get_loop_params(struct stv090x_state *state, s32 *freq_inc, s32 *timeout_sw, s32 *steps) in stv090x_get_loop_params() argument
2296 *steps = steps_max; in stv090x_get_loop_params()