Home
last modified time | relevance | path

Searched refs:xchg (Results 1 – 4 of 4) sorted by relevance

/rk3399_rockchip-uboot/arch/microblaze/include/asm/
H A Dsystem.h130 #define xchg(ptr, with) \ macro
132 #define tas(ptr) (xchg ((ptr), 1))
/rk3399_rockchip-uboot/arch/x86/cpu/
H A Dlapic.c22 #define xchg(ptr, v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v), (ptr), \ macro
63 (void)xchg((volatile unsigned long *)(LAPIC_DEFAULT_BASE + reg), v); in lapic_write()
/rk3399_rockchip-uboot/arch/mips/include/asm/
H A Dsystem.h240 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) macro
241 #define tas(ptr) (xchg((ptr),1))
/rk3399_rockchip-uboot/arch/sh/include/asm/
H A Dsystem.h135 #define set_mb(var, value) do { xchg(&var, value); } while (0)
217 #define xchg(ptr,x) \ macro