Searched refs:__cmpxchg_asm (Results 1 - 2 of 2) sorted by relevance

/linux-master/arch/loongarch/include/asm/
H A Dcmpxchg.h95 #define __cmpxchg_asm(ld, st, m, old, new) \ macro
100 "1: " ld " %0, %2 # __cmpxchg_asm \n" \
171 return __cmpxchg_asm("ll.w", "sc.w", (volatile u32 *)ptr,
175 return __cmpxchg_asm("ll.d", "sc.d", (volatile u64 *)ptr,
/linux-master/arch/mips/include/asm/
H A Dcmpxchg.h112 #define __cmpxchg_asm(ld, st, m, old, new) \ macro
123 "1: " ld " %0, %2 # __cmpxchg_asm \n" \
161 return __cmpxchg_asm("ll", "sc", (volatile u32 *)ptr,
169 return __cmpxchg_asm("lld", "scd", (volatile u64 *)ptr,
189 * In the Loongson3 workaround case __cmpxchg_asm() already \
199 * In the Loongson3 workaround case __cmpxchg_asm() already \

Completed in 96 milliseconds