/linux-6.1.9/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.1.9/arch/s390/pci/ |
D | pci.c | 313 idx = zdev->bars[bar].map_idx; in pci_iomap_range_fh() 332 iova = ioremap((unsigned long) zdev->bars[bar].mio_wt, barsize); in pci_iomap_range_mio() 362 iova = ioremap((unsigned long) zdev->bars[bar].mio_wb, barsize); in pci_iomap_wc_range_mio() 447 (resource_size_t __force) zdev->bars[i].mio_wt; in zpci_map_resources() 504 if (!zdev->bars[bar].size) in zpci_do_update_iomap_fh() 506 idx = zdev->bars[bar].map_idx; in zpci_do_update_iomap_fh() 558 if (!zdev->bars[i].size) in zpci_setup_bus_resources() 563 zdev->bars[i].map_idx = entry; in zpci_setup_bus_resources() 567 if (zdev->bars[i].val & 8) in zpci_setup_bus_resources() 569 if (zdev->bars[i].val & 4) in zpci_setup_bus_resources() [all …]
|
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.1.9/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.1.9/drivers/scsi/csiostor/ |
D | csio_init.c | 191 csio_pci_init(struct pci_dev *pdev, int *bars) in csio_pci_init() argument 195 *bars = pci_select_bars(pdev, IORESOURCE_MEM); in csio_pci_init() 200 if (pci_request_selected_regions(pdev, *bars, KBUILD_MODNAME)) in csio_pci_init() 218 pci_release_selected_regions(pdev, *bars); in csio_pci_init() 233 csio_pci_exit(struct pci_dev *pdev, int *bars) in csio_pci_exit() argument 235 pci_release_selected_regions(pdev, *bars); in csio_pci_exit() 943 int bars; in csio_probe_one() local 953 rv = csio_pci_init(pdev, &bars); in csio_probe_one() 1018 csio_pci_exit(pdev, &bars); in csio_probe_one() 1033 int bars = pci_select_bars(pdev, IORESOURCE_MEM); in csio_remove_one() local [all …]
|
/linux-6.1.9/drivers/fpga/ |
D | dfl-pci.c | 161 int dfl_res_off, i, bars, voff = 0; in find_dfls_by_vsec() local 193 for (i = 0, bars = 0; i < dfl_cnt; i++, dfl_res_off += sizeof(u32)) { in find_dfls_by_vsec() 204 if (bars & BIT(bir)) { in find_dfls_by_vsec() 210 bars |= BIT(bir); in find_dfls_by_vsec()
|
/linux-6.1.9/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.1.9/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.1.9/drivers/infiniband/hw/erdma/ |
D | erdma_main.c | 229 int bars, err; in erdma_probe_dev() local 251 bars = pci_select_bars(pdev, IORESOURCE_MEM); in erdma_probe_dev() 252 err = pci_request_selected_regions(pdev, bars, DRV_MODULE_NAME); in erdma_probe_dev() 253 if (bars != ERDMA_BAR_MASK || err) { in erdma_probe_dev() 321 pci_release_selected_regions(pdev, bars); in erdma_probe_dev()
|
/linux-6.1.9/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.1.9/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() 590 nfp->bars = bar - &nfp->bar[0]; in enable_bars() 591 if (nfp->bars < 8) { in enable_bars() 596 bars_free = nfp->bars; in enable_bars() 695 sort(&nfp->bar[0], nfp->bars, sizeof(nfp->bar[0]), in enable_bars() 698 dev_info(nfp->dev, "%sfree: %d/%d\n", status_msg, bars_free, nfp->bars); in enable_bars() 713 for (n = 0; n < nfp->bars; n++, bar++) { in disable_bars()
|
/linux-6.1.9/drivers/pci/ |
D | pci.c | 1900 int __weak pcibios_enable_device(struct pci_dev *dev, int bars) in pcibios_enable_device() argument 1902 return pci_enable_resources(dev, bars); in pcibios_enable_device() 1905 static int do_pci_enable_device(struct pci_dev *dev, int bars) in do_pci_enable_device() argument 1920 err = pcibios_enable_device(dev, bars); in do_pci_enable_device() 1980 int i, bars = 0; in pci_enable_device_flags() local 2000 bars |= (1 << i); in pci_enable_device_flags() 2003 bars |= (1 << i); in pci_enable_device_flags() 2005 err = do_pci_enable_device(dev, bars); in pci_enable_device_flags() 4025 void pci_release_selected_regions(struct pci_dev *pdev, int bars) in pci_release_selected_regions() argument 4030 if (bars & (1 << i)) in pci_release_selected_regions() [all …]
|
D | iov.c | 607 int bars = 0; in sriov_enable() local 627 bars |= (1 << (i + PCI_IOV_RESOURCES)); in sriov_enable() 644 if (pci_enable_resources(dev, bars)) { in sriov_enable()
|
/linux-6.1.9/drivers/tty/serial/ |
D | rp2.c | 721 void __iomem * const *bars; in rp2_probe() local 738 bars = pcim_iomap_table(pdev); in rp2_probe() 739 card->bar0 = bars[0]; in rp2_probe() 740 card->bar1 = bars[1]; in rp2_probe()
|
/linux-6.1.9/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.1.9/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.1.9/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.1.9/arch/s390/include/asm/ |
D | pci.h | 172 struct zpci_bar_struct bars[PCI_STD_NUM_BARS]; member
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.h | 67 struct bnx2x_vf_bar bars[PCI_SRIOV_NUM_BARS]; member 193 struct bnx2x_vf_bar bars[PCI_SRIOV_NUM_BARS]; member
|
D | bnx2x_sriov.c | 1072 vf->bars[n].bar = start + size * vf->abs_vfid; in bnx2x_vf_set_bars() 1073 vf->bars[n].size = size; in bnx2x_vf_set_bars() 1621 (unsigned)vf->bars[0].bar, vf->bars[0].size, in bnx2x_iov_nic_init() 1622 (unsigned)vf->bars[1].bar, vf->bars[1].size, in bnx2x_iov_nic_init() 1623 (unsigned)vf->bars[2].bar, vf->bars[2].size); in bnx2x_iov_nic_init()
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000/ |
D | e1000.h | 293 int bars; member
|
D | e1000_main.c | 933 int bars, need_ioport; in e1000_probe() local 939 bars = pci_select_bars(pdev, IORESOURCE_MEM | IORESOURCE_IO); in e1000_probe() 942 bars = pci_select_bars(pdev, IORESOURCE_MEM); in e1000_probe() 948 err = pci_request_selected_regions(pdev, bars, e1000_driver_name); in e1000_probe() 969 adapter->bars = bars; in e1000_probe() 1242 pci_release_selected_regions(pdev, bars); in e1000_probe() 1280 pci_release_selected_regions(pdev, adapter->bars); in e1000_remove()
|
/linux-6.1.9/tools/perf/Documentation/ |
D | perf-timechart.txt | 30 There are also poll bars which show how much time application spent
|