Lines Matching defs:domain
47 uint16_t domain;
52 static uint32_t pci_docfgregread(int domain, int bus, int slot, int func,
54 static struct pcie_mcfg_region *pcie_lookup_region(int domain, int bus);
90 pcie_lookup_region(int domain, int bus)
93 if (mcfg_regions[i].domain == domain &&
101 pci_docfgregread(int domain, int bus, int slot, int func, int reg, int bytes)
103 if (domain == 0 && bus == 0 && (1 << slot & pcie_badslots) != 0)
109 region = pcie_lookup_region(domain, bus);
115 if (domain == 0)
125 pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes)
138 line = pci_docfgregread(domain, bus, slot, func, PCIR_INTLINE,
144 return (pci_docfgregread(domain, bus, slot, func, reg, bytes));
151 pci_cfgregwrite(int domain, int bus, int slot, int func, int reg, uint32_t data,
154 if (domain == 0 && bus == 0 && (1 << slot & pcie_badslots) != 0) {
162 region = pcie_lookup_region(domain, bus);
170 if (domain == 0)
281 pcie_cfgregopen(uint64_t base, uint16_t domain, uint8_t minbus, uint8_t maxbus)
289 printf("PCI: MCFG domain %u bus %u-%u base @ 0x%lx\n",
290 domain, minbus, maxbus, base);
300 region->domain = domain;
307 if (domain == 0 && minbus == 0)