Searched refs:__swab16 (Results 1 – 4 of 4) sorted by relevance
56 #define __cpu_to_be16(x) (( __be16) __swab16((x)))57 #define __be16_to_cpu(x) __swab16(( __u16) (__be16) (x))
50 #define __cpu_to_le16(x) (( __le16) __swab16((x)))51 #define __le16_to_cpu(x) __swab16(( __u16) (__le16) (x))
54 #define __swab16(x) (__u16) __builtin_bswap16((__u16) (x)) macro66 return __swab16(* p); in __swab16p()
25 EXPECT_EQ(0x3412U, __swab16(0x1234)); in TEST()