Searched refs:__u16 (Results 1 – 3 of 3) sorted by relevance
18 #define ___constant_swab16(x) ((__u16)( \19 (((__u16)(x) & (__u16)0x00ffU) << 8) | \20 (((__u16)(x) & (__u16)0xff00U) >> 8)))52 static inline __attribute_const__ __u16 __fswab16(__u16 val) in __fswab16()106 #define __swab16(x) (__u16)__builtin_bswap16((__u16)(x))109 (__u16)(__builtin_constant_p(x) ? \175 static __always_inline __u16 __swab16p(const __u16 *p) in __swab16p()244 static inline void __swab16s(__u16 *p) in __swab16s()
24 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x))25 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x))31 #define __constant_be16_to_cpu(x) ___constant_swab16((__force __u16)(__be16)(x))36 #define __cpu_to_le16(x) ((__force __le16)(__u16)(x))37 #define __le16_to_cpu(x) ((__force __u16)(__le16)(x))43 #define __be16_to_cpu(x) __swab16((__force __u16)(__be16)(x))61 static __always_inline __le16 __cpu_to_le16p(const __u16 *p) in __cpu_to_le16p()65 static __always_inline __u16 __le16_to_cpup(const __le16 *p) in __le16_to_cpup()67 return (__force __u16)*p; in __le16_to_cpup()85 static __always_inline __be16 __cpu_to_be16p(const __u16 *p) in __cpu_to_be16p()[all …]
26 typedef unsigned short __u16; typedef44 typedef __u16 u16;72 typedef __u16 __bitwise __le16;73 typedef __u16 __bitwise __be16;79 typedef __u16 __bitwise __sum16;