Lines Matching defs:MASK
53 MASK*(FIRST, LAST): `*' bit constant with bits [FIRST .. LAST]
55 generates a wrapped bit mask vis ([0..LAST] | [FIRST..LSB]).
57 LSMASK*(FIRST, LAST): Like MASK - LS bit is zero.
59 MSMASK*(FIRST, LAST): Like MASK - LS bit is zero.
78 SHUFFLED**(VALUE, OLD, NEW): Mask then move a single bit from OLD
110 Note: Only the BIT* and MASK* macros return a constant that can be
271 /* multi bit mask */
286 #define MASK(START, STOP) \
295 #define MASK(START, STOP) \
312 #define MASK(START, STOP) \
328 #if !defined (MASK)
329 #error "MASK never undefined"
333 /* Multi-bit mask on least significant bits */
344 #define LSMASK(FIRST, LAST) (MASK (_LSB_POS (64, FIRST), _LSB_POS (64, LAST)))
347 /* Multi-bit mask on most significant bits */
358 #define MSMASK(FIRST, LAST) (MASK (_MSB_POS (64, FIRST), _MSB_POS (64, LAST)))
376 /* mask the required bits, leaving them in place */