Searched refs:bswap_16 (Results 1 – 10 of 10) sorted by relevance
27 #ifndef bswap_16 in ATF_TC_BODY()55 ATF_REQUIRE_MSG(0x3412 == bswap_16(ui16), in ATF_TC_BODY()56 "bswap16(%#x) != 0x3412 instead %#x\n", ui16, bswap_16(ui16)); in ATF_TC_BODY()
23 #ifdef bswap_16 in ATF_TC_BODY()
27 #define bswap_16 swap16 macro31 #define bswap_16 bswap16 macro44 static inline unsigned short bswap_16(unsigned short v) in bswap_16() function61 #define bswap_16 CPU_swap_u16 macro177 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))178 #define host_to_be16(n) ((__force be16) bswap_16((n)))188 #define le_to_host16(n) bswap_16(n)189 #define host_to_le16(n) bswap_16(n)408 #ifndef bswap_16409 #define bswap_16(a) ((((u16) (a) << 8) & 0xff00) | (((u16) (a) >> 8) & 0xff)) macro
60 #define cl_ntoh16(x) bswap_16(x)61 #define cl_hton16(x) bswap_16(x)
38 #define bswap_16 bswap16 macro
37 #define bswap_16(x) __bswap16(x) macro
85 #define htols(s) bswap_16(s)
134 # define _cdf_tole2(x) bswap_16(x)
135 #define swap2(x) bswap_16(x)