Searched refs:__xchg_asm (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/arch/loongarch/include/asm/ |
D | cmpxchg.h | 12 #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()
|
D | percpu.h | 79 return __xchg_asm("amswap.w", (volatile u32 *)ptr, (u32)val); in __percpu_xchg() 82 return __xchg_asm("amswap.d", (volatile u64 *)ptr, (u64)val); in __percpu_xchg()
|
/linux-6.12.1/arch/mips/include/asm/ |
D | cmpxchg.h | 34 #define __xchg_asm(ld, st, m, val) \ macro 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()
|