Lines Matching refs:op
29 #define ATOMIC_OP(op, asm_op) \ argument
30 static __inline__ void atomic_##op(int a, atomic_t *v) \
35 "1: lwarx %0,0,%3 # atomic_" #op "\n" \
45 #define ATOMIC_OP_RETURN(op, asm_op) \ argument
46 static __inline__ int atomic_##op##_return(int a, atomic_t *v) \
52 "1: lwarx %0,0,%2 # atomic_" #op "_return\n" \
65 #define ATOMIC_OPS(op, asm_op) ATOMIC_OP(op, asm_op) ATOMIC_OP_RETURN(op, asm_op) argument
273 #define ATOMIC64_OP(op, asm_op) \ argument
274 static __inline__ void atomic64_##op(long a, atomic64_t *v) \
279 "1: ldarx %0,0,%3 # atomic64_" #op "\n" \
288 #define ATOMIC64_OP_RETURN(op, asm_op) \ argument
289 static __inline__ long atomic64_##op##_return(long a, atomic64_t *v) \
295 "1: ldarx %0,0,%2 # atomic64_" #op "_return\n" \
307 #define ATOMIC64_OPS(op, asm_op) ATOMIC64_OP(op, asm_op) ATOMIC64_OP_RETURN(op, asm_op) argument