Searched refs:PCI_FUNCMAX (Results 1 - 24 of 24) sorted by relevance

/freebsd-11-stable/sys/dev/pci/
H A Dpcib_support.c54 return (PCI_FUNCMAX);
H A Dpcireg.h46 #define PCI_FUNCMAX 7 /* highest supported function number */ macro
62 (((func) & PCI_FUNCMAX) << PCI_RID_FUNC_SHIFT))
70 #define PCI_RID2FUNC(rid) (((rid) >> PCI_RID_FUNC_SHIFT) & PCI_FUNCMAX)
77 #define PCIE_ARI_FUNC(func) (((func) >> PCI_RID_FUNC_SHIFT) & PCI_FUNCMAX)
H A Dpci_host_generic.c354 (func > PCI_FUNCMAX) || (reg > PCIE_REGMAX))
390 (func > PCI_FUNCMAX) || (reg > PCIE_REGMAX))
H A Dpci_pci.c2563 return (PCI_FUNCMAX);
H A Dpci.c5788 func > PCIE_ARI_FUNCMAX || (slot != 0 && func > PCI_FUNCMAX))
/freebsd-11-stable/sys/amd64/pci/
H A Dpci_cfgreg.c184 if (bus <= PCI_BUSMAX && slot <= PCI_SLOTMAX && func <= PCI_FUNCMAX &&
321 func > PCI_FUNCMAX || reg > PCIE_REGMAX)
351 func > PCI_FUNCMAX || reg > PCIE_REGMAX)
/freebsd-11-stable/sys/i386/pci/
H A Dpci_cfgreg.c291 && func <= PCI_FUNCMAX
663 func > PCI_FUNCMAX || reg > PCIE_REGMAX)
695 func > PCI_FUNCMAX || reg > PCIE_REGMAX)
H A Dpci_pir.c280 maxfunc = PCI_FUNCMAX;
/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/amd64/vmm/io/
H A Diommu.c221 for (func = 0; func <= PCI_FUNCMAX; func++) {
/freebsd-11-stable/sys/dev/cardbus/
H A Dcardbus.c207 cardbusfunchigh = PCI_FUNCMAX;
/freebsd-11-stable/sys/powerpc/ofw/
H A Dofw_pcibus.c252 pcifunchigh = PCI_FUNCMAX;
/freebsd-11-stable/sys/mips/nlm/
H A Dxlp_pci.c102 pcifunchigh = PCI_FUNCMAX;
/freebsd-11-stable/sys/arm64/cavium/
H A Dthunder_pcie_pem.c554 (func > PCI_FUNCMAX) || (reg > PCIE_REGMAX))
598 (func > PCI_FUNCMAX) || (reg > PCIE_REGMAX))
/freebsd-11-stable/sys/x86/pci/
H A Dpci_bus.c415 pcifunchigh = PCI_FUNCMAX;
/freebsd-11-stable/usr.sbin/bhyve/
H A Dpci_emul.c66 #define MAXFUNCS (PCI_FUNCMAX + 1)
1894 cfgfunc = (x >> 8) & PCI_FUNCMAX;
/freebsd-11-stable/sys/mips/cavium/
H A Doctopci.c718 for (f = 0; f <= PCI_FUNCMAX; f++) {
/freebsd-11-stable/sys/mips/rt305x/
H A Drt305x_pci.c819 maxfunc = PCI_FUNCMAX;
/freebsd-11-stable/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c576 maxfunc = PCI_FUNCMAX;
/freebsd-11-stable/sys/dev/acpica/
H A Dacpi_pci_link.c587 maxfunc = PCI_FUNCMAX;
/freebsd-11-stable/sys/arm/mv/
H A Dmv_pci.c765 maxfunc = PCI_FUNCMAX;
/freebsd-11-stable/sys/dev/bge/
H A Dif_bge.c3171 for (fscan = 0; fscan <= PCI_FUNCMAX; fscan++)
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_main.c1404 for (i = 0; i < PCI_FUNCMAX; i++) {

Completed in 275 milliseconds