Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | acpi_ec |
Macros | |
#define | PREFIX "ACPI: " |
Functions | |
int | init_acpi_device_notify (void) |
int | acpi_scan_init (void) |
int | acpi_sysfs_init (void) |
int | acpi_power_init (void) |
int | acpi_device_sleep_wake (struct acpi_device *dev, int enable, int sleep_state, int dev_state) |
int | acpi_power_get_inferred_state (struct acpi_device *device, int *state) |
int | acpi_power_on_resources (struct acpi_device *device, int state) |
int | acpi_power_transition (struct acpi_device *device, int state) |
int | acpi_bus_init_power (struct acpi_device *device) |
int | acpi_wakeup_device_init (void) |
void | acpi_early_processor_set_pdc (void) |
int | acpi_ec_init (void) |
int | acpi_ec_ecdt_probe (void) |
int | acpi_boot_ec_enable (void) |
void | acpi_ec_block_transactions (void) |
void | acpi_ec_unblock_transactions (void) |
void | acpi_ec_unblock_transactions_early (void) |
int | acpi_sleep_init (void) |
Variables | |
struct acpi_ec * | first_ec |
#define PREFIX "ACPI: " |
Definition at line 24 of file internal.h.
acpi_device_sleep_wake - execute _DSW (Device Sleep Wake) or (deprecated in ACPI 3.0) _PSW (Power State Wake) : Device to handle. : 0 - disable, 1 - enable the wake capabilities of the device. : Target sleep state of the system. : Target power state of the device.
Execute _DSW (Device Sleep Wake) or (deprecated in ACPI 3.0) _PSW (Power State Wake) for the device, if present. On failure reset the device's wakeup.flags.valid flag.
RETURN VALUE: 0 if either _DSW or _PSW has been successfully executed 0 if neither _DSW nor _PSW has been found -ENODEV if the execution of either _DSW or _PSW has failed
Definition at line 368 of file processor_core.c.