Lines Matching refs:w

49 #define	UGETB(w)			\  argument
50 ((w)[0])
52 #define UGETW(w) \ argument
53 ((w)[0] | \
54 (((uint16_t)((w)[1])) << 8))
56 #define UGETDW(w) \ argument
57 ((w)[0] | \
58 (((uint16_t)((w)[1])) << 8) | \
59 (((uint32_t)((w)[2])) << 16) | \
60 (((uint32_t)((w)[3])) << 24))
62 #define UGETQW(w) \ argument
63 ((w)[0] | \
64 (((uint16_t)((w)[1])) << 8) | \
65 (((uint32_t)((w)[2])) << 16) | \
66 (((uint32_t)((w)[3])) << 24) | \
67 (((uint64_t)((w)[4])) << 32) | \
68 (((uint64_t)((w)[5])) << 40) | \
69 (((uint64_t)((w)[6])) << 48) | \
70 (((uint64_t)((w)[7])) << 56))
72 #define USETB(w,v) do { \ argument
73 (w)[0] = (uint8_t)(v); \
76 #define USETW(w,v) do { \ argument
77 (w)[0] = (uint8_t)(v); \
78 (w)[1] = (uint8_t)((v) >> 8); \
81 #define USETDW(w,v) do { \ argument
82 (w)[0] = (uint8_t)(v); \
83 (w)[1] = (uint8_t)((v) >> 8); \
84 (w)[2] = (uint8_t)((v) >> 16); \
85 (w)[3] = (uint8_t)((v) >> 24); \
88 #define USETQW(w,v) do { \ argument
89 (w)[0] = (uint8_t)(v); \
90 (w)[1] = (uint8_t)((v) >> 8); \
91 (w)[2] = (uint8_t)((v) >> 16); \
92 (w)[3] = (uint8_t)((v) >> 24); \
93 (w)[4] = (uint8_t)((v) >> 32); \
94 (w)[5] = (uint8_t)((v) >> 40); \
95 (w)[6] = (uint8_t)((v) >> 48); \
96 (w)[7] = (uint8_t)((v) >> 56); \
99 #define USETW2(w,b1,b0) do { \ argument
100 (w)[0] = (uint8_t)(b0); \
101 (w)[1] = (uint8_t)(b1); \
104 #define USETW4(w,b3,b2,b1,b0) do { \ argument
105 (w)[0] = (uint8_t)(b0); \
106 (w)[1] = (uint8_t)(b1); \
107 (w)[2] = (uint8_t)(b2); \
108 (w)[3] = (uint8_t)(b3); \
111 #define USETW8(w,b7,b6,b5,b4,b3,b2,b1,b0) do { \ argument
112 (w)[0] = (uint8_t)(b0); \
113 (w)[1] = (uint8_t)(b1); \
114 (w)[2] = (uint8_t)(b2); \
115 (w)[3] = (uint8_t)(b3); \
116 (w)[4] = (uint8_t)(b4); \
117 (w)[5] = (uint8_t)(b5); \
118 (w)[6] = (uint8_t)(b6); \
119 (w)[7] = (uint8_t)(b7); \