|
ReactOS 0.4.17-dev-1190-g4c812f4
|
#include <uacpi/sleep.h>#include <uacpi/internal/context.h>#include <uacpi/internal/log.h>#include <uacpi/internal/io.h>#include <uacpi/internal/registers.h>#include <uacpi/internal/event.h>#include <uacpi/platform/arch_helpers.h>
Go to the source code of this file.
Macros | |
| #define | CALL_SLEEP_FN(name, state) |
|
static |
Definition at line 47 of file sleep.c.
|
static |
Definition at line 407 of file sleep.c.
|
static |
Definition at line 309 of file sleep.c.
Referenced by uacpi_prepare_for_sleep_state().
|
static |
Definition at line 276 of file sleep.c.
Referenced by eval_pts(), eval_sst(), and eval_wak().
|
static |
Definition at line 319 of file sleep.c.
Referenced by eval_sst_for_state(), wake_from_sleep_state_hw_full(), and wake_from_sleep_state_hw_reduced().
|
static |
Definition at line 327 of file sleep.c.
Referenced by uacpi_prepare_for_sleep_state().
|
static |
Definition at line 314 of file sleep.c.
Referenced by wake_from_sleep_state_hw_full(), and wake_from_sleep_state_hw_reduced().
|
static |
Definition at line 200 of file sleep.c.
Referenced by uacpi_prepare_for_sleep_state().
Definition at line 396 of file sleep.c.
Referenced by enter_sleep_state_hw_reduced(), and prepare_for_wake_from_sleep_state_hw_reduced().
|
static |
|
static |
Definition at line 461 of file sleep.c.
| uacpi_status uacpi_enter_sleep_state | ( | uacpi_sleep_state | state_enum | ) |
Enter the given sleep state after preparation.
Definition at line 499 of file sleep.c.
Referenced by uacpi_enter_sleep_state_simple().
| uacpi_status uacpi_enter_sleep_state_simple | ( | uacpi_sleep_state | state | ) |
Prepare & enter a given sleep state May be used as a shortcut if the kernel doesn't have any other work to do inbetween calling the two separate helpers
Definition at line 519 of file sleep.c.
| uacpi_status uacpi_prepare_for_sleep_state | ( | uacpi_sleep_state | state_enum | ) |
Prepare for a given sleep state.
Definition at line 364 of file sleep.c.
Referenced by uacpi_enter_sleep_state_simple().
| uacpi_status uacpi_prepare_for_wake_from_sleep_state | ( | uacpi_sleep_state | state_enum | ) |
| uacpi_status uacpi_reboot | ( | void | ) |
Attempt reset via the FADT reset register.
Definition at line 558 of file sleep.c.
| uacpi_status uacpi_set_waking_vector | ( | uacpi_phys_addr | addr32, |
| uacpi_phys_addr | addr64 | ||
| ) |
Definition at line 23 of file sleep.c.
| uacpi_status uacpi_wake_from_sleep_state | ( | uacpi_sleep_state | state_enum | ) |
Wake from the given sleep state.
Note that this discards a pending press of the power & sleep buttons, as that is most likely what has woken the system up, and enables the fixed event of either one if it has a handler installed. The latter is the case even if the event was disabled via uacpi_disable_fixed_event prior to going to sleep.
Definition at line 544 of file sleep.c.
|
static |
Definition at line 167 of file sleep.c.
|
static |