Lines Matching refs:next_timer
249 enum otg_fsm_timer cur_timer, next_timer = NUM_OTG_FSM_TIMERS; in ci_otg_del_timer() local
269 if ((next_timer == NUM_OTG_FSM_TIMERS) || in ci_otg_del_timer()
270 ktime_before(ci->hr_timeouts[next_timer], in ci_otg_del_timer()
272 next_timer = cur_timer; in ci_otg_del_timer()
276 if (next_timer != NUM_OTG_FSM_TIMERS) { in ci_otg_del_timer()
277 ci->next_otg_timer = next_timer; in ci_otg_del_timer()
279 ci->hr_timeouts[next_timer], NSEC_PER_MSEC, in ci_otg_del_timer()
389 enum otg_fsm_timer cur_timer, next_timer = NUM_OTG_FSM_TIMERS; in ci_otg_hrtimer_func() local
403 if ((next_timer == NUM_OTG_FSM_TIMERS) || in ci_otg_hrtimer_func()
405 ci->hr_timeouts[next_timer])) in ci_otg_hrtimer_func()
406 next_timer = cur_timer; in ci_otg_hrtimer_func()
410 if (next_timer < NUM_OTG_FSM_TIMERS) { in ci_otg_hrtimer_func()
411 timeout = &ci->hr_timeouts[next_timer]; in ci_otg_hrtimer_func()
414 ci->next_otg_timer = next_timer; in ci_otg_hrtimer_func()