Home
last modified time | relevance | path

Searched refs:__xchg_asm (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dcmpxchg.h11 #define __xchg_asm(amswap_db, m, val) \ macro
36 return __xchg_asm("amswap_db.w", (volatile u32 *)ptr, (u32)x); in __xchg()
39 return __xchg_asm("amswap_db.d", (volatile u64 *)ptr, (u64)x); in __xchg()
H A Dpercpu.h142 return __xchg_asm("amswap.w", (volatile u32 *)ptr, (u32)val); in __percpu_xchg()
145 return __xchg_asm("amswap.d", (volatile u64 *)ptr, (u64)val); in __percpu_xchg()
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dcmpxchg.h35 #define __xchg_asm(ld, st, m, val) \ macro
46 "1: " ld " %0, %2 # __xchg_asm \n" \
80 return __xchg_asm("ll", "sc", (volatile u32 *)ptr, x); in __xchg()
86 return __xchg_asm("lld", "scd", (volatile u64 *)ptr, x); in __xchg()
98 * In the Loongson3 workaround case __xchg_asm() already \
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dcmpxchg.h34 #define __xchg_asm(ld, st, m, val) \ macro
45 "1: " ld " %0, %2 # __xchg_asm \n" \
79 return __xchg_asm("ll", "sc", (volatile u32 *)ptr, x); in __arch_xchg()
85 return __xchg_asm("lld", "scd", (volatile u64 *)ptr, x); in __arch_xchg()
97 * In the Loongson3 workaround case __xchg_asm() already \
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H A Dcmpxchg.h12 #define __xchg_asm(amswap_db, m, val) \ macro
73 return __xchg_asm("amswap_db.w", (volatile u32 *)ptr, (u32)x); in __arch_xchg()
76 return __xchg_asm("amswap_db.d", (volatile u64 *)ptr, (u64)x); in __arch_xchg()
H A Dpercpu.h144 return __xchg_asm("amswap.w", (volatile u32 *)ptr, (u32)val); in __percpu_xchg()
147 return __xchg_asm("amswap.d", (volatile u64 *)ptr, (u64)val); in __percpu_xchg()

Completed in 3 milliseconds