Lines Matching defs:POS
135 #define _LSB_SHIFT(WIDTH, POS) (WIDTH - 1 - POS) argument
137 #define _LSB_SHIFT(WIDTH, POS) (POS) argument
141 #define _MSB_SHIFT(WIDTH, POS) (POS) argument
143 #define _MSB_SHIFT(WIDTH, POS) (WIDTH - 1 - POS) argument
214 #define LSBIT8(POS) ((unsigned8) 1 << (POS)) argument
215 #define LSBIT16(POS) ((unsigned16)1 << (POS)) argument
216 #define LSBIT32(POS) ((unsigned32)1 << (POS)) argument
217 #define LSBIT64(POS) ((unsigned64)1 << (POS)) argument
220 #define LSBIT(POS) LSBIT64 (POS) argument
223 #define LSBIT(POS) ((unsigned32)((POS) >= 32 \ argument
228 #define LSBIT(POS) ((unsigned16)((POS) >= 16 \ argument
234 #define MSBIT8(POS) ((unsigned8) 1 << ( 8 - 1 - (POS))) argument
235 #define MSBIT16(POS) ((unsigned16)1 << (16 - 1 - (POS))) argument
236 #define MSBIT32(POS) ((unsigned32)1 << (32 - 1 - (POS))) argument
237 #define MSBIT64(POS) ((unsigned64)1 << (64 - 1 - (POS))) argument
240 #define MSBIT(POS) MSBIT64 (POS) argument
243 #define MSBIT(POS) ((unsigned32)((POS) < 32 \ argument
248 #define MSBIT(POS) ((unsigned16)((POS) < 48 \ argument
256 #define BIT4(POS) (1 << _LSB_SHIFT (4, (POS))) argument
257 #define BIT5(POS) (1 << _LSB_SHIFT (5, (POS))) argument
258 #define BIT10(POS) (1 << _LSB_SHIFT (10, (POS))) argument
538 #define BLIT32(V, POS, BIT) \ argument