Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/include/zephyr/sys/
Datomic.h80 #define ATOMIC_MASK(bit) BIT((unsigned long)(bit) & (ATOMIC_BITS - 1U)) macro
154 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_test_and_clear_bit()
178 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_test_and_set_bit()
200 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_clear_bit()
219 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_set_bit()
239 atomic_val_t mask = ATOMIC_MASK(bit); in atomic_set_bit_to()
/Zephyr-Core-3.5.0/arch/riscv/core/
Dsmp.c104 if (pending_ipi & ATOMIC_MASK(IPI_SCHED)) { in ipi_handler()
108 if (pending_ipi & ATOMIC_MASK(IPI_FPU_FLUSH)) { in ipi_handler()