Home
last modified time | relevance | path

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

/openbmc/u-boot/include/linux/byteorder/
H A Dswab.h56 # define __arch__swab16p(x) __swab16(*(x))
80 # define __swab16(x) \ macro
93 # define __swab16(x) __fswab16(x) macro
145 #define swab16 __swab16
H A Dlittle_endian.h42 #define __cpu_to_be16(x) ((__force __be16)__swab16((x)))
43 #define __be16_to_cpu(x) __swab16((__force __u16)(__be16)(x))
H A Dbig_endian.h36 #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
37 #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
/openbmc/linux/include/uapi/linux/
H A Dswab.h102 #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) macro
104 #define __swab16(x) \ macro
176 return __swab16(*p); in __swab16p()
/openbmc/linux/arch/loongarch/include/asm/
H A Dbitrev.h22 asm("bitrev.4b %0, %1" : "=r"(ret) : "r"(__swab16(x))); in __arch_bitrev16()
/openbmc/linux/arch/mips/include/asm/
H A Dbitrev.h19 asm("bitswap %0, %1" : "=r"(ret) : "r"(__swab16(x))); in __arch_bitrev16()
/openbmc/linux/include/uapi/linux/byteorder/
H A Dlittle_endian.h42 #define __cpu_to_be16(x) ((__force __be16)__swab16((x)))
43 #define __be16_to_cpu(x) __swab16((__force __u16)(__be16)(x))
H A Dbig_endian.h36 #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
37 #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
/openbmc/linux/include/linux/
H A Dswab.h7 # define swab16 __swab16
/openbmc/linux/drivers/bluetooth/
H A Dbtintel.h156 #define INTEL_CNVX_TOP_PACK_SWAB(t, s) __swab16(((__u16)(((t) << 4) | (s))))
/openbmc/linux/net/nfc/
H A Ddigital_core.c87 crc = __swab16(crc); in digital_skb_check_crc()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_82599.c1516 #define IXGBE_STORE_AS_BE16(_value) __swab16(ntohs((_value)))
/openbmc/linux/kernel/bpf/
H A Dcore.c1954 DST = (__force u16) __swab16(DST); in ___bpf_prog_run()