Lines Matching refs:position
299 * MASK_BITS_ABOVE creates a mask starting AT the position and above
300 * MASK_BITS_BELOW creates a mask starting one bit BELOW the position
306 #define ACPI_MASK_BITS_ABOVE(position) (~((ACPI_UINT64_MAX) << ((u32) (position))))
307 #define ACPI_MASK_BITS_BELOW(position) ((ACPI_UINT64_MAX) << ((u32) (position)))
330 #define ACPI_GET_BITS(source_ptr, position, mask) \
331 ((*(source_ptr) >> (position)) & (mask))
333 #define ACPI_SET_BITS(target_ptr, position, mask, value) \
334 (*(target_ptr) |= (((value) & (mask)) << (position)))
347 /* Macros to extract flag bits from position zero */
354 /* Macros to extract flag bits from position one and above */
356 #define ACPI_EXTRACT_1BIT_FLAG(field, position) (ACPI_GET_1BIT_FLAG ((field) >> position))
357 #define ACPI_EXTRACT_2BIT_FLAG(field, position) (ACPI_GET_2BIT_FLAG ((field) >> position))
358 #define ACPI_EXTRACT_3BIT_FLAG(field, position) (ACPI_GET_3BIT_FLAG ((field) >> position))
359 #define ACPI_EXTRACT_4BIT_FLAG(field, position) (ACPI_GET_4BIT_FLAG ((field) >> position))