Home
last modified time | relevance | path

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

/linux/drivers/acpi/acpica/
H A Dexprep.c71 field_byte_offset = ACPI_DIV_8(ACPI_ROUND_DOWN(field_bit_offset, 8)); in acpi_ex_generate_access()
105 ACPI_ROUND_DOWN(field_byte_offset, in acpi_ex_generate_access()
352 ACPI_ROUND_DOWN(nearest_byte_address, byte_alignment); in acpi_ex_prep_common_field_object()
563 (u32) ACPI_ROUND_DOWN(ACPI_DIV_8(info->field_bit_position), in acpi_ex_prep_field_value()
H A Dacmacros.h201 #define ACPI_ROUND_DOWN(value, boundary) (((acpi_size)(value)) & \ macro
210 #define ACPI_ROUND_DOWN_TO_32BIT(a) ACPI_ROUND_DOWN(a, 4)
211 #define ACPI_ROUND_DOWN_TO_64BIT(a) ACPI_ROUND_DOWN(a, 8)
212 #define ACPI_ROUND_DOWN_TO_NATIVE_WORD(a) ACPI_ROUND_DOWN(a, sizeof(acpi_size))