Searched refs:PCI_SLOTMAX (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-11-stable/sys/amd64/pci/
H A Dpci_cfgreg.c184 if (bus <= PCI_BUSMAX && slot <= PCI_SLOTMAX && func <= PCI_FUNCMAX &&
284 for (slot = 0; slot <= PCI_SLOTMAX; slot++) {
320 if (bus < pcie_minbus || bus > pcie_maxbus || slot > PCI_SLOTMAX ||
350 if (bus < pcie_minbus || bus > pcie_maxbus || slot > PCI_SLOTMAX ||
/freebsd-11-stable/sys/arm/versatile/
H A Dversatile_pci.c193 for (slot = 0; slot <= PCI_SLOTMAX; slot++) {
201 if (slot == (PCI_SLOTMAX + 1)) {
252 for (slot = 0; slot <= PCI_SLOTMAX; slot++) {
401 return (PCI_SLOTMAX);
/freebsd-11-stable/sys/i386/pci/
H A Dpci_cfgreg.c587 for (slot = 0; slot <= PCI_SLOTMAX; slot++) {
662 if (bus < pcie_minbus || bus > pcie_maxbus || slot > PCI_SLOTMAX ||
694 if (bus < pcie_minbus || bus > pcie_maxbus || slot > PCI_SLOTMAX ||
/freebsd-11-stable/sys/sparc64/pci/
H A Dofw_pci.c177 slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > regmax)
218 slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > regmax)
/freebsd-11-stable/sys/mips/sibyte/
H A Dsb_zbpci.c117 size = (PCI_BUSMAX + 1) * (PCI_SLOTMAX + 1) * (PCI_FUNCMAX + 1) * 256;
338 if (bus <= PCI_BUSMAX && slot <= PCI_SLOTMAX && func <= PCI_FUNCMAX &&
/freebsd-11-stable/sys/x86/pci/
H A Dqpi.c120 for (s = 0; s <= PCI_SLOTMAX; s++) {
/freebsd-11-stable/sys/amd64/vmm/io/
H A Diommu.c220 for (slot = 0; slot <= PCI_SLOTMAX; slot++) {
/freebsd-11-stable/sys/dev/pci/
H A Dpcireg.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)
H A Dpci_host_generic.c353 if ((bus > PCI_BUSMAX) || (slot > PCI_SLOTMAX) ||
389 if ((bus > PCI_BUSMAX) || (slot > PCI_SLOTMAX) ||
/freebsd-11-stable/sys/arm64/cavium/
H A Dthunder_pcie_pem.c211 return (PCI_SLOTMAX);
553 if ((bus > PCI_BUSMAX) || (slot > PCI_SLOTMAX) ||
597 if ((bus > PCI_BUSMAX) || (slot > PCI_SLOTMAX) ||
/freebsd-11-stable/sys/mips/rt305x/
H A Drt305x_pci.c164 rt305x_pcib_init(dev, 0, PCI_SLOTMAX);
374 return (PCI_SLOTMAX);
800 rt305x_pcib_init(dev, secbus, PCI_SLOTMAX);
/freebsd-11-stable/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c351 maxslot = (sc->sc_pcie) ? 0 : PCI_SLOTMAX;
508 return ((sc->sc_pcie) ? 0 : PCI_SLOTMAX);
626 (subclass == PCIS_BRIDGE_PCI) ? PCI_SLOTMAX : 0);
/freebsd-11-stable/sys/arm/xscale/ixp425/
H A Dixp425_pci.c386 return (PCI_SLOTMAX);
/freebsd-11-stable/sys/dev/agp/
H A Dagp_amd64.c171 for (i = 0, n = 0; i < PCI_SLOTMAX && n < AMD64_MAX_MCTRL; i++) {
/freebsd-11-stable/sys/mips/adm5120/
H A Dadmpci.c191 return (PCI_SLOTMAX);
/freebsd-11-stable/sys/mips/idt/
H A Didtpci.c285 return (PCI_SLOTMAX);
/freebsd-11-stable/sys/mips/nlm/
H A Dxlp_pci.c207 return (PCI_SLOTMAX);
/freebsd-11-stable/sys/mips/rmi/
H A Dxlr_pci.c187 return (PCI_SLOTMAX);
/freebsd-11-stable/sys/mips/cavium/
H A Doctopci.c331 return (PCI_SLOTMAX);
717 for (s = 0; s <= PCI_SLOTMAX; s++) {
/freebsd-11-stable/sys/arm/xscale/i8134x/
H A Di81342_pci.c220 return (PCI_SLOTMAX);
/freebsd-11-stable/sys/powerpc/ofw/
H A Dofw_pci.c248 return (PCI_SLOTMAX);
/freebsd-11-stable/sys/mips/atheros/
H A Dar71xx_pci.c654 return (PCI_SLOTMAX);
H A Dar724x_pci.c619 return (PCI_SLOTMAX);
H A Dqca955x_pci.c559 return (PCI_SLOTMAX);
/freebsd-11-stable/sys/mips/malta/
H A Dgt_pci.c424 return (PCI_SLOTMAX);

Completed in 497 milliseconds

12