Searched refs:xchg (Results 1 – 4 of 4) sorted by relevance
| /rk3399_rockchip-uboot/arch/microblaze/include/asm/ |
| H A D | system.h | 130 #define xchg(ptr, with) \ macro 132 #define tas(ptr) (xchg ((ptr), 1))
|
| /rk3399_rockchip-uboot/arch/x86/cpu/ |
| H A D | lapic.c | 22 #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 D | system.h | 240 #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 D | system.h | 135 #define set_mb(var, value) do { xchg(&var, value); } while (0) 217 #define xchg(ptr,x) \ macro
|