#include <acpi/acpi_device.h>
#include <acpi/acpigen.h>
#include <acpi/acpigen_pci.h>
#include <amdblocks/amd_pci_util.h>
#include <assert.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pciexp.h>
#include <soc/pci_devs.h>
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
◆ acpi_device_write_gpp_pci_dev()
static void acpi_device_write_gpp_pci_dev |
( |
const struct device * |
dev | ) |
|
|
static |
Definition at line 30 of file pcie_gpp.c.
References acpi_device_name(), acpi_device_scope(), acpi_device_status(), acpigen_pop_len(), acpigen_write_ADR_pci_device(), acpigen_write_device(), acpigen_write_pci_GNB_PRT(), acpigen_write_scope(), acpigen_write_STA(), assert, DEVICE_PATH_PCI, name, device::path, and device_path::type.
◆ pcie_gpp_acpi_name()
static const char* pcie_gpp_acpi_name |
( |
const struct device * |
dev | ) |
|
|
static |
◆ __pci_driver
static const struct pci_driver external_pcie_gpp_driver __pci_driver |
|
static |
Initial value:= {
}
static const unsigned short internal_pci_gpp_ids[]
static struct device_operations internal_pcie_gpp_ops
Definition at line 61 of file pcie_gpp.c.
◆ external_pci_gpp_ids
const unsigned short external_pci_gpp_ids[] |
|
static |
Initial value:= {
0
}
#define PCI_DID_AMD_FAM17H_MODEL60H_PCIE_GPP_D2
#define PCI_DID_AMD_FAM17H_MODEL60H_PCIE_GPP_D1
#define PCI_DID_AMD_FAM17H_MODEL18H_PCIE_GPP
#define PCI_DID_AMD_FAM17H_MODELA0H_PCIE_GPP
Definition at line 85 of file pcie_gpp.c.
◆ external_pcie_gpp_ops
Initial value:= {
}
static const char * pcie_gpp_acpi_name(const struct device *dev)
static void acpi_device_write_gpp_pci_dev(const struct device *dev)
void pci_bus_enable_resources(struct device *dev)
void pci_bus_read_resources(struct device *dev)
void pci_bus_reset(struct bus *bus)
void pci_dev_set_resources(struct device *dev)
void pciexp_scan_bridge(struct device *dev)
Definition at line 61 of file pcie_gpp.c.
◆ internal_pci_gpp_ids
const unsigned short internal_pci_gpp_ids[] |
|
static |
Initial value:= {
0
}
#define PCI_DID_AMD_FAM17H_MODEL18H_PCIE_GPP_BUSB
#define PCI_DID_AMD_FAM17H_MODELA0H_PCIE_GPP_BUSABC
#define PCI_DID_AMD_FAM17H_MODEL60H_PCIE_GPP_BUSABC
#define PCI_DID_AMD_FAM17H_MODEL18H_PCIE_GPP_BUSA
Definition at line 61 of file pcie_gpp.c.
◆ internal_pcie_gpp_ops
Initial value:= {
}
void pci_scan_bridge(struct device *dev)
Scan a PCI bridge and the buses behind the bridge.
Definition at line 30 of file pcie_gpp.c.