Searched refs:__bswap_16 (Results 1 – 3 of 3) sorted by relevance
11 #ifndef __bswap_1613 # define __bswap_16(x) \ macro19 __bswap_16 (unsigned short int __bsx) in __bswap_16() function
18 #ifndef __bswap_1619 #define __bswap_16(x) ((uint16_t) ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8))) macro214 #define sys_be16_to_cpu(val) __bswap_16(val)217 #define sys_cpu_to_be16(val) __bswap_16(val)
98 #define le_to_host16(n) __bswap_16(n)99 #define host_to_le16(n) __bswap_16(n)