Home
last modified time | relevance | path

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

123

/linux-6.6.21/arch/s390/include/asm/
Dpci_clp.h94 } addr[PCI_STD_NUM_BARS];
118 u8 bar_size[PCI_STD_NUM_BARS];
120 __le32 bar[PCI_STD_NUM_BARS];
Dpci.h173 struct zpci_bar_struct bars[PCI_STD_NUM_BARS];
/linux-6.6.21/arch/alpha/kernel/
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()
/linux-6.6.21/arch/s390/pci/
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()
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()
Dpci_bus.c59 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in zpci_bus_prepare_device()
/linux-6.6.21/drivers/fpga/
Ddfl-pci.c172 if (dfl_cnt > PCI_STD_NUM_BARS) { in find_dfls_by_vsec()
174 __func__, dfl_cnt, PCI_STD_NUM_BARS); in find_dfls_by_vsec()
190 if (bir >= PCI_STD_NUM_BARS) { in find_dfls_by_vsec()
274 } else if (bar >= PCI_STD_NUM_BARS) { in find_dfls_by_default()
/linux-6.6.21/include/linux/
Dvfio_pci_core.h55 void __iomem *barmap[PCI_STD_NUM_BARS];
56 bool bar_mmap_supported[PCI_STD_NUM_BARS];
Dpci-epc.h174 u64 bar_fixed_size[PCI_STD_NUM_BARS];
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-loongson.c92 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in loongson_dwmac_probe()
166 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in loongson_dwmac_remove()
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()
/linux-6.6.21/drivers/tty/serial/8250/
D8250_pcilib.c18 if (bar >= PCI_STD_NUM_BARS) in serial8250_pci_setup_port()
/linux-6.6.21/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-pci.c37 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in xlgmac_probe()
/linux-6.6.21/drivers/pci/endpoint/functions/
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()
/linux-6.6.21/drivers/pci/controller/dwc/
Dpcie-designware-plat.c40 for (bar = 0; bar < PCI_STD_NUM_BARS; bar++) in dw_plat_pcie_ep_init()
Dpcie-designware.h360 u8 bar_to_atu[PCI_STD_NUM_BARS];
366 struct pci_epf_bar *epf_bar[PCI_STD_NUM_BARS];
Dpci-layerscape-ep.c161 for (bar = 0; bar < PCI_STD_NUM_BARS; bar++) in ls_pcie_ep_init()
/linux-6.6.21/drivers/pci/
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()
/linux-6.6.21/drivers/misc/
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()
/linux-6.6.21/drivers/video/
Daperture.c359 for (bar = 0; bar < PCI_STD_NUM_BARS; ++bar) { in aperture_remove_conflicting_pci_devices()
/linux-6.6.21/drivers/vdpa/solidrun/
Dsnet_vdpa.h144 void __iomem *bars[PCI_STD_NUM_BARS];
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()
/linux-6.6.21/drivers/usb/core/
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()
/linux-6.6.21/drivers/virtio/
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()
/linux-6.6.21/arch/x86/pci/
Dintel_mid_pci.c400 for (i = 0; i < PCI_STD_NUM_BARS; i++) { in pci_fixed_bar_fixup()

123