Lines Matching refs:__u16
18 #define __constant_htons(x) ((__force __be16)(__u16)(x))
19 #define __constant_ntohs(x) ((__force __u16)(__be16)(x))
25 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x))
30 #define __constant_cpu_to_be16(x) ((__force __be16)(__u16)(x))
31 #define __constant_be16_to_cpu(x) ((__force __u16)(__be16)(x))
37 #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
42 #define __cpu_to_be16(x) ((__force __be16)(__u16)(x))
43 #define __be16_to_cpu(x) ((__force __u16)(__be16)(x))
61 static inline __le16 __cpu_to_le16p(const __u16 *p) in __cpu_to_le16p()
65 static inline __u16 __le16_to_cpup(const __le16 *p) in __le16_to_cpup()
67 return __swab16p((__u16 *)p); in __le16_to_cpup()
85 static inline __be16 __cpu_to_be16p(const __u16 *p) in __cpu_to_be16p()
89 static inline __u16 __be16_to_cpup(const __be16 *p) in __be16_to_cpup()
91 return (__force __u16)*p; in __be16_to_cpup()