Searched refs:xchg (Results 1 – 6 of 6) sorted by relevance
| /u-boot/arch/arm/include/asm/xen/ |
| A D | system.h | 68 #define xchg(ptr, v) __atomic_exchange_n(ptr, v, __ATOMIC_SEQ_CST) macro 69 #define xchg(ptr, v) __atomic_exchange_n(ptr, v, __ATOMIC_SEQ_CST) macro
|
| /u-boot/arch/microblaze/include/asm/ |
| A D | system.h | 130 #define xchg(ptr, with) \ macro 132 #define tas(ptr) (xchg ((ptr), 1))
|
| /u-boot/arch/x86/cpu/ |
| 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()
|
| /u-boot/arch/sh/include/asm/ |
| A D | system.h | 112 #define set_mb(var, value) do { xchg(&var, value); } while (0) 194 #define xchg(ptr,x) \ macro
|
| /u-boot/arch/mips/include/asm/ |
| A D | system.h | 241 #define xchg(ptr,x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr)))) macro 242 #define tas(ptr) (xchg((ptr),1))
|
| /u-boot/drivers/xen/ |
| A D | hypervisor.c | 158 l1 = xchg(&vcpu_info->evtchn_pending_sel, 0); in do_hypervisor_callback()
|
Completed in 13 milliseconds