/Linux-v5.10/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 | 42 struct ionic_dev_bar bars[IONIC_BARS_MAX]; member
|
/Linux-v5.10/drivers/ide/ |
D | setup-pci.c | 193 static int ide_pci_enable(struct pci_dev *dev, int bars, in ide_pci_enable() argument 221 ret = pci_request_selected_regions(dev, bars, d->name); in ide_pci_enable() 405 static int ide_setup_pci_controller(struct pci_dev *dev, int bars, in ide_setup_pci_controller() argument 414 ret = ide_pci_enable(dev, bars, d); in ide_setup_pci_controller() 435 pci_release_selected_regions(dev, bars); in ide_setup_pci_controller() 538 int ret, i, n_ports = dev2 ? 4 : 2, bars; in ide_pci_init_two() local 542 bars = (1 << 2) - 1; in ide_pci_init_two() 544 bars = (1 << 4) - 1; in ide_pci_init_two() 548 bars |= (1 << 2); in ide_pci_init_two() 550 bars |= (1 << 4); in ide_pci_init_two() [all …]
|
/Linux-v5.10/arch/s390/pci/ |
D | pci.c | 296 idx = zdev->bars[bar].map_idx; in pci_iomap_range_fh() 315 iova = ioremap((unsigned long) zdev->bars[bar].mio_wt, barsize); in pci_iomap_range_mio() 345 iova = ioremap((unsigned long) zdev->bars[bar].mio_wb, barsize); in pci_iomap_wc_range_mio() 430 (resource_size_t __force) zdev->bars[i].mio_wt; in zpci_map_resources() 513 if (!zdev->bars[i].size) in zpci_setup_bus_resources() 518 zdev->bars[i].map_idx = entry; in zpci_setup_bus_resources() 522 if (zdev->bars[i].val & 8) in zpci_setup_bus_resources() 524 if (zdev->bars[i].val & 4) in zpci_setup_bus_resources() 528 addr = (unsigned long) zdev->bars[i].mio_wt; in zpci_setup_bus_resources() 531 size = 1UL << zdev->bars[i].size; in zpci_setup_bus_resources() [all …]
|
D | pci_clp.c | 150 zdev->bars[i].val = le32_to_cpu(response->bar[i]); in clp_store_query_pci_fn() 151 zdev->bars[i].size = response->bar_size[i]; in clp_store_query_pci_fn() 178 zdev->bars[i].mio_wb = (void __iomem *) response->mio.addr[i].wb; in clp_store_query_pci_fn() 179 zdev->bars[i].mio_wt = (void __iomem *) response->mio.addr[i].wt; in clp_store_query_pci_fn()
|
/Linux-v5.10/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-v5.10/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-v5.10/drivers/infiniband/hw/efa/ |
D | efa_main.c | 141 int bars; in efa_request_doorbell_bar() local 145 bars = pci_select_bars(pdev, IORESOURCE_MEM) & BIT(db_bar_idx); in efa_request_doorbell_bar() 147 err = pci_request_selected_regions(pdev, bars, DRV_MODULE_NAME); in efa_request_doorbell_bar() 429 int bars; in efa_probe_device() local 453 bars = pci_select_bars(pdev, IORESOURCE_MEM) & EFA_BASE_BAR_MASK; in efa_probe_device() 454 err = pci_request_selected_regions(pdev, bars, DRV_MODULE_NAME); in efa_probe_device()
|
/Linux-v5.10/drivers/gpu/drm/i915/gvt/ |
D | cfg_space.c | 242 struct intel_vgpu_pci_bar *bars = vgpu->cfg_space.bar; in emulate_pci_bar_write() local 255 size = ~(bars[INTEL_GVT_PCI_BAR_GTTMMIO].size -1); in emulate_pci_bar_write() 266 size = ~(bars[INTEL_GVT_PCI_BAR_APERTURE].size -1); in emulate_pci_bar_write()
|
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp6000_pcie.c | 151 int bars; member 377 for (n = 0; n < nfp->bars; n++) { in find_matching_bar() 395 for (n = 0; n < nfp->bars; n++) { in find_unused_bar_noblock() 595 nfp->bars = bar - &nfp->bar[0]; in enable_bars() 596 if (nfp->bars < 8) { in enable_bars() 601 bars_free = nfp->bars; in enable_bars() 699 sort(&nfp->bar[0], nfp->bars, sizeof(nfp->bar[0]), in enable_bars() 702 dev_info(nfp->dev, "%sfree: %d/%d\n", status_msg, bars_free, nfp->bars); in enable_bars() 717 for (n = 0; n < nfp->bars; n++, bar++) { in disable_bars()
|
/Linux-v5.10/drivers/pci/ |
D | pci.c | 1795 int __weak pcibios_enable_device(struct pci_dev *dev, int bars) in pcibios_enable_device() argument 1797 return pci_enable_resources(dev, bars); in pcibios_enable_device() 1800 static int do_pci_enable_device(struct pci_dev *dev, int bars) in do_pci_enable_device() argument 1815 err = pcibios_enable_device(dev, bars); in do_pci_enable_device() 1875 int i, bars = 0; in pci_enable_device_flags() local 1899 bars |= (1 << i); in pci_enable_device_flags() 1902 bars |= (1 << i); in pci_enable_device_flags() 1904 err = do_pci_enable_device(dev, bars); in pci_enable_device_flags() 3871 void pci_release_selected_regions(struct pci_dev *pdev, int bars) in pci_release_selected_regions() argument 3876 if (bars & (1 << i)) in pci_release_selected_regions() [all …]
|
D | iov.c | 469 int bars = 0; in sriov_enable() local 489 bars |= (1 << (i + PCI_IOV_RESOURCES)); in sriov_enable() 506 if (pci_enable_resources(dev, bars)) { in sriov_enable()
|
/Linux-v5.10/drivers/tty/serial/ |
D | rp2.c | 742 void __iomem * const *bars; in rp2_probe() local 760 bars = pcim_iomap_table(pdev); in rp2_probe() 761 card->bar0 = bars[0]; in rp2_probe() 762 card->bar1 = bars[1]; in rp2_probe()
|
/Linux-v5.10/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-v5.10/Documentation/devicetree/bindings/i2c/ |
D | i2c-pxa-pci-ce4100.txt | 5 PCI device has three PCI-bars, each bar contains a complete I2C
|
/Linux-v5.10/arch/s390/include/asm/ |
D | pci.h | 168 struct zpci_bar_struct bars[PCI_STD_NUM_BARS]; member
|
/Linux-v5.10/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 | 1059 vf->bars[n].bar = start + size * vf->abs_vfid; in bnx2x_vf_set_bars() 1060 vf->bars[n].size = size; in bnx2x_vf_set_bars() 1607 (unsigned)vf->bars[0].bar, vf->bars[0].size, in bnx2x_iov_nic_init() 1608 (unsigned)vf->bars[1].bar, vf->bars[1].size, in bnx2x_iov_nic_init() 1609 (unsigned)vf->bars[2].bar, vf->bars[2].size); in bnx2x_iov_nic_init()
|
/Linux-v5.10/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-v5.10/tools/perf/Documentation/ |
D | perf-timechart.txt | 30 There are also poll bars which show how much time application spent
|
/Linux-v5.10/drivers/virtio/ |
D | virtio_pci_modern.c | 584 u32 ioresource_types, int *bars) in virtio_pci_find_capability() argument 606 *bars |= (1 << bar); in virtio_pci_find_capability()
|
/Linux-v5.10/drivers/scsi/qla2xxx/ |
D | qla_os.c | 1968 if (pci_request_selected_regions(ha->pdev, ha->bars, in qla2x00_iospace_config() 1975 if (!(ha->bars & 1)) in qla2x00_iospace_config() 2071 if (pci_request_selected_regions(ha->pdev, ha->bars, in qla83xx_iospace_config() 2795 int bars, mem_only = 0; in qla2x00_probe_one() local 2801 bars = pci_select_bars(pdev, IORESOURCE_MEM | IORESOURCE_IO); in qla2x00_probe_one() 2822 bars = pci_select_bars(pdev, IORESOURCE_MEM); in qla2x00_probe_one() 2828 "Bars=%d.\n", bars); in qla2x00_probe_one() 2858 ha->bars = bars; in qla2x00_probe_one() 3521 pci_release_selected_regions(ha->pdev, ha->bars); in qla2x00_probe_one() 3823 pci_release_selected_regions(ha->pdev, ha->bars); in qla2x00_remove_one() [all …]
|
/Linux-v5.10/drivers/message/fusion/ |
D | mptbase.c | 1654 ioc->bars = pci_select_bars(pdev, IORESOURCE_MEM); in mpt_mapresources() 1660 if (pci_request_selected_regions(pdev, ioc->bars, "mpt")) { in mpt_mapresources() 1747 pci_release_selected_regions(pdev, ioc->bars); in mpt_mapresources() 2023 pci_release_selected_regions(pdev, ioc->bars); in mpt_attach() 2070 pci_release_selected_regions(pdev, ioc->bars); in mpt_attach() 2179 pci_release_selected_regions(pdev, ioc->bars); in mpt_suspend() 2404 pci_release_selected_regions(ioc->pcidev, ioc->bars); in mpt_do_ioc_recovery() 2405 ioc->bars = pci_select_bars(ioc->pcidev, IORESOURCE_MEM | in mpt_do_ioc_recovery() 2409 if (pci_request_selected_regions(ioc->pcidev, ioc->bars, in mpt_do_ioc_recovery() 2847 pci_release_selected_regions(ioc->pcidev, ioc->bars); in mpt_adapter_dispose()
|