/linux-5.19.10/drivers/crypto/qat/qat_dh895xccvf/ |
D | adf_drv.c | 80 unsigned int i, bar_nr; in adf_probe() local 158 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 161 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 164 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 165 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 167 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/linux-5.19.10/drivers/crypto/qat/qat_c3xxxvf/ |
D | adf_drv.c | 80 unsigned int i, bar_nr; in adf_probe() local 158 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 161 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 164 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 165 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 167 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/linux-5.19.10/drivers/crypto/qat/qat_c62xvf/ |
D | adf_drv.c | 80 unsigned int i, bar_nr; in adf_probe() local 158 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 161 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 164 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 165 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 167 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/linux-5.19.10/drivers/crypto/qat/qat_dh895xcc/ |
D | adf_drv.c | 79 unsigned int i, bar_nr; in adf_probe() local 180 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 183 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 186 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 187 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 189 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/linux-5.19.10/drivers/crypto/qat/qat_c3xxx/ |
D | adf_drv.c | 79 unsigned int i, bar_nr; in adf_probe() local 180 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 183 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 186 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 187 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 189 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/linux-5.19.10/drivers/crypto/qat/qat_c62x/ |
D | adf_drv.c | 79 unsigned int i, bar_nr; in adf_probe() local 180 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 183 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 186 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 187 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 189 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
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()
|
/linux-5.19.10/arch/xtensa/lib/ |
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()
|
/linux-5.19.10/drivers/crypto/qat/qat_4xxx/ |
D | adf_drv.c | 171 unsigned int i, bar_nr; in adf_probe() local 277 for_each_set_bit(bar_nr, &bar_mask, PCI_STD_NUM_BARS) { in adf_probe() 279 bar->virt_addr = pcim_iomap_table(pdev)[bar_nr]; in adf_probe()
|