Home
last modified time | relevance | path

Searched refs:mcfg_entry (Results 1 – 1 of 1) sorted by relevance

/src/sys/dev/pci/
H A Dpci_host_generic_acpi.c225 ACPI_MCFG_ALLOCATION *mcfg_entry, *mcfg_end; in pci_host_acpi_get_ecam_resource() local
239 mcfg_entry = (ACPI_MCFG_ALLOCATION *)((ACPI_TABLE_MCFG *)hdr + 1); in pci_host_acpi_get_ecam_resource()
240 while (mcfg_entry < mcfg_end && !found) { in pci_host_acpi_get_ecam_resource()
241 if (mcfg_entry->PciSegment == sc->base.ecam && in pci_host_acpi_get_ecam_resource()
242 mcfg_entry->StartBusNumber <= sc->base.bus_start && in pci_host_acpi_get_ecam_resource()
243 mcfg_entry->EndBusNumber >= sc->base.bus_start) in pci_host_acpi_get_ecam_resource()
246 mcfg_entry++; in pci_host_acpi_get_ecam_resource()
249 if (mcfg_entry->EndBusNumber < sc->base.bus_end) in pci_host_acpi_get_ecam_resource()
250 sc->base.bus_end = mcfg_entry->EndBusNumber; in pci_host_acpi_get_ecam_resource()
251 base = mcfg_entry->Address; in pci_host_acpi_get_ecam_resource()