Lines Matching full:delay
279 uint32_t delay; in sys_clock_set_timeout() local
284 /* Desired delay in the future in sys_clock_set_timeout()
289 delay = MAX(ticks * CYC_PER_TICK, MIN_DELAY); in sys_clock_set_timeout()
293 timer0_limit_register_set(delay - 1); in sys_clock_set_timeout()
310 uint32_t delay; in sys_clock_set_timeout()
335 * delay is at least the minimum delay possible. in sys_clock_set_timeout()
339 /* Desired delay in the future */ in sys_clock_set_timeout()
340 delay = ticks * CYC_PER_TICK; in sys_clock_set_timeout()
342 /* Round delay up to next tick boundary */ in sys_clock_set_timeout()
343 delay += unannounced; in sys_clock_set_timeout()
344 delay = DIV_ROUND_UP(delay, CYC_PER_TICK) * CYC_PER_TICK; in sys_clock_set_timeout()
346 delay -= unannounced; in sys_clock_set_timeout()
347 delay = MAX(delay, MIN_DELAY); in sys_clock_set_timeout()
349 last_load = MIN(delay, MAX_CYCLES); in sys_clock_set_timeout()