Symbol: PCI_FUNCMAX
sys/amd64/pci/pci_cfgreg.c
184
if (bus <= PCI_BUSMAX && slot <= PCI_SLOTMAX && func <= PCI_FUNCMAX &&
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
224
for (func = 0; func <= PCI_FUNCMAX; func++) {
sys/arm/annapurna/alpine/alpine_pci.c
134
maxfunc = PCI_FUNCMAX;
sys/arm/broadcom/bcm2835/bcm2838_pci.c
297
if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) || (reg > PCIE_REGMAX))
sys/arm/mv/mv_pci.c
830
maxfunc = PCI_FUNCMAX;
sys/arm64/cavium/thunder_pcie_pem.c
578
(func > PCI_FUNCMAX) || (reg > PCIE_REGMAX))
sys/arm64/cavium/thunder_pcie_pem.c
622
(func > PCI_FUNCMAX) || (reg > PCIE_REGMAX))
sys/arm64/rockchip/rk_pcie.c
310
func > PCI_FUNCMAX || reg > PCIE_REGMAX)
sys/dev/acpica/acpi_pci_link.c
587
maxfunc = PCI_FUNCMAX;
sys/dev/bge/if_bge.c
3143
for (fscan = 0; fscan <= PCI_FUNCMAX; fscan++)
sys/dev/cardbus/cardbus.c
199
cardbusfunchigh = PCI_FUNCMAX;
sys/dev/cxgbe/t4_main.c
1842
for (i = 0; i < PCI_FUNCMAX; i++) {
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
6202
func > PCIE_ARI_FUNCMAX || (slot != 0 && func > PCI_FUNCMAX))
sys/dev/pci/pci_dw.c
156
func > PCI_FUNCMAX || reg > PCIE_REGMAX)
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
2417
return (PCI_FUNCMAX);
sys/dev/pci/pcib_support.c
52
return (PCI_FUNCMAX);
sys/dev/pci/pcireg.h
64
(((func) & PCI_FUNCMAX) << PCI_RID_FUNC_SHIFT))
sys/dev/pci/pcireg.h
72
#define PCI_RID2FUNC(rid) (((rid) >> PCI_RID_FUNC_SHIFT) & PCI_FUNCMAX)
sys/dev/pci/pcireg.h
79
#define PCIE_ARI_FUNC(func) (((func) >> PCI_RID_FUNC_SHIFT) & PCI_FUNCMAX)
sys/dev/xilinx/xlnx_pcib.c
438
if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) ||
sys/i386/pci/pci_cfgreg.c
255
&& func <= PCI_FUNCMAX
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/i386/pci/pci_pir.c
274
maxfunc = PCI_FUNCMAX;
sys/powerpc/ofw/ofw_pcibus.c
254
pcifunchigh = PCI_FUNCMAX;
sys/x86/pci/pci_bus.c
414
pcifunchigh = PCI_FUNCMAX;
usr.sbin/bhyve/pci_emul.c
2451
cfgfunc = (x >> 8) & PCI_FUNCMAX;
usr.sbin/bhyve/pci_emul.c
73
#define MAXFUNCS (PCI_FUNCMAX + 1)