Home
last modified time | relevance | path

Searched refs:bar_nr (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/qat/qat_dh895xccvf/
Dadf_drv.c80 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/
Dadf_drv.c80 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/
Dadf_drv.c80 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/
Dadf_drv.c78 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/
Dadf_drv.c78 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/
Dadf_drv.c78 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/
Dgf100.c85 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/
Dpci-auto.c64 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()