Lines Matching refs:next_timer
241 enum otg_fsm_timer cur_timer, next_timer = NUM_OTG_FSM_TIMERS; in ci_otg_del_timer() local
259 if ((next_timer == NUM_OTG_FSM_TIMERS) || in ci_otg_del_timer()
260 (ci->hr_timeouts[next_timer].tv64 < in ci_otg_del_timer()
262 next_timer = cur_timer; in ci_otg_del_timer()
266 if (next_timer != NUM_OTG_FSM_TIMERS) { in ci_otg_del_timer()
267 ci->next_otg_timer = next_timer; in ci_otg_del_timer()
269 ci->hr_timeouts[next_timer], NSEC_PER_MSEC, in ci_otg_del_timer()
372 enum otg_fsm_timer cur_timer, next_timer = NUM_OTG_FSM_TIMERS; in ci_otg_hrtimer_func() local
386 if ((next_timer == NUM_OTG_FSM_TIMERS) || in ci_otg_hrtimer_func()
388 ci->hr_timeouts[next_timer].tv64)) in ci_otg_hrtimer_func()
389 next_timer = cur_timer; in ci_otg_hrtimer_func()
393 if (next_timer < NUM_OTG_FSM_TIMERS) { in ci_otg_hrtimer_func()
394 timeout = &ci->hr_timeouts[next_timer]; in ci_otg_hrtimer_func()
397 ci->next_otg_timer = next_timer; in ci_otg_hrtimer_func()