Lines Matching refs:uint64_t

27 #define BSWAP_40(x) ((uint64_t) ((((x) >> 32) & 0xff) | \
32 #define BSWAP_48(x) ((uint64_t) ((((x) >> 40) & 0xff) | \
38 #define BSWAP_64(x) ((uint64_t) ((((x) >> 56) & 0xff) | \
365 static inline void sys_put_be40(uint64_t val, uint8_t dst[5]) in sys_put_be40()
380 static inline void sys_put_be48(uint64_t val, uint8_t dst[6]) in sys_put_be48()
395 static inline void sys_put_be64(uint64_t val, uint8_t dst[8]) in sys_put_be64()
455 static inline void sys_put_le40(uint64_t val, uint8_t dst[5]) in sys_put_le40()
470 static inline void sys_put_le48(uint64_t val, uint8_t dst[6]) in sys_put_le48()
485 static inline void sys_put_le64(uint64_t val, uint8_t dst[8]) in sys_put_le64()
546 static inline uint64_t sys_get_be40(const uint8_t src[5]) in sys_get_be40()
548 return ((uint64_t)sys_get_be32(&src[0]) << 8) | src[4]; in sys_get_be40()
561 static inline uint64_t sys_get_be48(const uint8_t src[6]) in sys_get_be48()
563 return ((uint64_t)sys_get_be32(&src[0]) << 16) | sys_get_be16(&src[4]); in sys_get_be48()
576 static inline uint64_t sys_get_be64(const uint8_t src[8]) in sys_get_be64()
578 return ((uint64_t)sys_get_be32(&src[0]) << 32) | sys_get_be32(&src[4]); in sys_get_be64()
636 static inline uint64_t sys_get_le40(const uint8_t src[5]) in sys_get_le40()
638 return ((uint64_t)sys_get_le32(&src[1]) << 8) | src[0]; in sys_get_le40()
651 static inline uint64_t sys_get_le48(const uint8_t src[6]) in sys_get_le48()
653 return ((uint64_t)sys_get_le32(&src[2]) << 16) | sys_get_le16(&src[0]); in sys_get_le48()
666 static inline uint64_t sys_get_le64(const uint8_t src[8]) in sys_get_le64()
668 return ((uint64_t)sys_get_le32(&src[4]) << 32) | sys_get_le32(&src[0]); in sys_get_le64()