Searched refs:__swab16 (Results 1 – 6 of 6) sorted by relevance
102 #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x)) macro104 #define __swab16(x) \ macro176 return __swab16(*p); in __swab16p()
7 # define swab16 __swab16
19 asm("bitswap %0, %1" : "=r"(ret) : "r"(__swab16(x))); in __arch_bitrev16()
35 #define __cpu_to_le16(x) ((__force __le16)__swab16((x)))36 #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
41 #define __cpu_to_be16(x) ((__force __be16)__swab16((x)))42 #define __be16_to_cpu(x) __swab16((__force __u16)(__be16)(x))
87 crc = __swab16(crc); in digital_skb_check_crc()