Home
last modified time | relevance | path

Searched refs:ACPI_ROUND_DOWN (Results 1 – 2 of 2) sorted by relevance

/drivers/acpi/acpica/
Dexprep.c105 field_byte_offset = ACPI_DIV_8(ACPI_ROUND_DOWN(field_bit_offset, 8)); in acpi_ex_generate_access()
139 ACPI_ROUND_DOWN(field_byte_offset, in acpi_ex_generate_access()
386 ACPI_ROUND_DOWN(nearest_byte_address, byte_alignment); in acpi_ex_prep_common_field_object()
598 (u32) ACPI_ROUND_DOWN(ACPI_DIV_8(info->field_bit_position), in acpi_ex_prep_field_value()
Dacmacros.h235 #define ACPI_ROUND_DOWN(value, boundary) (((acpi_size)(value)) & \ macro
244 #define ACPI_ROUND_DOWN_TO_32BIT(a) ACPI_ROUND_DOWN(a, 4)
245 #define ACPI_ROUND_DOWN_TO_64BIT(a) ACPI_ROUND_DOWN(a, 8)
246 #define ACPI_ROUND_DOWN_TO_NATIVE_WORD(a) ACPI_ROUND_DOWN(a, sizeof(acpi_size))