Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/arch/xtensa/
Datomic_xtensa.h81 #define Z__GEN_ATOMXCHG(expr) ({ \ macro
93 return Z__GEN_ATOMXCHG(value); in atomic_set()
100 return Z__GEN_ATOMXCHG(cur + value); in atomic_add()
107 return Z__GEN_ATOMXCHG(cur - value); in atomic_sub()
114 return Z__GEN_ATOMXCHG(cur + 1); in atomic_inc()
121 return Z__GEN_ATOMXCHG(cur - 1); in atomic_dec()
128 return Z__GEN_ATOMXCHG(cur | value); in atomic_or()
135 return Z__GEN_ATOMXCHG(cur ^ value); in atomic_xor()
142 return Z__GEN_ATOMXCHG(cur & value); in atomic_and()
149 return Z__GEN_ATOMXCHG(~(cur & value)); in atomic_nand()