Searched refs:___constant_swab16 (Results 1 – 3 of 3) sorted by relevance
34 #define __constant_htons(x) ((__force __be16) ___constant_swab16((x)))35 #define __constant_ntohs(x) ___constant_swab16((__force __be16) (x))49 #define __constant_cpu_to_be16(x) ((__force __be16) ___constant_swab16((x)))50 #define __constant_be16_to_cpu(x) ___constant_swab16((__force __u16) (__be16) (x))
41 #define __constant_cpu_to_le16(x) ((__force __le16) ___constant_swab16((x)))42 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16) (__le16) (x))
25 #define ___constant_swab16(x) ((__u16) ((((__u16) (x) & (__u16) 0x00ffU) << 8) | (((__u16) (x) & (_… macro55 #define __swab16(x) (__builtin_constant_p((__u16) (x)) ? ___constant_swab16(x) : __fswab16(x))