Lines Matching refs:data
38 #define SBP2_SWAP16(data) \ argument
39 ((((data) & 0xff) << 8) | ((data) >> 8))
41 #define SBP2_SWAP32(data) \ argument
42 (((uint32_t)SBP2_SWAP16((uint16_t)((data) & 0xffff)) << 16) | \
43 (uint32_t)SBP2_SWAP16((uint16_t)((data) >> 16)))
45 #define SBP2_SWAP16_1(data) (data) = SBP2_SWAP16(data) argument
46 #define SBP2_SWAP32_1(data) (data) = SBP2_SWAP32(data) argument
48 #define SBP2_SWAP16_2(data) \ argument
49 ((uint16_t *)(data))[0] = SBP2_SWAP16(((uint16_t *)(data))[0]); \
50 ((uint16_t *)(data))[1] = SBP2_SWAP16(((uint16_t *)(data))[1]);
52 #define SBP2_SWAP32_2(data) \ argument
53 ((uint32_t *)(data))[0] = SBP2_SWAP32(((uint32_t *)(data))[0]); \
54 ((uint32_t *)(data))[1] = SBP2_SWAP32(((uint32_t *)(data))[1]);
56 #define SBP2_SWAP32_BUF(data, len) sbp2_swap32_buf((uint32_t *)data, len) argument
59 #define SBP2_SWAP16(data) (data)
60 #define SBP2_SWAP32(data) (data)
61 #define SBP2_SWAP16_1(data)
62 #define SBP2_SWAP32_1(data)
63 #define SBP2_SWAP16_2(data)
64 #define SBP2_SWAP32_2(data)
65 #define SBP2_SWAP32_BUF(data, len)