Home
last modified time | relevance | path

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

/openbmc/linux/arch/openrisc/include/asm/
H A Datomic.h51 #define ATOMIC_FETCH_OP(op) \ macro
72 ATOMIC_FETCH_OP(add) in ATOMIC_OP_RETURN()
73 ATOMIC_FETCH_OP(sub) in ATOMIC_OP_RETURN()
74 ATOMIC_FETCH_OP(and) in ATOMIC_OP_RETURN()
75 ATOMIC_FETCH_OP(or) in ATOMIC_OP_RETURN()
76 ATOMIC_FETCH_OP(xor) in ATOMIC_OP_RETURN()
84 #undef ATOMIC_FETCH_OP in ATOMIC_OP_RETURN()
/openbmc/linux/include/asm-generic/
H A Datomic.h41 #define ATOMIC_FETCH_OP(op, c_op) \ macro
80 #define ATOMIC_FETCH_OP(op, c_op) \ macro
99 ATOMIC_FETCH_OP(add, +)
100 ATOMIC_FETCH_OP(sub, -)
101 ATOMIC_FETCH_OP(and, &)
102 ATOMIC_FETCH_OP(or, |)
103 ATOMIC_FETCH_OP(xor, ^)
111 #undef ATOMIC_FETCH_OP
/openbmc/linux/arch/arm64/include/asm/
H A Datomic_ll_sc.h63 #define ATOMIC_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint) \ macro
90 ATOMIC_FETCH_OP ( , dmb ish, , l, "memory", __VA_ARGS__)\
91 ATOMIC_FETCH_OP (_relaxed, , , , , __VA_ARGS__)\
92 ATOMIC_FETCH_OP (_acquire, , a, , "memory", __VA_ARGS__)\
93 ATOMIC_FETCH_OP (_release, , , l, "memory", __VA_ARGS__)
101 ATOMIC_FETCH_OP ( , dmb ish, , l, "memory", __VA_ARGS__)\ in ATOMIC_OPS()
102 ATOMIC_FETCH_OP (_relaxed, , , , , __VA_ARGS__)\ in ATOMIC_OPS()
103 ATOMIC_FETCH_OP (_acquire, , a, , "memory", __VA_ARGS__)\ in ATOMIC_OPS()
104 ATOMIC_FETCH_OP (_release, , , l, "memory", __VA_ARGS__) in ATOMIC_OPS()
117 #undef ATOMIC_FETCH_OP in ATOMIC_OPS()
H A Datomic.h34 #define ATOMIC_FETCH_OP(name, op) \ in ATOMIC_OP() macro
41 ATOMIC_FETCH_OP(_relaxed, op) \
42 ATOMIC_FETCH_OP(_acquire, op) \
43 ATOMIC_FETCH_OP(_release, op) \
44 ATOMIC_FETCH_OP( , op)
55 #undef ATOMIC_FETCH_OP
H A Datomic_lse.h36 #define ATOMIC_FETCH_OP(name, mb, op, asm_op, cl...) \ macro
54 ATOMIC_FETCH_OP(_relaxed, , op, asm_op) \
55 ATOMIC_FETCH_OP(_acquire, a, op, asm_op, "memory") \
56 ATOMIC_FETCH_OP(_release, l, op, asm_op, "memory") \
57 ATOMIC_FETCH_OP( , al, op, asm_op, "memory")
64 #undef ATOMIC_FETCH_OP in ATOMIC_FETCH_OPS()
/openbmc/linux/arch/xtensa/include/asm/
H A Datomic.h97 #define ATOMIC_FETCH_OP(op) \ macro
159 #define ATOMIC_FETCH_OP(op) \ macro
220 #define ATOMIC_FETCH_OP(op) \ macro
243 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) ATOMIC_OP_RETURN(op)
254 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op)
265 #undef ATOMIC_FETCH_OP
/openbmc/linux/arch/sparc/lib/
H A Datomic_64.S51 #define ATOMIC_FETCH_OP(op) \ macro
68 ATOMIC_FETCH_OP(add)
72 ATOMIC_FETCH_OP(sub)
75 ATOMIC_FETCH_OP(and)
78 ATOMIC_FETCH_OP(or)
81 ATOMIC_FETCH_OP(xor)
83 #undef ATOMIC_FETCH_OP
H A Datomic32.c31 #define ATOMIC_FETCH_OP(op, c_op) \ macro
62 ATOMIC_FETCH_OP(add, +=)
63 ATOMIC_FETCH_OP(and, &=)
64 ATOMIC_FETCH_OP(or, |=)
65 ATOMIC_FETCH_OP(xor, ^=)
67 #undef ATOMIC_FETCH_OP
/openbmc/linux/arch/sh/include/asm/
H A Datomic-llsc.h52 #define ATOMIC_FETCH_OP(op) \ macro
71 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op)
82 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op)
93 #undef ATOMIC_FETCH_OP
H A Datomic-grb.h47 #define ATOMIC_FETCH_OP(op) \ macro
69 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op)
80 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op)
91 #undef ATOMIC_FETCH_OP
H A Datomic-irq.h37 #define ATOMIC_FETCH_OP(op, c_op) \ macro
53 ATOMIC_FETCH_OP(op, c_op)
66 ATOMIC_FETCH_OP(op, c_op)
77 #undef ATOMIC_FETCH_OP
/openbmc/linux/arch/hexagon/include/asm/
H A Datomic.h66 #define ATOMIC_FETCH_OP(op) \ macro
83 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op)
94 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) in ATOMIC_OPS()
105 #undef ATOMIC_FETCH_OP in ATOMIC_OPS()
/openbmc/linux/arch/sparc/include/asm/
H A Datomic_64.h31 #define ATOMIC_FETCH_OP(op) \ macro
35 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op)
51 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op)
66 #undef ATOMIC_FETCH_OP
/openbmc/linux/arch/arc/include/asm/
H A Datomic-llsc.h45 #define ATOMIC_FETCH_OP(op, asm_op) \ macro
75 ATOMIC_FETCH_OP(op, asm_op)
83 ATOMIC_FETCH_OP(op, asm_op)
93 #undef ATOMIC_FETCH_OP
H A Datomic-spinlock.h59 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ macro
79 ATOMIC_FETCH_OP(op, c_op, asm_op)
92 ATOMIC_FETCH_OP(op, c_op, asm_op)
107 #undef ATOMIC_FETCH_OP
/openbmc/linux/arch/riscv/include/asm/
H A Datomic.h88 #define ATOMIC_FETCH_OP(op, asm_op, I, asm_type, c_type, prefix) \ in ATOMIC_OPS() macro
128 ATOMIC_FETCH_OP( op, asm_op, I, w, int, ) \
132 ATOMIC_FETCH_OP( op, asm_op, I, w, int, ) \
134 ATOMIC_FETCH_OP( op, asm_op, I, d, s64, 64) \
167 ATOMIC_FETCH_OP(op, asm_op, I, w, int, )
170 ATOMIC_FETCH_OP(op, asm_op, I, w, int, ) \
171 ATOMIC_FETCH_OP(op, asm_op, I, d, s64, 64)
196 #undef ATOMIC_FETCH_OP
/openbmc/linux/arch/m68k/include/asm/
H A Datomic.h55 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ macro
85 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ macro
104 ATOMIC_FETCH_OP(op, c_op, asm_op)
117 ATOMIC_FETCH_OP(op, c_op, asm_op)
128 #undef ATOMIC_FETCH_OP
/openbmc/linux/arch/ia64/include/asm/
H A Datomic.h45 #define ATOMIC_FETCH_OP(op, c_op) \ macro
62 ATOMIC_FETCH_OP(op, c_op)
109 ATOMIC_FETCH_OP(and, &)
110 ATOMIC_FETCH_OP(or, |)
111 ATOMIC_FETCH_OP(xor, ^)
122 #undef ATOMIC_FETCH_OP
/openbmc/linux/arch/csky/include/asm/
H A Datomic.h48 #define ATOMIC_FETCH_OP(op) \ in ATOMIC_OP() macro
73 ATOMIC_FETCH_OP(op) \
89 ATOMIC_FETCH_OP(op)
101 #undef ATOMIC_FETCH_OP
/openbmc/linux/arch/parisc/include/asm/
H A Datomic.h99 #define ATOMIC_FETCH_OP(op, c_op) \ macro
116 ATOMIC_FETCH_OP(op, c_op)
129 ATOMIC_FETCH_OP(op, c_op)
140 #undef ATOMIC_FETCH_OP
/openbmc/linux/arch/alpha/include/asm/
H A Datomic.h76 #define ATOMIC_FETCH_OP(op, asm_op) \ macro
152 ATOMIC_FETCH_OP(op, op##l) \
176 ATOMIC_FETCH_OP(op, asm) \ in ATOMIC_OPS()
199 #undef ATOMIC_FETCH_OP in ATOMIC_OPS()
/openbmc/linux/arch/loongarch/include/asm/
H A Datomic.h59 #define ATOMIC_FETCH_OP(op, I, asm_op) \ macro
76 ATOMIC_FETCH_OP(op, I, asm_op)
90 ATOMIC_FETCH_OP(op, I, asm_op)
101 #undef ATOMIC_FETCH_OP in ATOMIC_OPS()
/openbmc/linux/arch/mips/include/asm/
H A Datomic.h105 #define ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc) \ macro
142 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc)
164 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc)
184 #undef ATOMIC_FETCH_OP
/openbmc/linux/arch/arm/include/asm/
H A Datomic.h75 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ macro
186 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ macro
230 ATOMIC_FETCH_OP(op, c_op, asm_op)
240 ATOMIC_FETCH_OP(op, c_op, asm_op)
248 #undef ATOMIC_FETCH_OP