Home
last modified time | relevance | path

Searched refs:cur_timer (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/chipidea/
H A Dotg_fsm.c249 enum otg_fsm_timer cur_timer, next_timer = NUM_OTG_FSM_TIMERS; in ci_otg_del_timer() local
267 for_each_set_bit(cur_timer, &enabled_timer_bits, in ci_otg_del_timer()
271 ci->hr_timeouts[cur_timer])) in ci_otg_del_timer()
272 next_timer = cur_timer; in ci_otg_del_timer()
389 enum otg_fsm_timer cur_timer, next_timer = NUM_OTG_FSM_TIMERS; in ci_otg_hrtimer_func() local
398 if (ktime_compare(now, ci->hr_timeouts[cur_timer]) >= 0) { in ci_otg_hrtimer_func()
399 ci->enabled_otg_timer_bits &= ~(1 << cur_timer); in ci_otg_hrtimer_func()
400 if (otg_timer_handlers[cur_timer]) in ci_otg_hrtimer_func()
401 ret = otg_timer_handlers[cur_timer](ci); in ci_otg_hrtimer_func()
404 ktime_before(ci->hr_timeouts[cur_timer], in ci_otg_hrtimer_func()
[all …]