Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
hwpci.c File Reference
#include <acpi/acpi.h>
#include "accommon.h"

Go to the source code of this file.

Data Structures

struct  acpi_pci_device
 

Macros

#define _COMPONENT   ACPI_NAMESPACE
 
#define PCI_CFG_HEADER_TYPE_REG   0x0E
 
#define PCI_CFG_PRIMARY_BUS_NUMBER_REG   0x18
 
#define PCI_CFG_SECONDARY_BUS_NUMBER_REG   0x19
 
#define PCI_HEADER_TYPE_MASK   0x7F
 
#define PCI_TYPE_BRIDGE   0x01
 
#define PCI_TYPE_CARDBUS_BRIDGE   0x02
 

Typedefs

typedef struct acpi_pci_device acpi_pci_device
 

Functions

acpi_status acpi_hw_derive_pci_id (struct acpi_pci_id *pci_id, acpi_handle root_pci_device, acpi_handle pci_region)
 

Macro Definition Documentation

#define _COMPONENT   ACPI_NAMESPACE

Definition at line 47 of file hwpci.c.

#define PCI_CFG_HEADER_TYPE_REG   0x0E

Definition at line 51 of file hwpci.c.

#define PCI_CFG_PRIMARY_BUS_NUMBER_REG   0x18

Definition at line 52 of file hwpci.c.

#define PCI_CFG_SECONDARY_BUS_NUMBER_REG   0x19

Definition at line 53 of file hwpci.c.

#define PCI_HEADER_TYPE_MASK   0x7F

Definition at line 55 of file hwpci.c.

#define PCI_TYPE_BRIDGE   0x01

Definition at line 56 of file hwpci.c.

#define PCI_TYPE_CARDBUS_BRIDGE   0x02

Definition at line 57 of file hwpci.c.

Typedef Documentation

Function Documentation

acpi_status acpi_hw_derive_pci_id ( struct acpi_pci_id pci_id,
acpi_handle  root_pci_device,
acpi_handle  pci_region 
)

Definition at line 122 of file hwpci.c.