#include <ntddk.h>
#include <acpi.h>
#include <acpi_bus.h>
#include <acpi_drivers.h>
#include <glue.h>
#include <debug.h>
Go to the source code of this file.
Data Structures |
| struct | acpi_power_reference |
| struct | acpi_power_resource |
Defines |
| #define | NDEBUG |
| #define | _COMPONENT ACPI_POWER_COMPONENT |
| #define | ACPI_POWER_RESOURCE_STATE_OFF 0x00 |
| #define | ACPI_POWER_RESOURCE_STATE_ON 0x01 |
| #define | ACPI_POWER_RESOURCE_STATE_UNKNOWN 0xFF |
Functions |
| static int | acpi_power_add (struct acpi_device *device) |
| static int | acpi_power_remove (struct acpi_device *device, int type) |
| static int | acpi_power_resume (struct acpi_device *device, int state) |
| static int | acpi_power_get_context (ACPI_HANDLE handle, struct acpi_power_resource **resource) |
| static int | acpi_power_get_state (ACPI_HANDLE handle, int *state) |
| static int | acpi_power_get_list_state (struct acpi_handle_list *list, int *state) |
| static int | acpi_power_on (ACPI_HANDLE handle, struct acpi_device *dev) |
| static int | acpi_power_off_device (ACPI_HANDLE handle, struct acpi_device *dev) |
| int | acpi_device_sleep_wake (struct acpi_device *dev, int enable, int sleep_state, int dev_state) |
| int | acpi_enable_wakeup_device_power (struct acpi_device *dev, int sleep_state) |
| int | acpi_disable_wakeup_device_power (struct acpi_device *dev) |
| int | acpi_power_get_inferred_state (struct acpi_device *device) |
| int | acpi_power_transition (struct acpi_device *device, int state) |
| int | acpi_power_init (void) |
Variables |
| int | acpi_power_nocheck |
| static struct acpi_driver | acpi_power_driver |
| static struct list_head | acpi_power_resource_list |