Lines Matching defs:POS
133 #define _LSB_SHIFT(WIDTH, POS) (WIDTH - 1 - POS) argument
135 #define _LSB_SHIFT(WIDTH, POS) (POS) argument
139 #define _MSB_SHIFT(WIDTH, POS) (POS) argument
141 #define _MSB_SHIFT(WIDTH, POS) (WIDTH - 1 - POS) argument
212 #define LSBIT8(POS) ((unsigned8) 1 << (POS)) argument
213 #define LSBIT16(POS) ((unsigned16)1 << (POS)) argument
214 #define LSBIT32(POS) ((unsigned32)1 << (POS)) argument
215 #define LSBIT64(POS) ((unsigned64)1 << (POS)) argument
218 #define LSBIT(POS) LSBIT64 (POS) argument
221 #define LSBIT(POS) ((unsigned32)((POS) >= 32 \ argument
226 #define LSBIT(POS) ((unsigned16)((POS) >= 16 \ argument
232 #define MSBIT8(POS) ((unsigned8) 1 << ( 8 - 1 - (POS))) argument
233 #define MSBIT16(POS) ((unsigned16)1 << (16 - 1 - (POS))) argument
234 #define MSBIT32(POS) ((unsigned32)1 << (32 - 1 - (POS))) argument
235 #define MSBIT64(POS) ((unsigned64)1 << (64 - 1 - (POS))) argument
238 #define MSBIT(POS) MSBIT64 (POS) argument
241 #define MSBIT(POS) ((unsigned32)((POS) < 32 \ argument
246 #define MSBIT(POS) ((unsigned16)((POS) < 48 \ argument
254 #define BIT4(POS) (1 << _LSB_SHIFT (4, (POS))) argument
255 #define BIT5(POS) (1 << _LSB_SHIFT (5, (POS))) argument
256 #define BIT10(POS) (1 << _LSB_SHIFT (10, (POS))) argument
536 #define BLIT32(V, POS, BIT) \ argument