| /NextBSD/sys/amd64/pci/ |
| HD | pci_cfgreg.c | 183 if (bus <= PCI_BUSMAX && slot <= PCI_SLOTMAX && func <= PCI_FUNCMAX && in pci_cfgenable() 283 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in pcie_cfgregopen() 319 if (bus < pcie_minbus || bus > pcie_maxbus || slot > PCI_SLOTMAX || in pciereg_cfgread() 349 if (bus < pcie_minbus || bus > pcie_maxbus || slot > PCI_SLOTMAX || in pciereg_cfgwrite()
|
| /NextBSD/sys/arm/versatile/ |
| HD | versatile_pci.c | 194 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in versatile_pci_attach() 202 if (slot == (PCI_SLOTMAX + 1)) { in versatile_pci_attach() 253 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in versatile_pci_attach() 399 return (PCI_SLOTMAX); in versatile_pci_maxslots()
|
| /NextBSD/sys/dev/pci/ |
| HD | pcireg.h | 45 #define PCI_SLOTMAX 31 /* highest supported slot number */ macro 61 (((slot) & PCI_SLOTMAX) << PCI_RID_SLOT_SHIFT) | \ 69 #define PCI_RID2SLOT(rid) (((rid) >> PCI_RID_SLOT_SHIFT) & PCI_SLOTMAX) 76 #define PCIE_ARI_SLOT(func) (((func) >> PCI_RID_SLOT_SHIFT) & PCI_SLOTMAX)
|
| /NextBSD/sys/i386/pci/ |
| HD | pci_cfgreg.c | 588 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in pcie_cfgregopen() 663 if (bus < pcie_minbus || bus > pcie_maxbus || slot > PCI_SLOTMAX || in pciereg_cfgread() 695 if (bus < pcie_minbus || bus > pcie_maxbus || slot > PCI_SLOTMAX || in pciereg_cfgwrite()
|
| /NextBSD/sys/arm64/cavium/ |
| HD | thunder_pcie.c | 321 if ((bus > PCI_BUSMAX) || (slot > PCI_SLOTMAX) || in thunder_pcie_read_config() 357 if ((bus > PCI_BUSMAX) || (slot > PCI_SLOTMAX) || in thunder_pcie_write_config() 388 return (PCI_SLOTMAX); in thunder_pcie_maxslots()
|
| HD | thunder_pcie_pem.c | 189 return (PCI_SLOTMAX); in thunder_pem_maxslots() 362 if ((bus > PCI_BUSMAX) || (slot > PCI_SLOTMAX) || in thunder_pem_read_config() 400 if ((bus > PCI_BUSMAX) || (slot > PCI_SLOTMAX) || in thunder_pem_write_config()
|
| /NextBSD/sys/sparc64/pci/ |
| HD | ofw_pci.c | 177 slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > regmax) in ofw_pci_read_config_common() 218 slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > regmax) in ofw_pci_write_config_common()
|
| /NextBSD/sys/mips/sibyte/ |
| HD | sb_zbpci.c | 118 size = (PCI_BUSMAX + 1) * (PCI_SLOTMAX + 1) * (PCI_FUNCMAX + 1) * 256; in zbpci_attach() 339 if (bus <= PCI_BUSMAX && slot <= PCI_SLOTMAX && func <= PCI_FUNCMAX && in zbpci_config_space_va()
|
| /NextBSD/sys/powerpc/mpc85xx/ |
| HD | pci_mpc85xx.c | 352 maxslot = (sc->sc_pcie) ? 0 : PCI_SLOTMAX; in fsl_pcib_attach() 509 return ((sc->sc_pcie) ? 0 : PCI_SLOTMAX); in fsl_pcib_maxslots() 627 (subclass == PCIS_BRIDGE_PCI) ? PCI_SLOTMAX : 0); in fsl_pcib_init()
|
| /NextBSD/sys/amd64/vmm/io/ |
| HD | iommu.c | 187 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in iommu_init()
|
| /NextBSD/sys/mips/rt305x/ |
| HD | rt305x_pci.c | 165 rt305x_pcib_init(dev, 0, PCI_SLOTMAX); in rt305x_pci_attach() 375 return (PCI_SLOTMAX); in rt305x_pci_maxslots() 801 rt305x_pcib_init(dev, secbus, PCI_SLOTMAX); in rt305x_pcib_init_bridge()
|
| /NextBSD/sys/arm/xscale/i80321/ |
| HD | i80321_pci.c | 127 return (PCI_SLOTMAX); in i80321_pci_maxslots()
|
| /NextBSD/sys/mips/cavium/ |
| HD | octopci.c | 331 return (PCI_SLOTMAX); in octopci_maxslots() 717 for (s = 0; s <= PCI_SLOTMAX; s++) { in octopci_init_bus()
|
| /NextBSD/sys/dev/agp/ |
| HD | agp_amd64.c | 171 for (i = 0, n = 0; i < PCI_SLOTMAX && n < AMD64_MAX_MCTRL; i++) { in agp_amd64_attach()
|
| /NextBSD/sys/mips/adm5120/ |
| HD | admpci.c | 192 return (PCI_SLOTMAX); in admpci_maxslots()
|
| /NextBSD/sys/mips/idt/ |
| HD | idtpci.c | 286 return (PCI_SLOTMAX); in idtpci_maxslots()
|
| /NextBSD/sys/mips/nlm/ |
| HD | xlp_pci.c | 206 return (PCI_SLOTMAX); in xlp_pcib_maxslots()
|
| /NextBSD/sys/arm/xscale/ixp425/ |
| HD | ixp425_pci.c | 386 return (PCI_SLOTMAX); in ixppcib_maxslots()
|
| /NextBSD/sys/mips/rmi/ |
| HD | xlr_pci.c | 191 return (PCI_SLOTMAX); in xlr_pcib_maxslots()
|
| /NextBSD/sys/arm/mv/ |
| HD | mv_pci.c | 750 mv_pcib_init(sc, secbus, PCI_SLOTMAX); in mv_pcib_init_bridge() 1016 return ((sc->sc_type != MV_TYPE_PCI) ? 1 : PCI_SLOTMAX); in mv_pcib_maxslots()
|
| /NextBSD/sys/mips/atheros/ |
| HD | qca955x_pci.c | 560 return (PCI_SLOTMAX); in qca955x_pci_maxslots()
|
| HD | ar724x_pci.c | 620 return (PCI_SLOTMAX); in ar724x_pci_maxslots()
|
| /NextBSD/sys/x86/pci/ |
| HD | pci_bus.c | 401 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in legacy_pcib_identify()
|
| /NextBSD/sys/powerpc/ofw/ |
| HD | ofw_pci.c | 252 return (PCI_SLOTMAX); in ofw_pci_maxslots()
|
| /NextBSD/sys/arm/xscale/i8134x/ |
| HD | i81342_pci.c | 220 return (PCI_SLOTMAX); in i81342_pci_maxslots()
|