Lines Matching refs:op
18 #define ATOMIC_OP(op) \ argument
19 static inline void atomic_##op(int i, atomic_t *v) \
24 "1: movli.l @%2, %0 ! atomic_" #op "\n" \
25 " " #op " %1, %0 \n" \
33 #define ATOMIC_OP_RETURN(op) \ argument
34 static inline int atomic_##op##_return(int i, atomic_t *v) \
39 "1: movli.l @%2, %0 ! atomic_" #op "_return \n" \
40 " " #op " %1, %0 \n" \
51 #define ATOMIC_FETCH_OP(op) \ argument
52 static inline int atomic_fetch_##op(int i, atomic_t *v) \
57 "1: movli.l @%3, %0 ! atomic_fetch_" #op " \n" \
59 " " #op " %2, %0 \n" \
70 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op) argument
76 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) argument