/kernel/linux/linux-5.10/drivers/crypto/qat/qat_dh895xccvf/ |
D | adf_drv.c | 80 unsigned int i, bar_nr; in adf_probe() local 165 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 168 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 171 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 172 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 174 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c3xxxvf/ |
D | adf_drv.c | 80 unsigned int i, bar_nr; in adf_probe() local 165 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 168 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 171 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 172 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 174 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c62xvf/ |
D | adf_drv.c | 80 unsigned int i, bar_nr; in adf_probe() local 165 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 168 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 171 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 172 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 174 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c3xxx/ |
D | adf_drv.c | 78 unsigned int i, bar_nr; in adf_probe() local 185 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 188 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 191 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 192 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 194 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_dh895xcc/ |
D | adf_drv.c | 78 unsigned int i, bar_nr; in adf_probe() local 187 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 190 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 193 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 194 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 196 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_c62x/ |
D | adf_drv.c | 78 unsigned int i, bar_nr; in adf_probe() local 185 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe() 188 bar->base_addr = pci_resource_start(pdev, bar_nr); in adf_probe() 191 bar->size = pci_resource_len(pdev, bar_nr); in adf_probe() 192 bar->virt_addr = pci_iomap(accel_pci_dev->pci_dev, bar_nr, 0); in adf_probe() 194 dev_err(&pdev->dev, "Failed to map BAR %d\n", bar_nr); in adf_probe()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.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()
|