Symbol: PCI_SLOTMAX
sys/amd64/pci/pci_cfgreg.c
184
if (bus <= PCI_BUSMAX && slot <= PCI_SLOTMAX && func <= PCI_FUNCMAX &&
sys/amd64/pci/pci_cfgreg.c
268
for (slot = 0; slot <= PCI_SLOTMAX; slot++) {
sys/amd64/pci/pci_cfgreg.c
337
if (slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > PCIE_REGMAX)
sys/amd64/pci/pci_cfgreg.c
368
if (slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > PCIE_REGMAX)
sys/amd64/vmm/io/iommu.c
223
for (slot = 0; slot <= PCI_SLOTMAX; slot++) {
sys/arm/annapurna/alpine/alpine_pci.c
124
for (slot = 0; slot <= PCI_SLOTMAX; slot++) {
sys/arm/broadcom/bcm2835/bcm2838_pci.c
297
if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) || (reg > PCIE_REGMAX))
sys/arm/mv/mv_pci.c
1177
return ((sc->sc_type != MV_TYPE_PCI) ? 1 : PCI_SLOTMAX);
sys/arm/mv/mv_pci.c
811
mv_pcib_init(sc, secbus, PCI_SLOTMAX);
sys/arm64/cavium/thunder_pcie_pem.c
214
return (PCI_SLOTMAX);
sys/arm64/cavium/thunder_pcie_pem.c
577
if ((bus > PCI_BUSMAX) || (slot > PCI_SLOTMAX) ||
sys/arm64/cavium/thunder_pcie_pem.c
621
if ((bus > PCI_BUSMAX) || (slot > PCI_SLOTMAX) ||
sys/arm64/iommu/smmu.c
1776
for (i = 0; i < PCI_SLOTMAX; i++)
sys/arm64/rockchip/rk_pcie.c
309
if (bus < sc->bus_start || bus > sc->bus_end || slot > PCI_SLOTMAX ||
sys/dev/agp/agp_amd64.c
167
for (i = 0, n = 0; i < PCI_SLOTMAX && n < AMD64_MAX_MCTRL; i++) {
sys/dev/ofw/ofw_pcib.c
314
return (PCI_SLOTMAX);
sys/dev/pci/controller/pci_n1sdp.c
274
if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) ||
sys/dev/pci/controller/pci_n1sdp.c
320
if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) ||
sys/dev/pci/pci.c
6201
if (domain > PCI_DOMAINMAX || bus > PCI_BUSMAX || slot > PCI_SLOTMAX ||
sys/dev/pci/pci_dw.c
155
if (bus < sc->bus_start || bus > sc->bus_end || slot > PCI_SLOTMAX ||
sys/dev/pci/pci_host_generic.c
307
if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) ||
sys/dev/pci/pci_host_generic.c
342
if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) ||
sys/dev/pci/pci_host_generic_den0115.c
213
if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) ||
sys/dev/pci/pci_host_generic_den0115.c
237
if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) ||
sys/dev/pci/pci_pci.c
2391
return (PCI_SLOTMAX);
sys/dev/pci/pcireg.h
63
(((slot) & PCI_SLOTMAX) << PCI_RID_SLOT_SHIFT) | \
sys/dev/pci/pcireg.h
71
#define PCI_RID2SLOT(rid) (((rid) >> PCI_RID_SLOT_SHIFT) & PCI_SLOTMAX)
sys/dev/pci/pcireg.h
78
#define PCIE_ARI_SLOT(func) (((func) >> PCI_RID_SLOT_SHIFT) & PCI_SLOTMAX)
sys/dev/xilinx/xlnx_pcib.c
438
if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) ||
sys/i386/pci/pci_cfgreg.c
530
for (slot = 0; slot <= PCI_SLOTMAX; slot++) {
sys/i386/pci/pci_cfgreg.c
656
if (slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > PCIE_REGMAX)
sys/i386/pci/pci_cfgreg.c
687
if (slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > PCIE_REGMAX)
sys/powerpc/mpc85xx/pci_mpc85xx.c
555
return ((sc->sc_pcie) ? 0 : PCI_SLOTMAX);
sys/riscv/starfive/jh7110_pcie.c
299
return (PCI_SLOTMAX);
sys/x86/pci/pci_bus.c
400
for (slot = 0; slot <= PCI_SLOTMAX; slot++) {
sys/x86/pci/qpi.c
119
for (s = 0; s <= PCI_SLOTMAX; s++) {
usr.sbin/bhyve/pci_emul.c
2452
cfgslot = (x >> 11) & PCI_SLOTMAX;
usr.sbin/bhyve/pci_emul.c
72
#define MAXSLOTS (PCI_SLOTMAX + 1)