Searched refs:g_cyc_per_tick (Results 1 – 1 of 1) sorted by relevance
60 static uint32_t g_cyc_per_tick; variable90 uint32_t unannounced = (curr - prev) / g_cyc_per_tick; in burtc_isr()92 atomic_set(&g_last_count, prev + unannounced * g_cyc_per_tick); in burtc_isr()96 uint32_t next = prev + g_cyc_per_tick; in burtc_isr()103 next += g_cyc_per_tick; in burtc_isr()135 uint32_t unannounced = (curr - prev) / g_cyc_per_tick; in sys_clock_set_timeout()147 uint32_t next = prev + to_announce * g_cyc_per_tick; in sys_clock_set_timeout()154 next += g_cyc_per_tick; in sys_clock_set_timeout()166 return (BURTC_CounterGet() - g_last_count) / g_cyc_per_tick; in sys_clock_elapsed()197 g_cyc_per_tick = hw_clock_freq / CONFIG_SYS_CLOCK_TICKS_PER_SEC; in burtc_init()[all …]