Skip to content

Commit

Permalink
ACPICA: ACPI 5: Support for new FADT SleepStatus, SleepControl registers
Browse files Browse the repository at this point in the history
Adds sleep and wake support for systems with these registers.
One new file, hwxfsleep.c

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Bob Moore authored and Len Brown committed Mar 22, 2012
1 parent 384fe87 commit 2feec47
Show file tree
Hide file tree
Showing 5 changed files with 701 additions and 269 deletions.
3 changes: 2 additions & 1 deletion drivers/acpi/acpica/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ acpi-y += \
hwregs.o \
hwsleep.o \
hwvalid.o \
hwxface.o
hwxface.o \
hwxfsleep.o

acpi-$(ACPI_FUTURE_USAGE) += hwtimer.o

Expand Down
17 changes: 17 additions & 0 deletions drivers/acpi/acpica/achware.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,23 @@ acpi_status acpi_hw_register_write(u32 register_id, u32 value);

acpi_status acpi_hw_clear_acpi_status(void);

/*
* hwsleep - sleep/wake support
*/
void acpi_hw_execute_SST(u32 value);

acpi_status acpi_hw_extended_sleep(u8 sleep_state);

acpi_status acpi_hw_legacy_sleep(u8 sleep_state);

acpi_status acpi_hw_extended_wake_prep(u8 sleep_state);

acpi_status acpi_hw_extended_wake(u8 sleep_state);

acpi_status acpi_hw_legacy_wake_prep(u8 sleep_state);

acpi_status acpi_hw_legacy_wake(u8 sleep_state);

/*
* hwvalid - Port I/O with validation
*/
Expand Down
Loading

0 comments on commit 2feec47

Please sign in to comment.