/linux-6.6.21/drivers/crypto/intel/qat/qat_c3xxxvf/ |
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()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_dh895xccvf/ |
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()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_c62xvf/ |
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()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_dh895xcc/ |
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()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_c62x/ |
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()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_c3xxx/ |
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()
|
/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/crypto/intel/qat/qat_4xxx/ |
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()
|