Home
last modified time | relevance | path

Searched refs:PCI_SLOTMAX (Results 1 – 25 of 32) sorted by relevance

12

/NextBSD/sys/amd64/pci/
HDpci_cfgreg.c183 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/
HDversatile_pci.c194 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/
HDpcireg.h45 #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/
HDpci_cfgreg.c588 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/
HDthunder_pcie.c321 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()
HDthunder_pcie_pem.c189 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/
HDofw_pci.c177 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/
HDsb_zbpci.c118 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/
HDpci_mpc85xx.c352 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/
HDiommu.c187 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in iommu_init()
/NextBSD/sys/mips/rt305x/
HDrt305x_pci.c165 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/
HDi80321_pci.c127 return (PCI_SLOTMAX); in i80321_pci_maxslots()
/NextBSD/sys/mips/cavium/
HDoctopci.c331 return (PCI_SLOTMAX); in octopci_maxslots()
717 for (s = 0; s <= PCI_SLOTMAX; s++) { in octopci_init_bus()
/NextBSD/sys/dev/agp/
HDagp_amd64.c171 for (i = 0, n = 0; i < PCI_SLOTMAX && n < AMD64_MAX_MCTRL; i++) { in agp_amd64_attach()
/NextBSD/sys/mips/adm5120/
HDadmpci.c192 return (PCI_SLOTMAX); in admpci_maxslots()
/NextBSD/sys/mips/idt/
HDidtpci.c286 return (PCI_SLOTMAX); in idtpci_maxslots()
/NextBSD/sys/mips/nlm/
HDxlp_pci.c206 return (PCI_SLOTMAX); in xlp_pcib_maxslots()
/NextBSD/sys/arm/xscale/ixp425/
HDixp425_pci.c386 return (PCI_SLOTMAX); in ixppcib_maxslots()
/NextBSD/sys/mips/rmi/
HDxlr_pci.c191 return (PCI_SLOTMAX); in xlr_pcib_maxslots()
/NextBSD/sys/arm/mv/
HDmv_pci.c750 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/
HDqca955x_pci.c560 return (PCI_SLOTMAX); in qca955x_pci_maxslots()
HDar724x_pci.c620 return (PCI_SLOTMAX); in ar724x_pci_maxslots()
/NextBSD/sys/x86/pci/
HDpci_bus.c401 for (slot = 0; slot <= PCI_SLOTMAX; slot++) { in legacy_pcib_identify()
/NextBSD/sys/powerpc/ofw/
HDofw_pci.c252 return (PCI_SLOTMAX); in ofw_pci_maxslots()
/NextBSD/sys/arm/xscale/i8134x/
HDi81342_pci.c220 return (PCI_SLOTMAX); in i81342_pci_maxslots()

12