/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
H A D | base.c | 56 if (bar && bar->bar2) in nvkm_bar_bar2_vmm() 57 return bar->func->bar2.vmm(bar); in nvkm_bar_bar2_vmm() 65 if (bar && bar->bar2) { in nvkm_bar_bar2_reset() 66 bar->func->bar2.init(bar); in nvkm_bar_bar2_reset() 67 bar->func->bar2.wait(bar); in nvkm_bar_bar2_reset() 75 if (bar && bar->bar2) { in nvkm_bar_bar2_fini() 76 bar->func->bar2.fini(bar); in nvkm_bar_bar2_fini() 77 bar->bar2 = false; in nvkm_bar_bar2_fini() 85 if (bar && bar->subdev.oneinit && !bar->bar2 && bar->func->bar2.init) { in nvkm_bar_bar2_init() 86 bar->func->bar2.init(bar); in nvkm_bar_bar2_init() [all …]
|
H A D | nv50.c | 91 nvkm_wr32(device, 0x00170c, 0x80000000 | bar->bar2->node->offset >> 4); in nv50_bar_bar2_init() 151 ret = nvkm_gpuobj_new(device, 24, 16, false, bar->mem, &bar->bar2); in nv50_bar_oneinit() 155 nvkm_kmap(bar->bar2); in nv50_bar_oneinit() 156 nvkm_wo32(bar->bar2, 0x00, 0x7fc00000); in nv50_bar_oneinit() 157 nvkm_wo32(bar->bar2, 0x04, lower_32_bits(limit)); in nv50_bar_oneinit() 158 nvkm_wo32(bar->bar2, 0x08, lower_32_bits(start)); in nv50_bar_oneinit() 159 nvkm_wo32(bar->bar2, 0x0c, upper_32_bits(limit) << 24 | in nv50_bar_oneinit() 161 nvkm_wo32(bar->bar2, 0x10, 0x00000000); in nv50_bar_oneinit() 162 nvkm_wo32(bar->bar2, 0x14, 0x00000000); in nv50_bar_oneinit() 163 nvkm_done(bar->bar2); in nv50_bar_oneinit() [all …]
|
H A D | gm107.c | 54 .bar2.init = gf100_bar_bar2_init, 55 .bar2.fini = gf100_bar_bar2_fini, 56 .bar2.wait = gm107_bar_bar2_wait, 57 .bar2.vmm = gf100_bar_bar2_vmm,
|
H A D | g84.c | 51 .bar2.init = nv50_bar_bar2_init, 52 .bar2.fini = nv50_bar_bar2_fini, 53 .bar2.wait = nv50_bar_bar1_wait, 54 .bar2.vmm = nv50_bar_bar2_vmm,
|
H A D | r535.c | 95 bar->bar2 = true; in r535_bar_bar2_init() 164 rm->bar2.init = r535_bar_bar2_init; in r535_bar_new_() 165 rm->bar2.fini = r535_bar_bar2_fini; in r535_bar_new_() 166 rm->bar2.wait = r535_bar_bar2_wait; in r535_bar_new_() 167 rm->bar2.vmm = hw->bar2.vmm; in r535_bar_new_()
|
H A D | tu102.c | 88 .bar2.init = tu102_bar_bar2_init, 89 .bar2.fini = tu102_bar_bar2_fini, 90 .bar2.wait = tu102_bar_bar2_wait, 91 .bar2.vmm = gf100_bar_bar2_vmm,
|
H A D | gf100.c | 131 if (bar->base.func->bar2.init) { in gf100_bar_oneinit() 184 .bar2.init = gf100_bar_bar2_init, 185 .bar2.fini = gf100_bar_bar2_fini, 186 .bar2.wait = gf100_bar_bar1_wait, 187 .bar2.vmm = gf100_bar_bar2_vmm,
|
H A D | priv.h | 23 } bar1, bar2; member
|
H A D | nv50.h | 16 struct nvkm_gpuobj *bar2; member
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | gv100.c | 119 const u64 bar2 = cctx ? nvkm_memory_bar2(cctx->vctx->inst->memory) : 0ULL; in gv100_ectx_ce_bind() local 122 nvkm_wo32(chan->inst, 0x220, lower_32_bits(bar2)); in gv100_ectx_ce_bind() 123 nvkm_wo32(chan->inst, 0x224, upper_32_bits(bar2)); in gv100_ectx_ce_bind()
|
/linux/drivers/bluetooth/ |
H A D | hci_bcm4377.c | 570 void __iomem *bar2; member 843 bootstage = ioread32(bcm4377->bar2 + bcm4377->hw->bar2_offset + BCM4377_BAR2_BOOTSTAGE); in bcm4377_irq() 844 rti_status = ioread32(bcm4377->bar2 + bcm4377->hw->bar2_offset + BCM4377_BAR2_RTI_STATUS); in bcm4377_irq() 1835 bootstage = ioread32(bcm4377->bar2 + bcm4377->hw->bar2_offset + BCM4377_BAR2_BOOTSTAGE); in bcm4377_boot() 1836 rti_status = ioread32(bcm4377->bar2 + bcm4377->hw->bar2_offset + BCM4377_BAR2_RTI_STATUS); in bcm4377_boot() 1871 bcm4377->bar2 + bcm4377->hw->bar2_offset + BCM4377_BAR2_FW_LO); in bcm4377_boot() 1873 bcm4377->bar2 + bcm4377->hw->bar2_offset + BCM4377_BAR2_FW_HI); in bcm4377_boot() 1875 bcm4377->bar2 + bcm4377->hw->bar2_offset + BCM4377_BAR2_FW_SIZE); in bcm4377_boot() 1932 iowrite32(0, bcm4377->bar2 + bcm4377->hw->bar2_offset + BCM4377_BAR2_RTI_WINDOW_LO); in bcm4377_setup_rti() 1933 iowrite32(0, bcm4377->bar2 + bcm4377->hw->bar2_offset + BCM4377_BAR2_RTI_WINDOW_HI); in bcm4377_setup_rti() [all …]
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | memory.h | 33 u64 (*bar2)(struct nvkm_memory *); member 62 #define nvkm_memory_bar2(p) (p)->func->bar2(p)
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | bar.h | 12 bool bar2; member
|
/linux/arch/alpha/include/asm/ |
H A D | core_irongate.h | 44 igcsr32 bar2; /* 0x18 - Power Management reg block */ member
|
/linux/Documentation/translations/it_IT/doc-guide/ |
H A D | kernel-doc.rst | 338 /** @bar2: Description for struct @bar2 inside @foo */ 341 * @bar2.barbar: Description for @barbar inside @foo.bar2 344 } bar2;
|
/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | adapter.h | 369 void __iomem *bar2; member
|
H A D | cxgb4vf_main.c | 2987 adapter->bar2 = ioremap_wc(pci_resource_start(pdev, 2), in cxgb4vf_pci_probe() 2989 if (!adapter->bar2) { in cxgb4vf_pci_probe() 3250 iounmap(adapter->bar2); in cxgb4vf_pci_probe() 3326 iounmap(adapter->bar2); in cxgb4vf_pci_remove()
|
H A D | sge.c | 2188 return adapter->bar2 + bar2_qoffset; in bar2_address()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
H A D | nv50.c | 347 .bar2 = nv50_instobj_bar2,
|
/linux/drivers/usb/host/ |
H A D | xhci-tegra.c | 269 struct resource *bar2; member 800 if (tegra->bar2) { in tegra_xusb_config() 803 value |= tegra->bar2->start & in tegra_xusb_config() 1573 tegra->bar2_base = devm_platform_get_and_ioremap_resource(pdev, 2, &tegra->bar2); in tegra_xusb_probe()
|
/linux/sound/pci/ctxfi/ |
H A D | cthw20k1.c | 1791 unsigned int bar0, bar1, bar2, bar3, bar4, bar5; in uaa_to_xfi() local 1839 pci_read_config_dword(pci, PCI_BASE_ADDRESS_2, &bar2); in uaa_to_xfi() 1857 pci_write_config_dword(pci, PCI_BASE_ADDRESS_2, bar2); in uaa_to_xfi()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_main.c | 2591 adap->bar2 + bar2_qoffset + SGE_UDB_KDOORBELL); in process_db_drop() 6750 adapter->bar2 = ioremap_wc(pci_resource_start(pdev, 2), in init_one() 6752 if (!adapter->bar2) { in init_one() 7071 iounmap(adapter->bar2); in init_one() 7151 iounmap(adapter->bar2); in remove_one()
|
H A D | cxgb4.h | 1106 void __iomem *bar2; member
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.h | 2143 void __iomem *bar2; member
|
H A D | bnxt.c | 14163 if (bp->bar2) { in bnxt_unmap_bars() 14164 pci_iounmap(pdev, bp->bar2); in bnxt_unmap_bars() 14165 bp->bar2 = NULL; in bnxt_unmap_bars() 14720 bp->bar2 = pci_ioremap_bar(pdev, 4); in bnxt_init_board() 14721 if (!bp->bar2) { in bnxt_init_board()
|