Searched refs:g_last_count (Results 1 – 1 of 1) sorted by relevance
66 static atomic_t g_last_count; variable87 uint32_t prev = atomic_get(&g_last_count); in burtc_isr()92 atomic_set(&g_last_count, prev + unannounced * g_cyc_per_tick); in burtc_isr()132 uint32_t prev = atomic_get(&g_last_count); in sys_clock_set_timeout()166 return (BURTC_CounterGet() - g_last_count) / g_cyc_per_tick; in sys_clock_elapsed()221 atomic_set(&g_last_count, 0); in burtc_init()