Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/include/sys/
Datomic.h80 #define ATOMIC_ELEM(addr, bit) ((addr) + ((bit) / ATOMIC_BITS)) macro
129 atomic_val_t val = atomic_get(ATOMIC_ELEM(target, bit)); in atomic_test_bit()
150 old = atomic_and(ATOMIC_ELEM(target, bit), ~mask); in atomic_test_and_clear_bit()
171 old = atomic_or(ATOMIC_ELEM(target, bit), mask); in atomic_test_and_set_bit()
191 (void)atomic_and(ATOMIC_ELEM(target, bit), ~mask); in atomic_clear_bit()
209 (void)atomic_or(ATOMIC_ELEM(target, bit), mask); in atomic_set_bit()
229 (void)atomic_or(ATOMIC_ELEM(target, bit), mask); in atomic_set_bit_to()
231 (void)atomic_and(ATOMIC_ELEM(target, bit), ~mask); in atomic_set_bit_to()