Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
internal.h File Reference

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_ecfirst_ec
 

Macro Definition Documentation

#define PREFIX   "ACPI: "

Definition at line 24 of file internal.h.

Function Documentation

int acpi_boot_ec_enable ( void  )

Definition at line 894 of file ec.c.

int acpi_bus_init_power ( struct acpi_device *  device)

Definition at line 367 of file bus.c.

int acpi_device_sleep_wake ( struct acpi_device *  dev,
int  enable,
int  sleep_state,
int  dev_state 
)

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 498 of file power.c.

void acpi_early_processor_set_pdc ( void  )

Definition at line 368 of file processor_core.c.

void acpi_ec_block_transactions ( void  )

Definition at line 464 of file ec.c.

int acpi_ec_ecdt_probe ( void  )

Definition at line 982 of file ec.c.

int acpi_ec_init ( void  )

Definition at line 1068 of file ec.c.

void acpi_ec_unblock_transactions ( void  )

Definition at line 477 of file ec.c.

void acpi_ec_unblock_transactions_early ( void  )

Definition at line 490 of file ec.c.

int acpi_power_get_inferred_state ( struct acpi_device *  device,
int state 
)

Definition at line 637 of file power.c.

int acpi_power_init ( void  )

Definition at line 823 of file power.c.

int acpi_power_on_resources ( struct acpi_device *  device,
int  state 
)

Definition at line 670 of file power.c.

int acpi_power_transition ( struct acpi_device *  device,
int  state 
)

Definition at line 678 of file power.c.

int acpi_scan_init ( void  )

Definition at line 1653 of file scan.c.

int acpi_sleep_init ( void  )

Definition at line 878 of file sleep.c.

int acpi_sysfs_init ( void  )

Definition at line 719 of file sysfs.c.

int acpi_wakeup_device_init ( void  )

Definition at line 80 of file wakeup.c.

int init_acpi_device_notify ( void  )

Definition at line 289 of file glue.c.

Variable Documentation

struct acpi_ec* first_ec

Definition at line 120 of file ec.c.