Searched refs:__swab16 (Results 1 – 10 of 10) sorted by relevance
102 #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) macro104 #define __swab16(x) \ macro176 return __swab16(*p); in __swab16p()
22 asm("bitrev.4b %0, %1" : "=r"(ret) : "r"(__swab16(x))); in __arch_bitrev16()
19 asm("bitswap %0, %1" : "=r"(ret) : "r"(__swab16(x))); in __arch_bitrev16()
36 #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))37 #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
42 #define __cpu_to_be16(x) ((__force __be16)__swab16((x)))43 #define __be16_to_cpu(x) __swab16((__force __u16)(__be16)(x))
7 # define swab16 __swab16
156 #define INTEL_CNVX_TOP_PACK_SWAB(t, s) __swab16(((__u16)(((t) << 4) | (s))))
87 crc = __swab16(crc); in digital_skb_check_crc()
1517 #define IXGBE_STORE_AS_BE16(_value) __swab16(ntohs((_value)))
1937 DST = (__force u16) __swab16(DST); in ___bpf_prog_run()