Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/timer/
Dnrf_rtc_timer.c65 static atomic_t alloc_mask; variable
584 chan = alloc_mask ? 31 - __builtin_clz(alloc_mask) : -1; in z_nrf_rtc_timer_chan_alloc()
588 prev = atomic_and(&alloc_mask, ~BIT(chan)); in z_nrf_rtc_timer_chan_alloc()
598 atomic_or(&alloc_mask, BIT(chan)); in z_nrf_rtc_timer_chan_free()
758 alloc_mask = BIT_MASK(EXT_CHAN_COUNT) << 1; in sys_clock_driver_init()