Home | History | Annotate | Download | only in include

Lines Matching refs:Position

445  * MASK_BITS_ABOVE creates a mask starting AT the position and above
446 * MASK_BITS_BELOW creates a mask starting one bit BELOW the position
452 #define ACPI_MASK_BITS_ABOVE(position) (~((ACPI_UINT64_MAX) << ((UINT32) (position))))
453 #define ACPI_MASK_BITS_BELOW(position) ((ACPI_UINT64_MAX) << ((UINT32) (position)))
476 #define ACPI_GET_BITS(SourcePtr, Position, Mask) \
477 ((*(SourcePtr) >> (Position)) & (Mask))
479 #define ACPI_SET_BITS(TargetPtr, Position, Mask, Value) \
480 (*(TargetPtr) |= (((Value) & (Mask)) << (Position)))
493 /* Macros to extract flag bits from position zero */
500 /* Macros to extract flag bits from position one and above */
502 #define ACPI_EXTRACT_1BIT_FLAG(Field, Position) (ACPI_GET_1BIT_FLAG ((Field) >> Position))
503 #define ACPI_EXTRACT_2BIT_FLAG(Field, Position) (ACPI_GET_2BIT_FLAG ((Field) >> Position))
504 #define ACPI_EXTRACT_3BIT_FLAG(Field, Position) (ACPI_GET_3BIT_FLAG ((Field) >> Position))
505 #define ACPI_EXTRACT_4BIT_FLAG(Field, Position) (ACPI_GET_4BIT_FLAG ((Field) >> Position))