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