Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/include/zephyr/sys/
Datomic.h81 #define ATOMIC_ELEM(addr, bit) ((addr) + ((bit) / ATOMIC_BITS)) macro
133 atomic_val_t val = atomic_get(ATOMIC_ELEM(target, bit)); in atomic_test_bit()
157 old = atomic_and(ATOMIC_ELEM(target, bit), ~mask); in atomic_test_and_clear_bit()
181 old = atomic_or(ATOMIC_ELEM(target, bit), mask); in atomic_test_and_set_bit()
202 (void)atomic_and(ATOMIC_ELEM(target, bit), ~mask); in atomic_clear_bit()
221 (void)atomic_or(ATOMIC_ELEM(target, bit), mask); in atomic_set_bit()
242 (void)atomic_or(ATOMIC_ELEM(target, bit), mask); in atomic_set_bit_to()
244 (void)atomic_and(ATOMIC_ELEM(target, bit), ~mask); in atomic_set_bit_to()