Searched refs:delay_wanted (Results 1 – 1 of 1) sorted by relevance
77 uint32_t delay_wanted = ticks * CYC_PER_TICK; in sys_clock_set_timeout() local82 if (delay_wanted <= MAX_CYC - adj) { in sys_clock_set_timeout()83 delay_wanted += adj; in sys_clock_set_timeout()85 delay_wanted = MAX_CYC; in sys_clock_set_timeout()87 delay_wanted = (delay_wanted / CYC_PER_TICK) * CYC_PER_TICK; in sys_clock_set_timeout()89 if ((int32_t)(delay_wanted + last_count - current_count) < MIN_DELAY) { in sys_clock_set_timeout()90 delay_wanted += CYC_PER_TICK; in sys_clock_set_timeout()93 set_cp0_compare(delay_wanted + last_count); in sys_clock_set_timeout()