Searched refs:g_cyc_per_tick (Results 1 – 1 of 1) sorted by relevance
61 static uint32_t g_cyc_per_tick; variable91 uint32_t unannounced = (curr - prev) / g_cyc_per_tick; in burtc_isr()93 atomic_set(&g_last_count, prev + unannounced * g_cyc_per_tick); in burtc_isr()97 uint32_t next = prev + g_cyc_per_tick; in burtc_isr()104 next += g_cyc_per_tick; in burtc_isr()136 uint32_t unannounced = (curr - prev) / g_cyc_per_tick; in sys_clock_set_timeout()148 uint32_t next = prev + to_announce * g_cyc_per_tick; in sys_clock_set_timeout()155 next += g_cyc_per_tick; in sys_clock_set_timeout()167 return (BURTC_CounterGet() - g_last_count) / g_cyc_per_tick; in sys_clock_elapsed()209 g_cyc_per_tick = hw_clock_freq / CONFIG_SYS_CLOCK_TICKS_PER_SEC; in burtc_init()[all …]