ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

power.c File Reference
#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

Generated on Mon May 28 2012 05:11:39 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.