Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
wakeup.c File Reference
#include <linux/init.h>
#include <linux/acpi.h>
#include <acpi/acpi_drivers.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include "internal.h"
#include "sleep.h"

Go to the source code of this file.

Macros

#define _COMPONENT   ACPI_SYSTEM_COMPONENT
 

Functions

void acpi_enable_wakeup_devices (u8 sleep_state)
 
void acpi_disable_wakeup_devices (u8 sleep_state)
 
int __init acpi_wakeup_device_init (void)
 

Macro Definition Documentation

#define _COMPONENT   ACPI_SYSTEM_COMPONENT

Definition at line 20 of file wakeup.c.

Function Documentation

void acpi_disable_wakeup_devices ( u8  sleep_state)

acpi_disable_wakeup_devices - Disable devices' wakeup capability. : ACPI system sleep state.

Definition at line 58 of file wakeup.c.

void acpi_enable_wakeup_devices ( u8  sleep_state)

acpi_enable_wakeup_devices - Enable wake-up device GPEs. : ACPI system sleep state.

Enable wakeup device power of devices with the state.enable flag set and set the wakeup enable mask bits in the GPE registers that correspond to wakeup devices.

Definition at line 31 of file wakeup.c.

int __init acpi_wakeup_device_init ( void  )

Definition at line 80 of file wakeup.c.