Home
last modified time | relevance | path

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

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