Searched defs:bswap_16 (Results 1 - 4 of 4) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/utils/
H A Dcommon.h27 #define bswap_16 swap16 macro
31 #define bswap_16 bswap16 macro
44 static inline unsigned short bswap_16(unsigned short v) function
167 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
168 #define host_to_be16(n) ((__force be16) bswap_16((n)))
178 #define le_to_host16(n) bswap_16(n)
179 #define host_to_le16(n) bswap_16(n)
380 #ifndef bswap_16
381 #define bswap_16(a) ((((u16) (a) << 8) & 0xff00) | (((u16) (a) >> 8) & 0xff)) macro
/external/wpa_supplicant_8/src/utils/
H A Dcommon.h27 #define bswap_16 swap16 macro
31 #define bswap_16 bswap16 macro
44 static inline unsigned short bswap_16(unsigned short v) function
167 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
168 #define host_to_be16(n) ((__force be16) bswap_16((n)))
178 #define le_to_host16(n) bswap_16(n)
179 #define host_to_le16(n) bswap_16(n)
380 #ifndef bswap_16
381 #define bswap_16(a) ((((u16) (a) << 8) & 0xff00) | (((u16) (a) >> 8) & 0xff)) macro
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dcommon.h27 #define bswap_16 swap16 macro
31 #define bswap_16 bswap16 macro
44 static inline unsigned short bswap_16(unsigned short v) function
167 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
168 #define host_to_be16(n) ((__force be16) bswap_16((n)))
178 #define le_to_host16(n) bswap_16(n)
179 #define host_to_le16(n) bswap_16(n)
380 #ifndef bswap_16
381 #define bswap_16(a) ((((u16) (a) << 8) & 0xff00) | (((u16) (a) >> 8) & 0xff)) macro
/external/f2fs-tools/include/
H A Df2fs_fs.h36 * bswap_16 - reverse bytes in a uint16_t value.
41 * printf("1024 is %u as two bytes reversed\n", bswap_16(1024));
43 static inline uint16_t bswap_16(uint16_t val) function
97 #define le16_to_cpu(x) bswap_16(x)
100 #define cpu_to_le16(x) bswap_16(x)

Completed in 528 milliseconds