Lines Matching refs:next_timer
249 enum otg_fsm_timer cur_timer, next_timer = NUM_OTG_FSM_TIMERS; in ci_otg_del_timer() local
267 if ((next_timer == NUM_OTG_FSM_TIMERS) || in ci_otg_del_timer()
268 ktime_before(ci->hr_timeouts[next_timer], in ci_otg_del_timer()
270 next_timer = cur_timer; in ci_otg_del_timer()
274 if (next_timer != NUM_OTG_FSM_TIMERS) { in ci_otg_del_timer()
275 ci->next_otg_timer = next_timer; in ci_otg_del_timer()
277 ci->hr_timeouts[next_timer], NSEC_PER_MSEC, in ci_otg_del_timer()
387 enum otg_fsm_timer cur_timer, next_timer = NUM_OTG_FSM_TIMERS; in ci_otg_hrtimer_func() local
401 if ((next_timer == NUM_OTG_FSM_TIMERS) || in ci_otg_hrtimer_func()
403 ci->hr_timeouts[next_timer])) in ci_otg_hrtimer_func()
404 next_timer = cur_timer; in ci_otg_hrtimer_func()
408 if (next_timer < NUM_OTG_FSM_TIMERS) { in ci_otg_hrtimer_func()
409 timeout = &ci->hr_timeouts[next_timer]; in ci_otg_hrtimer_func()
412 ci->next_otg_timer = next_timer; in ci_otg_hrtimer_func()