Home
last modified time | relevance | path

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

/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
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()
[all …]
/linux/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c823 unsigned long next_timer = jiffies + msecs_to_jiffies(FIP_VN_KA_PERIOD); in fcoe_ctlr_age_fcfs() local
842 } else if (time_after(next_timer, deadline)) in fcoe_ctlr_age_fcfs()
843 next_timer = deadline; in fcoe_ctlr_age_fcfs()
859 if (time_after(next_timer, deadline)) in fcoe_ctlr_age_fcfs()
860 next_timer = deadline; in fcoe_ctlr_age_fcfs()
877 return next_timer; in fcoe_ctlr_age_fcfs()
1797 unsigned long next_timer; in fcoe_ctlr_timer_work() local
1809 next_timer = fcoe_ctlr_age_fcfs(fip); in fcoe_ctlr_timer_work()
1816 } else if (time_after(next_timer, fip->sel_time)) in fcoe_ctlr_timer_work()
1817 next_timer = fip->sel_time; in fcoe_ctlr_timer_work()
[all …]