/openbmc/linux/drivers/crypto/intel/qat/qat_c3xxxvf/ |
H A D | adf_drv.c | 80 unsigned int i, bar_nr; in adf_probe() local 152 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 155 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 158 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 159 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 161 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_dh895xccvf/ |
H A D | adf_drv.c | 80 unsigned int i, bar_nr; in adf_probe() local 152 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 155 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 158 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 159 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 161 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_c62xvf/ |
H A D | adf_drv.c | 80 unsigned int i, bar_nr; in adf_probe() local 152 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 155 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 158 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 159 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 161 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_c62x/ |
H A D | adf_drv.c | 79 unsigned int i, bar_nr; in adf_probe() local 174 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 177 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 180 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 181 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 183 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_c3xxx/ |
H A D | adf_drv.c | 79 unsigned int i, bar_nr; in adf_probe() local 174 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 177 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 180 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 181 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 183 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_dh895xcc/ |
H A D | adf_drv.c | 79 unsigned int i, bar_nr; in adf_probe() local 174 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 177 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 180 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 181 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 183 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/openbmc/linux/arch/xtensa/lib/ |
H A D | pci-auto.c | 64 int bar, bar_nr; in pciauto_setup_bars() local 68 for (bar = PCI_BASE_ADDRESS_0, bar_nr = 0; in pciauto_setup_bars() 70 bar+=4, bar_nr++) in pciauto_setup_bars() 85 pr_debug("PCI Autoconfig: BAR %d, I/O, ", bar_nr); in pciauto_setup_bars() 95 pr_debug("PCI Autoconfig: BAR %d, Mem, ", bar_nr); in pciauto_setup_bars()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
H A D | gf100.c | 85 struct lock_class_key *key, int bar_nr) in gf100_bar_oneinit_bar() argument 96 bar_len = device->func->resource_size(device, bar_nr); in gf100_bar_oneinit_bar() 99 if (bar_nr == 3 && bar->bar2_halve) in gf100_bar_oneinit_bar() 103 (bar_nr == 3) ? "bar2" : "bar1", &bar_vm->vmm); in gf100_bar_oneinit_bar() 113 if (bar_nr == 3) { in gf100_bar_oneinit_bar()
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci_auto.c | 28 int bar, bar_nr = 0; in dm_pciauto_setup_device() local 61 bar_nr, (unsigned long long)bar_size); in dm_pciauto_setup_device() 96 bar_nr, bar_res == prefetch ? "Prf" : "Mem", in dm_pciauto_setup_device() 126 bar_nr++; in dm_pciauto_setup_device()
|
H A D | pci_auto_old.c | 37 int bar, bar_nr = 0; in pciauto_setup_device() local 75 bar_nr, (unsigned long long)bar_size); in pciauto_setup_device() 105 bar_nr, bar_res == prefetch ? "Prf" : "Mem", in pciauto_setup_device() 137 bar_nr++; in pciauto_setup_device()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_4xxx/ |
H A D | adf_drv.c | 307 unsigned int i, bar_nr; in adf_probe() local 408 for_each_set_bit(bar_nr, &bar_mask, PCI_STD_NUM_BARS) { in adf_probe() 410 bar->virt_addr = pcim_iomap_table(pdev)[bar_nr]; in adf_probe()
|
/openbmc/qemu/hw/pci/ |
H A D | msix.c | 387 uint8_t bar_nr, Error **errp) in msix_init_exclusive_bar() argument 416 ret = msix_init(dev, nentries, &dev->msix_exclusive_bar, bar_nr, in msix_init_exclusive_bar() 418 bar_nr, bar_pba_offset, in msix_init_exclusive_bar() 424 pci_register_bar(dev, bar_nr, PCI_BASE_ADDRESS_SPACE_MEMORY, in msix_init_exclusive_bar()
|
/openbmc/qemu/include/hw/pci/ |
H A D | msix.h | 16 uint8_t bar_nr, Error **errp);
|
/openbmc/qemu/docs/ |
H A D | pcie_sriov.txt | 84 pcie_sriov_vf_register_bar(d, bar_nr, mr);
|