Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
acpi_drivers.h File Reference
#include <linux/acpi.h>
#include <acpi/acpi_bus.h>

Go to the source code of this file.

Data Structures

struct  acpi_dock_ops


#define ACPI_MAX_STRING   80
#define ACPI_BUS_COMPONENT   0x00010000
#define ACPI_AC_COMPONENT   0x00020000
#define ACPI_BATTERY_COMPONENT   0x00040000
#define ACPI_BUTTON_COMPONENT   0x00080000
#define ACPI_SBS_COMPONENT   0x00100000
#define ACPI_FAN_COMPONENT   0x00200000
#define ACPI_PCI_COMPONENT   0x00400000
#define ACPI_POWER_COMPONENT   0x00800000
#define ACPI_CONTAINER_COMPONENT   0x01000000
#define ACPI_SYSTEM_COMPONENT   0x02000000
#define ACPI_THERMAL_COMPONENT   0x04000000
#define ACPI_VIDEO_COMPONENT   0x10000000
#define ACPI_PROCESSOR_COMPONENT   0x20000000


int acpi_irq_penalty_init (void)
int acpi_pci_link_allocate_irq (acpi_handle handle, int index, int *triggering, int *polarity, char **name)
int acpi_pci_link_free_irq (acpi_handle handle)
int acpi_pci_irq_add_prt (acpi_handle handle, struct pci_bus *bus)
void acpi_pci_irq_del_prt (struct pci_bus *bus)
struct pci_devacpi_get_pci_dev (acpi_handle)
int acpi_pci_bind_root (struct acpi_device *device)
struct pci_buspci_acpi_scan_root (struct acpi_pci_root *root)
void pci_acpi_crs_quirks (void)

Macro Definition Documentation

#define ACPI_AC_COMPONENT   0x00020000

Definition at line 39 of file acpi_drivers.h.

#define ACPI_BATTERY_COMPONENT   0x00040000

Definition at line 40 of file acpi_drivers.h.


Definition at line 66 of file acpi_drivers.h.

#define ACPI_BUS_COMPONENT   0x00010000

Definition at line 38 of file acpi_drivers.h.

#define ACPI_BUTTON_COMPONENT   0x00080000

Definition at line 41 of file acpi_drivers.h.


Definition at line 63 of file acpi_drivers.h.


Definition at line 64 of file acpi_drivers.h.

#define ACPI_CONTAINER_COMPONENT   0x01000000

Definition at line 46 of file acpi_drivers.h.


Definition at line 67 of file acpi_drivers.h.

#define ACPI_FAN_COMPONENT   0x00200000

Definition at line 43 of file acpi_drivers.h.


Definition at line 79 of file acpi_drivers.h.

#define ACPI_MAX_STRING   80

Definition at line 32 of file acpi_drivers.h.


Definition at line 49 of file acpi_drivers.h.

#define ACPI_PCI_COMPONENT   0x00400000

Definition at line 44 of file acpi_drivers.h.

#define ACPI_POWER_COMPONENT   0x00800000

Definition at line 45 of file acpi_drivers.h.


Definition at line 59 of file acpi_drivers.h.

#define ACPI_PROCESSOR_COMPONENT   0x20000000

Definition at line 51 of file acpi_drivers.h.


Definition at line 116 of file acpi_drivers.h.


Definition at line 115 of file acpi_drivers.h.


Definition at line 114 of file acpi_drivers.h.


Definition at line 60 of file acpi_drivers.h.

#define ACPI_SBS_COMPONENT   0x00100000

Definition at line 42 of file acpi_drivers.h.


Definition at line 69 of file acpi_drivers.h.

#define ACPI_SYSTEM_COMPONENT   0x02000000

Definition at line 47 of file acpi_drivers.h.


Definition at line 61 of file acpi_drivers.h.

#define ACPI_THERMAL_COMPONENT   0x04000000

Definition at line 48 of file acpi_drivers.h.


Definition at line 62 of file acpi_drivers.h.

#define ACPI_VIDEO_COMPONENT   0x10000000

Definition at line 50 of file acpi_drivers.h.


Definition at line 65 of file acpi_drivers.h.

Function Documentation

struct pci_dev* acpi_get_pci_dev ( acpi_handle  handle)

acpi_get_pci_dev - convert ACPI CA handle to struct pci_dev : the handle in question

Given an ACPI CA handle, the desired PCI device is located in the list of PCI devices.

If the device is found, its reference count is increased and this function returns a pointer to its data structure. The caller must decrement the reference count by calling pci_dev_put(). If no device is found, NULL is returned.

Definition at line 302 of file pci_root.c.

int acpi_irq_penalty_init ( void  )

Definition at line 479 of file pci_link.c.

int acpi_pci_bind_root ( struct acpi_device *  device)

Definition at line 114 of file pci_bind.c.

int acpi_pci_irq_add_prt ( acpi_handle  handle,
struct pci_bus bus 

Definition at line 247 of file pci_irq.c.

void acpi_pci_irq_del_prt ( struct pci_bus bus)

Definition at line 285 of file pci_irq.c.

int acpi_pci_link_allocate_irq ( acpi_handle  handle,
int  index,
int triggering,
int polarity,
char **  name 

Definition at line 589 of file pci_link.c.

int acpi_pci_link_free_irq ( acpi_handle  handle)

Definition at line 644 of file pci_link.c.

void pci_acpi_crs_quirks ( void  )

Definition at line 104 of file acpi.c.

struct pci_bus* pci_acpi_scan_root ( struct acpi_pci_root *  root)

Definition at line 328 of file pci.c.