Home
last modified time | relevance | path

Searched refs:__xchg (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/tools/memory-model/
H A Dlinux-kernel.def31 xchg(X,V) __xchg{mb}(X,V)
32 xchg_relaxed(X,V) __xchg{once}(X,V)
33 xchg_release(X,V) __xchg{release}(X,V)
34 xchg_acquire(X,V) __xchg{acquire}(X,V)
107 atomic_xchg(X,V) __xchg{mb}(X,V)
108 atomic_xchg_relaxed(X,V) __xchg{once}(X,V)
109 atomic_xchg_release(X,V) __xchg{release}(X,V)
110 atomic_xchg_acquire(X,V) __xchg{acquire}(X,V)
/openbmc/u-boot/arch/microblaze/include/asm/
H A Dsystem.h131 ((__typeof__ (*(ptr)))__xchg ((unsigned long)(with), (ptr), sizeof (*(ptr))))
134 static inline unsigned long __xchg(unsigned long with, in __xchg() function
/openbmc/u-boot/arch/x86/cpu/
H A Dlapic.c21 #define xchg(ptr, v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v), (ptr), \
33 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, in __xchg() function
/openbmc/u-boot/arch/mips/include/asm/
H A Dsystem.h241 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
245 __xchg(unsigned long x, volatile void * ptr, int size) in __xchg() function
/openbmc/u-boot/arch/sh/include/asm/
H A Dsystem.h197 #define __xchg(ptr, x, size) \ macro
218 ((__typeof__(*(ptr)))__xchg((ptr),(unsigned long)(x), sizeof(*(ptr))))
/openbmc/u-boot/arch/arm/include/asm/proc-armv/
H A Dsystem.h183 static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size) in __xchg() function