Home
last modified time | relevance | path

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

/openbmc/linux/arch/sh/include/asm/
H A Datomic-grb.h69 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op) macro
71 ATOMIC_OPS(add)
72 ATOMIC_OPS(sub)
79 #undef ATOMIC_OPS
80 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) macro
82 ATOMIC_OPS(and)
83 ATOMIC_OPS(or)
84 ATOMIC_OPS(xor)
90 #undef ATOMIC_OPS
H A Datomic-llsc.h71 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op) macro
73 ATOMIC_OPS(add)
74 ATOMIC_OPS(sub)
81 #undef ATOMIC_OPS
82 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) macro
84 ATOMIC_OPS(and)
85 ATOMIC_OPS(or)
86 ATOMIC_OPS(xor)
92 #undef ATOMIC_OPS
H A Datomic-irq.h50 #define ATOMIC_OPS(op, c_op) \ macro
55 ATOMIC_OPS(add, +=)
56 ATOMIC_OPS(sub, -=)
63 #undef ATOMIC_OPS
64 #define ATOMIC_OPS(op, c_op) \ macro
68 ATOMIC_OPS(and, &=)
69 ATOMIC_OPS(or, |=)
70 ATOMIC_OPS(xor, ^=)
76 #undef ATOMIC_OPS
/openbmc/linux/arch/arc/include/asm/
H A Datomic-llsc.h72 #define ATOMIC_OPS(op, asm_op) \ macro
77 ATOMIC_OPS(add, add)
78 ATOMIC_OPS(sub, sub)
80 #undef ATOMIC_OPS
81 #define ATOMIC_OPS(op, asm_op) \ macro
85 ATOMIC_OPS(and, and)
86 ATOMIC_OPS(andnot, bic)
87 ATOMIC_OPS(or, or)
88 ATOMIC_OPS(xor, xor)
92 #undef ATOMIC_OPS
H A Datomic-spinlock.h76 #define ATOMIC_OPS(op, c_op, asm_op) \ macro
81 ATOMIC_OPS(add, +=, add)
82 ATOMIC_OPS(sub, -=, sub)
89 #undef ATOMIC_OPS
90 #define ATOMIC_OPS(op, c_op, asm_op) \ macro
94 ATOMIC_OPS(and, &=, and)
95 ATOMIC_OPS(andnot, &= ~, bic)
96 ATOMIC_OPS(or, |=, or)
97 ATOMIC_OPS(xor, ^=, xor)
106 #undef ATOMIC_OPS
/openbmc/linux/arch/mips/include/asm/
H A Datomic.h26 #define ATOMIC_OPS(pfx, type) \ macro
37 ATOMIC_OPS(atomic, int)
41 ATOMIC_OPS(atomic64, s64)
138 #undef ATOMIC_OPS
144 ATOMIC_OPS(atomic, add, int, +=, addu, ll, sc)
145 ATOMIC_OPS(atomic, sub, int, -=, subu, ll, sc)
161 #undef ATOMIC_OPS
166 ATOMIC_OPS(atomic, and, int, &=, and, ll, sc)
167 ATOMIC_OPS(atomic, or, int, |=, or, ll, sc)
168 ATOMIC_OPS(atomic, xor, int, ^=, xor, ll, sc)
[all …]
/openbmc/linux/arch/sparc/include/asm/
H A Datomic_64.h35 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op) macro
37 ATOMIC_OPS(add)
38 ATOMIC_OPS(sub)
50 #undef ATOMIC_OPS
51 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) macro
53 ATOMIC_OPS(and)
54 ATOMIC_OPS(or)
55 ATOMIC_OPS(xor)
65 #undef ATOMIC_OPS
/openbmc/linux/arch/hexagon/include/asm/
H A Datomic.h83 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op) macro
85 ATOMIC_OPS(add)
86 ATOMIC_OPS(sub) in ATOMIC_OPS() function
93 #undef ATOMIC_OPS in ATOMIC_OPS()
94 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) in ATOMIC_OPS() macro
96 ATOMIC_OPS(and) in ATOMIC_OPS()
97 ATOMIC_OPS(or) in ATOMIC_OPS()
98 ATOMIC_OPS(xor) in ATOMIC_OPS()
104 #undef ATOMIC_OPS in ATOMIC_OPS()
/openbmc/linux/arch/riscv/include/asm/
H A Datomic.h74 ATOMIC_OPS(add, add, i) in ATOMIC_OPS() function
75 ATOMIC_OPS(sub, add, -i) in ATOMIC_OPS()
76 ATOMIC_OPS(and, and, i) in ATOMIC_OPS()
77 ATOMIC_OPS( or, or, i) in ATOMIC_OPS()
78 ATOMIC_OPS(xor, xor, i) in ATOMIC_OPS()
81 #undef ATOMIC_OPS in ATOMIC_OPS()
163 #undef ATOMIC_OPS
174 ATOMIC_OPS(and, and, i)
175 ATOMIC_OPS( or, or, i)
176 ATOMIC_OPS(xor, xor, i)
[all …]
/openbmc/linux/arch/csky/include/asm/
H A Datomic.h72 #define ATOMIC_OPS(op, c_op) \ macro
76 ATOMIC_OPS(add, +)
77 ATOMIC_OPS(sub, -)
85 #undef ATOMIC_OPS
88 #define ATOMIC_OPS(op) \ macro
91 ATOMIC_OPS(and)
92 ATOMIC_OPS( or)
93 ATOMIC_OPS(xor)
99 #undef ATOMIC_OPS
/openbmc/linux/arch/xtensa/include/asm/
H A Datomic.h243 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) ATOMIC_OP_RETURN(op) macro
245 ATOMIC_OPS(add)
246 ATOMIC_OPS(sub)
253 #undef ATOMIC_OPS
254 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) macro
256 ATOMIC_OPS(and)
257 ATOMIC_OPS(or)
258 ATOMIC_OPS(xor)
264 #undef ATOMIC_OPS
/openbmc/linux/arch/m68k/include/asm/
H A Datomic.h101 #define ATOMIC_OPS(op, c_op, asm_op) \ macro
106 ATOMIC_OPS(add, +=, add)
107 ATOMIC_OPS(sub, -=, sub)
114 #undef ATOMIC_OPS
115 #define ATOMIC_OPS(op, c_op, asm_op) \ macro
119 ATOMIC_OPS(and, &=, and)
120 ATOMIC_OPS(or, |=, or)
121 ATOMIC_OPS(xor, ^=, eor)
127 #undef ATOMIC_OPS
/openbmc/linux/arch/alpha/include/asm/
H A Datomic.h149 #define ATOMIC_OPS(op) \ macro
157 ATOMIC_OPS(add)
158 ATOMIC_OPS(sub) in ATOMIC_OPS() function
173 #undef ATOMIC_OPS in ATOMIC_OPS()
174 #define ATOMIC_OPS(op, asm) \ in ATOMIC_OPS() macro
180 ATOMIC_OPS(and, and) in ATOMIC_OPS()
181 ATOMIC_OPS(andnot, bic) in ATOMIC_OPS()
182 ATOMIC_OPS(or, bis) in ATOMIC_OPS()
183 ATOMIC_OPS(xor, xor) in ATOMIC_OPS()
195 #undef ATOMIC_OPS in ATOMIC_OPS()
/openbmc/linux/arch/parisc/include/asm/
H A Datomic.h113 #define ATOMIC_OPS(op, c_op) \ macro
118 ATOMIC_OPS(add, +=)
119 ATOMIC_OPS(sub, -=)
126 #undef ATOMIC_OPS
127 #define ATOMIC_OPS(op, c_op) \ macro
131 ATOMIC_OPS(and, &=)
132 ATOMIC_OPS(or, |=)
133 ATOMIC_OPS(xor, ^=)
139 #undef ATOMIC_OPS
/openbmc/linux/arch/loongarch/include/asm/
H A Datomic.h73 #define ATOMIC_OPS(op, I, asm_op, c_op) \ macro
78 ATOMIC_OPS(add, i, add, +)
79 ATOMIC_OPS(sub, -i, add, +)
86 #undef ATOMIC_OPS
88 #define ATOMIC_OPS(op, I, asm_op) \ macro
92 ATOMIC_OPS(and, i, and) in ATOMIC_OPS() function
93 ATOMIC_OPS(or, i, or) in ATOMIC_OPS()
94 ATOMIC_OPS(xor, i, xor) in ATOMIC_OPS()
100 #undef ATOMIC_OPS in ATOMIC_OPS()
/openbmc/linux/arch/arm64/include/asm/
H A Datomic_ll_sc.h84 #define ATOMIC_OPS(...) \ macro
95 ATOMIC_OPS(add, add, I) in ATOMIC_OPS() function
96 ATOMIC_OPS(sub, sub, J) in ATOMIC_OPS()
98 #undef ATOMIC_OPS in ATOMIC_OPS()
99 #define ATOMIC_OPS(...) \ in ATOMIC_OPS() macro
106 ATOMIC_OPS(and, and, K) in ATOMIC_OPS()
107 ATOMIC_OPS(or, orr, K) in ATOMIC_OPS()
108 ATOMIC_OPS(xor, eor, K) in ATOMIC_OPS()
114 ATOMIC_OPS(andnot, bic, ) in ATOMIC_OPS()
116 #undef ATOMIC_OPS in ATOMIC_OPS()
/openbmc/linux/arch/powerpc/include/asm/
H A Datomic.h98 #define ATOMIC_OPS(op, asm_op, suffix, sign, ...) \ macro
103 ATOMIC_OPS(add, add, "c", I, "xer")
104 ATOMIC_OPS(sub, sub, "c", I, "xer")
112 #undef ATOMIC_OPS
113 #define ATOMIC_OPS(op, asm_op, suffix, sign) \ macro
117 ATOMIC_OPS(and, and, ".", K)
118 ATOMIC_OPS(or, or, "", K)
119 ATOMIC_OPS(xor, xor, "", K)
125 #undef ATOMIC_OPS
/openbmc/linux/arch/arm/include/asm/
H A Datomic.h227 #define ATOMIC_OPS(op, c_op, asm_op) \ macro
232 ATOMIC_OPS(add, +=, add)
233 ATOMIC_OPS(sub, -=, sub)
237 #undef ATOMIC_OPS
238 #define ATOMIC_OPS(op, c_op, asm_op) \ macro
242 ATOMIC_OPS(and, &=, and)
243 ATOMIC_OPS(andnot, &= ~, bic)
244 ATOMIC_OPS(or, |=, orr)
245 ATOMIC_OPS(xor, ^=, eor)
247 #undef ATOMIC_OPS
/openbmc/linux/arch/s390/include/asm/
H A Datomic.h52 #define ATOMIC_OPS(op) \ macro
62 ATOMIC_OPS(and)
63 ATOMIC_OPS(or) in ATOMIC_OPS() function
64 ATOMIC_OPS(xor) in ATOMIC_OPS()
66 #undef ATOMIC_OPS in ATOMIC_OPS()
/openbmc/linux/arch/ia64/include/asm/
H A Datomic.h60 #define ATOMIC_OPS(op, c_op) \ macro
64 ATOMIC_OPS(add, +)
65 ATOMIC_OPS(sub, -)
121 #undef ATOMIC_OPS