/openbmc/linux/include/asm-generic/ |
H A D | atomic64.h | 30 #define ATOMIC64_OPS(op) ATOMIC64_OP(op) ATOMIC64_OP_RETURN(op) ATOMIC64_FETCH_OP(op) macro 32 ATOMIC64_OPS(add) 33 ATOMIC64_OPS(sub) 35 #undef ATOMIC64_OPS 36 #define ATOMIC64_OPS(op) ATOMIC64_OP(op) ATOMIC64_FETCH_OP(op) macro 38 ATOMIC64_OPS(and) 39 ATOMIC64_OPS(or) 40 ATOMIC64_OPS(xor) 42 #undef ATOMIC64_OPS
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | atomic64-arcv2.h | 115 #define ATOMIC64_OPS(op, op1, op2) \ macro 120 ATOMIC64_OPS(add, add.f, adc) 121 ATOMIC64_OPS(sub, sub.f, sbc) 123 #undef ATOMIC64_OPS 124 #define ATOMIC64_OPS(op, op1, op2) \ macro 128 ATOMIC64_OPS(and, and, and) in ATOMIC64_OPS() function 129 ATOMIC64_OPS(andnot, bic, bic) in ATOMIC64_OPS() 130 ATOMIC64_OPS(or, or, or) in ATOMIC64_OPS() 131 ATOMIC64_OPS(xor, xor, xor) in ATOMIC64_OPS() 135 #undef ATOMIC64_OPS in ATOMIC64_OPS()
|
/openbmc/linux/lib/ |
H A D | atomic64.c | 110 #define ATOMIC64_OPS(op, c_op) \ macro 115 ATOMIC64_OPS(add, +=) 116 ATOMIC64_OPS(sub, -=) 118 #undef ATOMIC64_OPS 119 #define ATOMIC64_OPS(op, c_op) \ macro 123 ATOMIC64_OPS(and, &=) 124 ATOMIC64_OPS(or, |=) 125 ATOMIC64_OPS(xor, ^=) 127 #undef ATOMIC64_OPS
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | atomic.h | 185 #define ATOMIC64_OPS(op, c_op) \ macro 190 ATOMIC64_OPS(add, +=) 191 ATOMIC64_OPS(sub, -=) 198 #undef ATOMIC64_OPS 199 #define ATOMIC64_OPS(op, c_op) \ macro 203 ATOMIC64_OPS(and, &=) 204 ATOMIC64_OPS(or, |=) 205 ATOMIC64_OPS(xor, ^=) 211 #undef ATOMIC64_OPS
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | atomic.h | 208 #define ATOMIC64_OPS(op, I, asm_op, c_op) \ macro 213 ATOMIC64_OPS(add, i, add, +) 214 ATOMIC64_OPS(sub, -i, add, +) 221 #undef ATOMIC64_OPS 223 #define ATOMIC64_OPS(op, I, asm_op) \ macro 227 ATOMIC64_OPS(and, i, and) in ATOMIC64_OPS() function 228 ATOMIC64_OPS(or, i, or) in ATOMIC64_OPS() 229 ATOMIC64_OPS(xor, i, xor) in ATOMIC64_OPS() 235 #undef ATOMIC64_OPS in ATOMIC64_OPS()
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | atomic_ll_sc.h | 180 #define ATOMIC64_OPS(...) \ macro 191 ATOMIC64_OPS(add, add, I) 192 ATOMIC64_OPS(sub, sub, J) 194 #undef ATOMIC64_OPS 195 #define ATOMIC64_OPS(...) \ macro 202 ATOMIC64_OPS(and, and, L) 203 ATOMIC64_OPS(or, orr, L) 204 ATOMIC64_OPS(xor, eor, L) 210 ATOMIC64_OPS(andnot, bic, ) 212 #undef ATOMIC64_OPS
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | atomic.h | 376 #define ATOMIC64_OPS(op, op1, op2) \ macro 381 ATOMIC64_OPS(add, adds, adc) in ATOMIC64_OPS() function 382 ATOMIC64_OPS(sub, subs, sbc) in ATOMIC64_OPS() 389 #undef ATOMIC64_OPS in ATOMIC64_OPS() 390 #define ATOMIC64_OPS(op, op1, op2) \ in ATOMIC64_OPS() macro 396 ATOMIC64_OPS(and, and, and) in ATOMIC64_OPS() 397 ATOMIC64_OPS(andnot, bic, bic) in ATOMIC64_OPS() 398 ATOMIC64_OPS(or, orr, orr) in ATOMIC64_OPS() 399 ATOMIC64_OPS(xor, eor, eor) in ATOMIC64_OPS() 406 #undef ATOMIC64_OPS in ATOMIC64_OPS()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | atomic.h | 266 #define ATOMIC64_OPS(op, asm_op) \ macro 271 ATOMIC64_OPS(add, add) in ATOMIC64_OPS() function 272 ATOMIC64_OPS(sub, subf) in ATOMIC64_OPS() 280 #undef ATOMIC64_OPS in ATOMIC64_OPS() 281 #define ATOMIC64_OPS(op, asm_op) \ in ATOMIC64_OPS() macro 285 ATOMIC64_OPS(and, and) in ATOMIC64_OPS() 286 ATOMIC64_OPS(or, or) in ATOMIC64_OPS() 287 ATOMIC64_OPS(xor, xor) in ATOMIC64_OPS()
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | atomic.h | 123 #define ATOMIC64_OPS(op) \ macro 133 ATOMIC64_OPS(and) 134 ATOMIC64_OPS(or) 135 ATOMIC64_OPS(xor) 137 #undef ATOMIC64_OPS
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | atomic.h | 155 #define ATOMIC64_OPS(op, c_op) \ macro 159 ATOMIC64_OPS(add, +) 160 ATOMIC64_OPS(sub, -) 206 #undef ATOMIC64_OPS
|