/linux-6.6.21/drivers/net/ethernet/pensando/ionic/ |
D | ionic_bus_pci.c | 50 struct ionic_dev_bar *bars; in ionic_map_bars() local 53 bars = ionic->bars; in ionic_map_bars() 59 bars[j].len = pci_resource_len(pdev, i); in ionic_map_bars() 63 bars[j].vaddr = NULL; in ionic_map_bars() 65 bars[j].vaddr = pci_iomap(pdev, i, bars[j].len); in ionic_map_bars() 66 if (!bars[j].vaddr) { in ionic_map_bars() 74 bars[j].bus_addr = pci_resource_start(pdev, i); in ionic_map_bars() 75 bars[j].res_index = i; in ionic_map_bars() 85 struct ionic_dev_bar *bars = ionic->bars; in ionic_unmap_bars() local 89 if (bars[i].vaddr) { in ionic_unmap_bars() [all …]
|
D | ionic.h | 47 struct ionic_dev_bar bars[IONIC_BARS_MAX]; member
|
/linux-6.6.21/drivers/net/ethernet/amd/pds_core/ |
D | main.c | 37 struct pdsc_dev_bar *bars = pdsc->bars; in pdsc_unmap_bars() local 46 if (bars[i].vaddr) in pdsc_unmap_bars() 47 pci_iounmap(pdsc->pdev, bars[i].vaddr); in pdsc_unmap_bars() 53 struct pdsc_dev_bar *bar = pdsc->bars; in pdsc_map_bars() 56 struct pdsc_dev_bar *bars; in pdsc_map_bars() local 62 bars = pdsc->bars; in pdsc_map_bars() 72 bars[j].len = pci_resource_len(pdev, i); in pdsc_map_bars() 73 bars[j].bus_addr = pci_resource_start(pdev, i); in pdsc_map_bars() 74 bars[j].res_index = i; in pdsc_map_bars() 78 bars[j].vaddr = NULL; in pdsc_map_bars() [all …]
|
/linux-6.6.21/arch/s390/pci/ |
D | pci.c | 276 idx = zdev->bars[bar].map_idx; in pci_iomap_range_fh() 295 iova = ioremap((unsigned long) zdev->bars[bar].mio_wt, barsize); in pci_iomap_range_mio() 325 iova = ioremap((unsigned long) zdev->bars[bar].mio_wb, barsize); in pci_iomap_wc_range_mio() 410 (resource_size_t __force) zdev->bars[i].mio_wt; in zpci_map_resources() 467 if (!zdev->bars[bar].size) in zpci_do_update_iomap_fh() 469 idx = zdev->bars[bar].map_idx; in zpci_do_update_iomap_fh() 520 if (!zdev->bars[i].size) in zpci_setup_bus_resources() 525 zdev->bars[i].map_idx = entry; in zpci_setup_bus_resources() 529 if (zdev->bars[i].val & 8) in zpci_setup_bus_resources() 531 if (zdev->bars[i].val & 4) in zpci_setup_bus_resources() [all …]
|
D | pci_bus.c | 60 if (zdev->bars[i].res) in zpci_bus_prepare_device() 61 pci_bus_add_resource(zdev->zbus->bus, zdev->bars[i].res, 0); in zpci_bus_prepare_device()
|
D | pci_clp.c | 155 zdev->bars[i].val = le32_to_cpu(response->bar[i]); in clp_store_query_pci_fn() 156 zdev->bars[i].size = response->bar_size[i]; in clp_store_query_pci_fn() 183 zdev->bars[i].mio_wb = (void __iomem *) response->mio.addr[i].wb; in clp_store_query_pci_fn() 184 zdev->bars[i].mio_wt = (void __iomem *) response->mio.addr[i].wt; in clp_store_query_pci_fn()
|
/linux-6.6.21/drivers/mfd/ |
D | sta2x11-mfd.c | 520 struct sta2x11_mfd_bar_setup_data bars[2]; member 529 .bars = { 542 .bars = { 559 for (i = 0; i < ARRAY_SIZE(sd->bars); i++) in sta2x11_mfd_setup() 560 for (j = 0; j < sd->bars[i].ncells; j++) { in sta2x11_mfd_setup() 561 sd->bars[i].cells[j].pdata_size = sizeof(pdev); in sta2x11_mfd_setup() 562 sd->bars[i].cells[j].platform_data = &pdev; in sta2x11_mfd_setup() 598 setup_data->bars[i].cells, in sta2x11_mfd_probe() 599 setup_data->bars[i].ncells, in sta2x11_mfd_probe()
|
/linux-6.6.21/drivers/scsi/csiostor/ |
D | csio_init.c | 190 csio_pci_init(struct pci_dev *pdev, int *bars) in csio_pci_init() argument 194 *bars = pci_select_bars(pdev, IORESOURCE_MEM); in csio_pci_init() 199 if (pci_request_selected_regions(pdev, *bars, KBUILD_MODNAME)) in csio_pci_init() 217 pci_release_selected_regions(pdev, *bars); in csio_pci_init() 232 csio_pci_exit(struct pci_dev *pdev, int *bars) in csio_pci_exit() argument 234 pci_release_selected_regions(pdev, *bars); in csio_pci_exit() 942 int bars; in csio_probe_one() local 952 rv = csio_pci_init(pdev, &bars); in csio_probe_one() 1017 csio_pci_exit(pdev, &bars); in csio_probe_one() 1032 int bars = pci_select_bars(pdev, IORESOURCE_MEM); in csio_remove_one() local [all …]
|
/linux-6.6.21/drivers/fpga/ |
D | dfl-pci.c | 160 int dfl_res_off, i, bars, voff; in find_dfls_by_vsec() local 185 for (i = 0, bars = 0; i < dfl_cnt; i++, dfl_res_off += sizeof(u32)) { in find_dfls_by_vsec() 196 if (bars & BIT(bir)) { in find_dfls_by_vsec() 202 bars |= BIT(bir); in find_dfls_by_vsec()
|
/linux-6.6.21/Documentation/gpu/amdgpu/display/ |
D | dc-debug.rst | 9 bars added at the scanout time by the driver to convey some specific 33 * Pipe split can be observed if there are two bars with a difference in height 38 feature one or two green bars at the bottom of the video depending on pipe
|
/linux-6.6.21/drivers/infiniband/hw/efa/ |
D | efa_main.c | 190 int bars; in efa_request_doorbell_bar() local 194 bars = pci_select_bars(pdev, IORESOURCE_MEM) & BIT(db_bar_idx); in efa_request_doorbell_bar() 196 err = pci_request_selected_regions(pdev, bars, DRV_MODULE_NAME); in efa_request_doorbell_bar() 531 int bars; in efa_probe_device() local 556 bars = pci_select_bars(pdev, IORESOURCE_MEM) & EFA_BASE_BAR_MASK; in efa_probe_device() 557 err = pci_request_selected_regions(pdev, bars, DRV_MODULE_NAME); in efa_probe_device()
|
/linux-6.6.21/drivers/infiniband/hw/erdma/ |
D | erdma_main.c | 223 int bars, err; in erdma_probe_dev() local 245 bars = pci_select_bars(pdev, IORESOURCE_MEM); in erdma_probe_dev() 246 err = pci_request_selected_regions(pdev, bars, DRV_MODULE_NAME); in erdma_probe_dev() 247 if (bars != ERDMA_BAR_MASK || err) { in erdma_probe_dev() 321 pci_release_selected_regions(pdev, bars); in erdma_probe_dev()
|
/linux-6.6.21/drivers/vdpa/solidrun/ |
D | snet_vdpa.h | 144 void __iomem *bars[PCI_STD_NUM_BARS]; member 170 return ioread32(psnet->bars[psnet->barno] + off); in psnet_read32()
|
D | snet_main.c | 585 psnet->bars[i] = pcim_iomap_table(pdev)[i]; in psnet_open_pf_bar() 639 if (!psnet->bars[i]) in psnet_detect_bar() 642 if (ioread32(psnet->bars[i] + off) == SNET_SIGNATURE) in psnet_detect_bar() 656 if (psnet->bars[i] && i != psnet->barno) in psnet_unmap_unused_bars()
|
/linux-6.6.21/drivers/gpu/drm/i915/gvt/ |
D | cfg_space.c | 189 struct intel_vgpu_pci_bar *bars = vgpu->cfg_space.bar; in emulate_pci_bar_write() local 202 size = ~(bars[INTEL_GVT_PCI_BAR_GTTMMIO].size -1); in emulate_pci_bar_write() 213 size = ~(bars[INTEL_GVT_PCI_BAR_APERTURE].size -1); in emulate_pci_bar_write()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp6000_pcie.c | 149 int bars; member 372 for (n = 0; n < nfp->bars; n++) { in find_matching_bar() 390 for (n = 0; n < nfp->bars; n++) { in find_unused_bar_noblock() 592 nfp->bars = bar - &nfp->bar[0]; in enable_bars() 593 if (nfp->bars < 8) { in enable_bars() 598 bars_free = nfp->bars; in enable_bars() 697 sort(&nfp->bar[0], nfp->bars, sizeof(nfp->bar[0]), in enable_bars() 700 dev_info(nfp->dev, "%sfree: %d/%d\n", status_msg, bars_free, nfp->bars); in enable_bars() 715 for (n = 0; n < nfp->bars; n++, bar++) { in disable_bars()
|
/linux-6.6.21/drivers/accel/qaic/ |
D | qaic_drv.c | 400 int bars; in init_pci() local 403 bars = pci_select_bars(pdev, IORESOURCE_MEM); in init_pci() 406 if (bars != (BIT(0) | BIT(2) | BIT(4))) { in init_pci() 408 __func__, bars); in init_pci()
|
/linux-6.6.21/drivers/pci/ |
D | pci.c | 1942 int __weak pcibios_enable_device(struct pci_dev *dev, int bars) in pcibios_enable_device() argument 1944 return pci_enable_resources(dev, bars); in pcibios_enable_device() 1947 static int do_pci_enable_device(struct pci_dev *dev, int bars) in do_pci_enable_device() argument 1962 err = pcibios_enable_device(dev, bars); in do_pci_enable_device() 2022 int i, bars = 0; in pci_enable_device_flags() local 2042 bars |= (1 << i); in pci_enable_device_flags() 2045 bars |= (1 << i); in pci_enable_device_flags() 2047 err = do_pci_enable_device(dev, bars); in pci_enable_device_flags() 4078 void pci_release_selected_regions(struct pci_dev *pdev, int bars) in pci_release_selected_regions() argument 4083 if (bars & (1 << i)) in pci_release_selected_regions() [all …]
|
/linux-6.6.21/drivers/tty/serial/ |
D | rp2.c | 702 void __iomem * const *bars; in rp2_probe() local 719 bars = pcim_iomap_table(pdev); in rp2_probe() 720 card->bar0 = bars[0]; in rp2_probe() 721 card->bar1 = bars[1]; in rp2_probe()
|
/linux-6.6.21/drivers/ntb/hw/idt/ |
D | ntb_hw_idt.h | 1188 struct idt_ntb_bar bars[IDT_BAR_CNT]; member 1211 struct idt_ntb_bar bars[IDT_BAR_CNT]; member
|
D | ntb_hw_idt.c | 1045 const struct idt_ntb_bar *bars; in idt_scan_mws() local 1053 bars = portdata_tbl[port].bars; in idt_scan_mws() 1059 data = idt_sw_read(ndev, bars[bidx].setup); in idt_scan_mws() 1312 const struct idt_ntb_bar *bar = &ntdata_tbl.bars[mw_cfg->bar]; in idt_ntb_peer_mw_set_trans() 1372 const struct idt_ntb_bar *bar = &ntdata_tbl.bars[mw_cfg->bar]; in idt_ntb_peer_mw_clear_trans()
|
/linux-6.6.21/Documentation/devicetree/bindings/i2c/ |
D | i2c-pxa-pci-ce4100.txt | 5 PCI device has three PCI-bars, each bar contains a complete I2C
|
/linux-6.6.21/drivers/virtio/ |
D | virtio_pci_modern_dev.c | 115 u32 ioresource_types, int *bars) in virtio_pci_find_capability() argument 137 *bars |= (1 << bar); in virtio_pci_find_capability()
|
/linux-6.6.21/drivers/net/ethernet/intel/e1000/ |
D | e1000.h | 293 int bars; member
|
/linux-6.6.21/arch/s390/include/asm/ |
D | pci.h | 173 struct zpci_bar_struct bars[PCI_STD_NUM_BARS]; member
|