Home
last modified time | relevance | path

Searched refs:g_lock (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/timer/
Dambiq_stimer.c59 static struct k_spinlock g_lock; variable
97 k_spinlock_key_t key = k_spin_lock(&g_lock); in stimer_isr()
123 k_spin_unlock(&g_lock, key); in stimer_isr()
142 k_spinlock_key_t key = k_spin_lock(&g_lock); in sys_clock_set_timeout()
173 k_spin_unlock(&g_lock, key); in sys_clock_set_timeout()
182 k_spinlock_key_t key = k_spin_lock(&g_lock); in sys_clock_elapsed()
184 k_spin_unlock(&g_lock, key); in sys_clock_elapsed()
Dgecko_burtc_timer.c69 static struct k_spinlock g_lock; variable
129 k_spinlock_key_t key = k_spin_lock(&g_lock); in sys_clock_set_timeout()
158 k_spin_unlock(&g_lock, key); in sys_clock_set_timeout()