Home
last modified time | relevance | path

Searched refs:PCI_STD_NUM_BARS (Results 1 – 25 of 55) sorted by relevance

123

/openbmc/linux/arch/s390/include/asm/
H A Dpci_clp.h94 } addr[PCI_STD_NUM_BARS];
118 u8 bar_size[PCI_STD_NUM_BARS];
120 __le32 bar[PCI_STD_NUM_BARS];
H A Dpci.h173 struct zpci_bar_struct bars[PCI_STD_NUM_BARS];
/openbmc/linux/arch/alpha/kernel/
H A Dpci-sysfs.c76 for (i = 0; i < PCI_STD_NUM_BARS; i++) in pci_mmap_resource()
79 if (i >= PCI_STD_NUM_BARS) in pci_mmap_resource()
120 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in pci_remove_resource_files()
239 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in pci_create_resource_files()
/openbmc/phosphor-ipmi-flash/tools/
H A Dpci.hpp30 #ifndef PCI_STD_NUM_BARS
31 #define PCI_STD_NUM_BARS 6 macro
/openbmc/linux/arch/s390/pci/
H A Dpci.c50 min(((unsigned long) ZPCI_NR_DEVICES * PCI_STD_NUM_BARS / 2), \
302 if (bar >= PCI_STD_NUM_BARS || !pci_resource_len(pdev, bar)) in pci_iomap_range()
332 if (bar >= PCI_STD_NUM_BARS || !pci_resource_len(pdev, bar)) in pci_iomap_wc_range()
403 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in zpci_map_resources()
429 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in zpci_unmap_resources()
466 for (bar = 0; bar < PCI_STD_NUM_BARS; bar++) { in zpci_do_update_iomap_fh()
519 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in zpci_setup_bus_resources()
558 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in zpci_cleanup_bus_resources()
588 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in pcibios_device_add()
H A Dpci_clp.c154 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in clp_store_query_pci_fn()
179 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in clp_store_query_pci_fn()
180 if (!(response->mio.valid & (1 << (PCI_STD_NUM_BARS - i - 1)))) in clp_store_query_pci_fn()
H A Dpci_bus.c59 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in zpci_bus_prepare_device()
/openbmc/linux/drivers/fpga/
H A Ddfl-pci.c175 if (dfl_cnt > PCI_STD_NUM_BARS) { in find_dfls_by_vsec()
177 __func__, dfl_cnt, PCI_STD_NUM_BARS); in find_dfls_by_vsec()
193 if (bir >= PCI_STD_NUM_BARS) { in find_dfls_by_vsec()
277 } else if (bar >= PCI_STD_NUM_BARS) { in find_dfls_by_default()
/openbmc/linux/include/linux/
H A Dvfio_pci_core.h55 void __iomem *barmap[PCI_STD_NUM_BARS];
56 bool bar_mmap_supported[PCI_STD_NUM_BARS];
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-loongson.c95 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in loongson_dwmac_probe()
169 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in loongson_dwmac_remove()
H A Dstmmac_pci.c192 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in stmmac_pci_probe()
238 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in stmmac_pci_remove()
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_pcilib.c18 if (bar >= PCI_STD_NUM_BARS) in serial8250_pci_setup_port()
/openbmc/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-pci.c37 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in xlgmac_probe()
/openbmc/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-test.c50 void *reg[PCI_STD_NUM_BARS];
698 for (bar = 0; bar < PCI_STD_NUM_BARS; bar++) { in pci_epf_test_unbind()
723 for (bar = 0; bar < PCI_STD_NUM_BARS; bar += add) { in pci_epf_test_set_bar()
858 for (bar = 0; bar < PCI_STD_NUM_BARS; bar += add) { in pci_epf_test_alloc_space()
887 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in pci_epf_configure_bar()
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-designware-plat.c40 for (bar = 0; bar < PCI_STD_NUM_BARS; bar++) in dw_plat_pcie_ep_init()
H A Dpcie-designware.h360 u8 bar_to_atu[PCI_STD_NUM_BARS];
366 struct pci_epf_bar *epf_bar[PCI_STD_NUM_BARS];
H A Dpci-layerscape-ep.c161 for (bar = 0; bar < PCI_STD_NUM_BARS; bar++) in ls_pcie_ep_init()
/openbmc/linux/drivers/pci/
H A Dproc.c261 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in proc_bus_pci_mmap()
267 if (i >= PCI_STD_NUM_BARS) in proc_bus_pci_mmap()
/openbmc/linux/drivers/misc/
H A Dpci_endpoint_test.c112 void __iomem *bar[PCI_STD_NUM_BARS];
842 for (bar = 0; bar < PCI_STD_NUM_BARS; bar++) { in pci_endpoint_test_probe()
913 for (bar = 0; bar < PCI_STD_NUM_BARS; bar++) { in pci_endpoint_test_probe()
947 for (bar = 0; bar < PCI_STD_NUM_BARS; bar++) { in pci_endpoint_test_remove()
/openbmc/linux/drivers/video/
H A Daperture.c359 for (bar = 0; bar < PCI_STD_NUM_BARS; ++bar) { in aperture_remove_conflicting_pci_devices()
/openbmc/linux/drivers/vdpa/solidrun/
H A Dsnet_vdpa.h144 void __iomem *bars[PCI_STD_NUM_BARS];
H A Dsnet_main.c565 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in psnet_open_pf_bar()
583 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in psnet_open_pf_bar()
637 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in psnet_detect_bar()
655 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in psnet_unmap_unused_bars()
/openbmc/linux/drivers/usb/core/
H A Dhcd-pci.c234 for (region = 0; region < PCI_STD_NUM_BARS; region++) { in usb_hcd_pci_probe()
245 if (region == PCI_STD_NUM_BARS) { in usb_hcd_pci_probe()
/openbmc/linux/drivers/virtio/
H A Dvirtio_pci_modern_dev.c40 if (bar >= PCI_STD_NUM_BARS || !(mdev->modern_bars & (1 << bar))) { in vp_modern_map_capability()
131 if (bar >= PCI_STD_NUM_BARS) in virtio_pci_find_capability()
/openbmc/linux/arch/x86/pci/
H A Dintel_mid_pci.c400 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in pci_fixed_bar_fixup()

123