Lines Matching full:next
96 uint32_t next = prev + g_cyc_per_tick; in burtc_isr() local
98 /* `next` can be too close in the future since we're trying to in burtc_isr()
99 * announce the very next tick - in that case we skip one and in burtc_isr()
102 if ((next - curr) < MIN_DELAY_CYC) { in burtc_isr()
103 next += g_cyc_per_tick; in burtc_isr()
106 BURTC_CompareSet(0, next); in burtc_isr()
147 uint32_t next = prev + to_announce * g_cyc_per_tick; in sys_clock_set_timeout() local
149 /* `next` can be too close in the future if we're trying to announce in sys_clock_set_timeout()
150 * the very next tick - in that case we skip one and announce the one in sys_clock_set_timeout()
153 if ((next - curr) < MIN_DELAY_CYC) { in sys_clock_set_timeout()
154 next += g_cyc_per_tick; in sys_clock_set_timeout()
157 BURTC_CompareSet(0, next); in sys_clock_set_timeout()