Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/arch/mips/include/asm/
Dbitrev.h19 asm("bitswap %0, %1" : "=r"(ret) : "r"(__swab16(x))); in __arch_bitrev16()
/linux-6.12.1/arch/loongarch/include/asm/
Dbitrev.h22 asm("bitrev.4b %0, %1" : "=r"(ret) : "r"(__swab16(x))); in __arch_bitrev16()
/linux-6.12.1/include/uapi/linux/byteorder/
Dlittle_endian.h42 #define __cpu_to_be16(x) ((__force __be16)__swab16((x)))
43 #define __be16_to_cpu(x) __swab16((__force __u16)(__be16)(x))
Dbig_endian.h36 #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))
37 #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
/linux-6.12.1/include/linux/
Dswab.h7 # define swab16 __swab16
/linux-6.12.1/drivers/bluetooth/
Dbtintel.h168 #define INTEL_CNVX_TOP_PACK_SWAB(t, s) __swab16(((__u16)(((t) << 4) | (s))))
/linux-6.12.1/net/nfc/
Ddigital_core.c87 crc = __swab16(crc); in digital_skb_check_crc()
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82599.c1519 #define IXGBE_STORE_AS_BE16(_value) __swab16(ntohs((_value)))
/linux-6.12.1/kernel/bpf/
Dcore.c1993 DST = (__force u16) __swab16(DST); in ___bpf_prog_run()