51 #define _COMPONENT ACPI_HARDWARE
54 #if (!ACPI_REDUCED_HARDWARE)
110 "Unsupported address space: 0x%X", reg->
space_id));
120 "Unsupported register bit width: 0x%X",
129 "Unsupported register bit offset: 0x%X",
184 *value = (
u32)value64;
192 "Read: %8.8X width %2d from %8.8X%8.8X (%s)\n",
243 "Wrote: %8.8X width %2d to %8.8X%8.8X (%s)\n",
250 #if (!ACPI_REDUCED_HARDWARE)
376 switch (register_id) {
379 status = acpi_hw_read_multiple(&value,
386 status = acpi_hw_read_multiple(&value,
393 status = acpi_hw_read_multiple(&value,
397 xpm1b_control_block);
431 *return_value =
value;
470 switch (register_id) {
484 status = acpi_hw_write_multiple(value,
491 status = acpi_hw_write_multiple(value,
502 status = acpi_hw_read_multiple(&read_value,
506 xpm1b_control_block);
518 status = acpi_hw_write_multiple(value,
522 xpm1b_control_block);
619 *value = (value_a | value_b);
638 acpi_hw_write_multiple(
u32 value,