Home
last modified time | relevance | path

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

/openbmc/linux/arch/loongarch/include/asm/
H A Dcmpxchg.h95 #define __cmpxchg_asm(ld, st, m, old, new) \ macro
171 return __cmpxchg_asm("ll.w", "sc.w", (volatile u32 *)ptr, in __cmpxchg()
175 return __cmpxchg_asm("ll.d", "sc.d", (volatile u64 *)ptr, in __cmpxchg()
/openbmc/linux/arch/mips/include/asm/
H A Dcmpxchg.h112 #define __cmpxchg_asm(ld, st, m, old, new) \ macro
161 return __cmpxchg_asm("ll", "sc", (volatile u32 *)ptr, in __cmpxchg()
169 return __cmpxchg_asm("lld", "scd", (volatile u64 *)ptr, in __cmpxchg()