48#define _COMPONENT ACPI_NAMESPACE
54#define PCI_CFG_HEADER_TYPE_REG 0x0E
55#define PCI_CFG_PRIMARY_BUS_NUMBER_REG 0x18
56#define PCI_CFG_SECONDARY_BUS_NUMBER_REG 0x19
60#define PCI_HEADER_TYPE_MASK 0x7F
61#define PCI_TYPE_BRIDGE 0x01
62#define PCI_TYPE_CARDBUS_BRIDGE 0x02
208 *ReturnListHead =
NULL;
209 CurrentDevice = PciRegion;
239 ListElement->
Next = *ReturnListHead;
241 *ReturnListHead = ListElement;
280 "Input PciId: Seg %4.4X Bus %4.4X Dev %4.4X Func %4.4X\n",
306 "Output PciId: Seg %4.4X Bus %4.4X Dev %4.4X Func %4.4X "
307 "Status %X BusNumber %X IsBridge %X\n",
unsigned long long UINT64
UINT32 void void ** ReturnValue
#define ACPI_DEBUG_PRINT(pl)
#define ACPI_MODULE_NAME(Name)
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_FUNCTION_NAME(a)
ACPI_STATUS AcpiOsReadPciConfiguration(ACPI_PCI_ID *PciId, UINT32 Reg, UINT64 *Value, UINT32 Width)
#define ACPI_LOWORD(Integer)
#define ACPI_HIWORD(Integer)
#define ACPI_LODWORD(Integer64)
ACPI_STATUS AcpiUtEvaluateNumericObject(const char *ObjectName, ACPI_NAMESPACE_NODE *DeviceNode, UINT64 *Value)
static ACPI_STATUS AcpiHwGetPciDeviceInfo(ACPI_PCI_ID *PciId, ACPI_HANDLE PciDevice, UINT16 *BusNumber, BOOLEAN *IsBridge)
#define PCI_CFG_HEADER_TYPE_REG
ACPI_STATUS AcpiHwDerivePciId(ACPI_PCI_ID *PciId, ACPI_HANDLE RootPciDevice, ACPI_HANDLE PciRegion)
static ACPI_STATUS AcpiHwProcessPciList(ACPI_PCI_ID *PciId, ACPI_PCI_DEVICE *ListHead)
static void AcpiHwDeletePciList(ACPI_PCI_DEVICE *ListHead)
#define PCI_HEADER_TYPE_MASK
static ACPI_STATUS AcpiHwBuildPciList(ACPI_HANDLE RootPciDevice, ACPI_HANDLE PciRegion, ACPI_PCI_DEVICE **ReturnListHead)
#define PCI_CFG_PRIMARY_BUS_NUMBER_REG
struct acpi_pci_device ACPI_PCI_DEVICE
#define PCI_TYPE_CARDBUS_BRIDGE
#define PCI_CFG_SECONDARY_BUS_NUMBER_REG
ACPI_STATUS AcpiGetParent(ACPI_HANDLE Handle, ACPI_HANDLE *RetHandle)
ACPI_STATUS AcpiGetType(ACPI_HANDLE Handle, ACPI_OBJECT_TYPE *RetType)
struct acpi_pci_device * Next
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
_Must_inspect_result_ _In_ WDFDEVICE ParentDevice
_In_opt_ PUNICODE_STRING _In_ PDRIVER_OBJECT _In_ PDEVICE_OBJECT _In_ INTERFACE_TYPE _In_ ULONG BusNumber