Home
last modified time | relevance | path

Searched refs:PCI_FUNCMAX (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-head/sys/amd64/pci/
HDpci_cfgreg.c184 if (bus <= PCI_BUSMAX && slot <= PCI_SLOTMAX && func <= PCI_FUNCMAX && in pci_cfgenable()
337 if (slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > PCIE_REGMAX) in pciereg_cfgread()
368 if (slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > PCIE_REGMAX) in pciereg_cfgwrite()
/freebsd-head/sys/dev/pci/
HDpci_host_generic_den0115.c213 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) || in pci_host_acpi_smccc_read_config()
237 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) || in pci_host_acpi_smccc_write_config()
HDpcib_support.c52 return (PCI_FUNCMAX); in pcib_maxfuncs()
HDpcireg.h48 #define PCI_FUNCMAX 7 /* highest supported function number */ macro
64 (((func) & PCI_FUNCMAX) << PCI_RID_FUNC_SHIFT))
72 #define PCI_RID2FUNC(rid) (((rid) >> PCI_RID_FUNC_SHIFT) & PCI_FUNCMAX)
79 #define PCIE_ARI_FUNC(func) (((func) >> PCI_RID_FUNC_SHIFT) & PCI_FUNCMAX)
HDpci_host_generic.c307 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) || in generic_pcie_read_config()
342 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) || in generic_pcie_write_config()
HDpci_dw.c154 func > PCI_FUNCMAX || reg > PCIE_REGMAX) in pci_dw_check_dev()
HDpci_pci.c2399 return (PCI_FUNCMAX); in pcib_ari_maxfuncs()
HDpci.c6187 func > PCIE_ARI_FUNCMAX || (slot != 0 && func > PCI_FUNCMAX)) in pci_lookup()
/freebsd-head/sys/i386/pci/
HDpci_cfgreg.c255 && func <= PCI_FUNCMAX in pci_cfgenable()
656 if (slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > PCIE_REGMAX) in pciereg_cfgread()
687 if (slot > PCI_SLOTMAX || func > PCI_FUNCMAX || reg > PCIE_REGMAX) in pciereg_cfgwrite()
HDpci_pir.c274 maxfunc = PCI_FUNCMAX; in pci_pir_search_irq()
/freebsd-head/sys/dev/pci/controller/
HDpci_n1sdp.c274 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) || in n1sdp_pcie_read_config()
320 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) || in n1sdp_pcie_write_config()
/freebsd-head/sys/arm/annapurna/alpine/
HDalpine_pci.c134 maxfunc = PCI_FUNCMAX; in al_pcib_fixup()
/freebsd-head/sys/amd64/vmm/io/
HDiommu.c224 for (func = 0; func <= PCI_FUNCMAX; func++) { in iommu_init()
/freebsd-head/sys/dev/cardbus/
HDcardbus.c199 cardbusfunchigh = PCI_FUNCMAX; in cardbus_attach_card()
/freebsd-head/sys/powerpc/ofw/
HDofw_pcibus.c254 pcifunchigh = PCI_FUNCMAX; in ofw_pcibus_enum_bus()
/freebsd-head/sys/arm64/cavium/
HDthunder_pcie_pem.c578 (func > PCI_FUNCMAX) || (reg > PCIE_REGMAX)) in thunder_pem_read_config()
622 (func > PCI_FUNCMAX) || (reg > PCIE_REGMAX)) in thunder_pem_write_config()
/freebsd-head/usr.sbin/bhyve/amd64/
HDpci_lpc.c476 max_func = PCI_FUNCMAX; in pci_lpc_get_sel()
/freebsd-head/sys/x86/pci/
HDpci_bus.c414 pcifunchigh = PCI_FUNCMAX; in legacy_pcib_identify()
/freebsd-head/sys/arm/broadcom/bcm2835/
HDbcm2838_pci.c297 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) || (reg > PCIE_REGMAX)) in bcm_pcib_is_valid_quad()
/freebsd-head/sys/dev/xilinx/
HDxlnx_pcib.c432 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) || in xlnx_pcib_req_valid()
/freebsd-head/sys/dev/acpica/
HDacpi_pci_link.c587 maxfunc = PCI_FUNCMAX; in acpi_pci_link_search_irq()
/freebsd-head/usr.sbin/bhyve/
HDpci_emul.c72 #define MAXFUNCS (PCI_FUNCMAX + 1)
2448 cfgfunc = (x >> 8) & PCI_FUNCMAX; in pci_emul_cfgaddr()
/freebsd-head/sys/arm/mv/
HDmv_pci.c830 maxfunc = PCI_FUNCMAX; in mv_pcib_init()
/freebsd-head/sys/arm64/rockchip/
HDrk_pcie.c310 func > PCI_FUNCMAX || reg > PCIE_REGMAX) in rk_pcie_check_dev()
/freebsd-head/sys/dev/bge/
HDif_bge.c3143 for (fscan = 0; fscan <= PCI_FUNCMAX; fscan++) in bge_has_multiple_ports()

12