Home
last modified time | relevance | path

Searched refs:_o_ (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/arch/ia64/include/uapi/asm/
H A Dcmpxchg.h71 __u64 _o_, _r_; \
75 _o_ = (__u8) (long __force) (old); \
78 _o_ = (__u16) (long __force) (old); \
81 _o_ = (__u32) (long __force) (old); \
84 _o_ = (__u64) (long __force) (old); \
91 _r_ = ia64_cmpxchg1_##sem((__u8 __force *) ptr, new, _o_); \
95 _r_ = ia64_cmpxchg2_##sem((__u16 __force *) ptr, new, _o_); \
99 _r_ = ia64_cmpxchg4_##sem((__u32 __force *) ptr, new, _o_); \
103 _r_ = ia64_cmpxchg8_##sem((__u64 __force *) ptr, new, _o_); \
/openbmc/u-boot/drivers/net/
H A Dax88796.h51 #define DP_IN(_b_, _o_, _d_) (_d_) = \ argument
52 *( (vu_short *) ((_b_) + ((_o_) * 2) + ISA_OFFSET))
53 #define DP_OUT(_b_, _o_, _d_) \ argument
54 *((vu_short *)((_b_) + ((_o_) * 2) + ISA_OFFSET)) = (_d_)
60 #define DP_IN(_b_, _o_, _d_) (_d_) = *( (vu_short *)((_b_)+(_o_ )+ISA_OFFSET)) argument
61 #define DP_OUT(_b_, _o_, _d_) *((vu_short *)((_b_)+(_o_)+ISA_OFFSET)) = (_d_) argument
H A Dne2000.h90 #define DP_IN(_b_, _o_, _d_) (_d_) = *( (vu_char *) ((_b_)+(_o_))) argument
91 #define DP_OUT(_b_, _o_, _d_) *( (vu_char *) ((_b_)+(_o_))) = (_d_) argument
/openbmc/linux/arch/riscv/include/asm/
H A Dcmpxchg.h204 __typeof__(*(ptr)) _o_ = (o); \
207 _o_, _n_, sizeof(*(ptr))); \
250 __typeof__(*(ptr)) _o_ = (o); \
253 _o_, _n_, sizeof(*(ptr))); \
296 __typeof__(*(ptr)) _o_ = (o); \
299 _o_, _n_, sizeof(*(ptr))); \
342 __typeof__(*(ptr)) _o_ = (o); \
345 _o_, _n_, sizeof(*(ptr))); \
/openbmc/linux/arch/arc/include/asm/
H A Dcmpxchg.h44 __typeof__(*(ptr)) _o_ = (old); \
50 _prev_ = __cmpxchg(_p_, _o_, _n_); \
63 __typeof__(*(ptr)) _o_ = (old); \
75 if (_prev_ == _o_) \
/openbmc/linux/arch/alpha/include/asm/
H A Dcmpxchg.h22 __typeof__(*(ptr)) _o_ = (o); \
24 (__typeof__(*(ptr))) __cmpxchg_local((ptr), (unsigned long)_o_, \
59 __typeof__(*(ptr)) _o_ = (o); \
63 (unsigned long)_o_, (unsigned long)_n_, sizeof(*(ptr)));\
/openbmc/linux/arch/powerpc/include/asm/
H A Dcmpxchg.h701 __typeof__(*(ptr)) _o_ = (o); \
703 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
710 __typeof__(*(ptr)) _o_ = (o); \
712 (__typeof__(*(ptr))) __cmpxchg_local((ptr), (unsigned long)_o_, \
718 __typeof__(*(ptr)) _o_ = (o); \
721 (unsigned long)_o_, (unsigned long)_n_, \
727 __typeof__(*(ptr)) _o_ = (o); \
730 (unsigned long)_o_, (unsigned long)_n_, \
/openbmc/linux/arch/sh/include/asm/
H A Dcmpxchg.h68 __typeof__(*(ptr)) _o_ = (o); \
70 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
/openbmc/linux/arch/sparc/include/asm/
H A Dcmpxchg_32.h60 __typeof__(*(ptr)) _o_ = (o); \
62 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
H A Dcmpxchg_64.h173 __typeof__(*(ptr)) _o_ = (o); \
175 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
/openbmc/linux/arch/parisc/include/asm/
H A Dcmpxchg.h83 __typeof__(*(ptr)) _o_ = (o); \
85 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
/openbmc/linux/arch/xtensa/include/asm/
H A Dcmpxchg.h84 ({ __typeof__(*(ptr)) _o_ = (o); \
86 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \
/openbmc/u-boot/arch/sh/include/asm/
H A Dsystem.h253 __typeof__(*(ptr)) _o_ = (o); \
255 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \