Lines Matching refs:op
19 #define ATOMIC_OP(op) \ argument
20 static inline void atomic_##op(int i, atomic_t *v) \
25 "1: movli.l @%2, %0 ! atomic_" #op "\n" \
26 " " #op " %1, %0 \n" \
34 #define ATOMIC_OP_RETURN(op) \ argument
35 static inline int atomic_##op##_return(int i, atomic_t *v) \
40 "1: movli.l @%2, %0 ! atomic_" #op "_return \n" \
41 " " #op " %1, %0 \n" \
52 #define ATOMIC_FETCH_OP(op) \ argument
53 static inline int atomic_fetch_##op(int i, atomic_t *v) \
58 "1: movli.l @%3, %0 ! atomic_fetch_" #op " \n" \
60 " " #op " %2, %0 \n" \
71 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) ATOMIC_FETCH_OP(op) argument
77 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_FETCH_OP(op) argument