/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
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 …]
|
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 …]
|
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,
|
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,
|
D | tu102.c | 87 .bar2.init = tu102_bar_bar2_init, 88 .bar2.fini = tu102_bar_bar2_fini, 89 .bar2.wait = tu102_bar_bar2_wait, 90 .bar2.vmm = gf100_bar_bar2_vmm,
|
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,
|
D | priv.h | 20 } bar1, bar2; member
|
D | nv50.h | 16 struct nvkm_gpuobj *bar2; member
|
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | gpfifogv100.c | 105 const u64 bar2 = nvkm_memory_bar2(engn->inst->memory); in gv100_fifo_gpfifo_engine_init() local 108 nvkm_wo32(chan->base.inst, 0x220, lower_32_bits(bar2)); in gv100_fifo_gpfifo_engine_init() 109 nvkm_wo32(chan->base.inst, 0x224, upper_32_bits(bar2)); in gv100_fifo_gpfifo_engine_init()
|
D | ga102.c | 74 u64 bar2 = nvkm_memory_bar2(chan->user); in ga102_chan_map() local 76 if (bar2 == ~0ULL) in ga102_chan_map() 80 *addr = device->func->resource_addr(device, 3) + bar2; in ga102_chan_map()
|
/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | memory.h | 32 u64 (*bar2)(struct nvkm_memory *); member 60 #define nvkm_memory_bar2(p) (p)->func->bar2(p)
|
/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | bar.h | 12 bool bar2; member
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | adapter.h | 369 void __iomem *bar2; member
|
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() 3327 iounmap(adapter->bar2); in cxgb4vf_pci_remove()
|
D | sge.c | 2188 return adapter->bar2 + bar2_qoffset; in bar2_address()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv50.c | 341 .bar2 = nv50_instobj_bar2,
|
/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.h | 663 u32 bar2; member
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 2604 adap->bar2 + bar2_qoffset + SGE_UDB_KDOORBELL); in process_db_drop() 6764 adapter->bar2 = ioremap_wc(pci_resource_start(pdev, 2), in init_one() 6766 if (!adapter->bar2) { in init_one() 7085 iounmap(adapter->bar2); in init_one() 7166 iounmap(adapter->bar2); in remove_one()
|
D | cxgb4.h | 1108 void __iomem *bar2; member
|
D | sge.c | 4367 return adapter->bar2 + bar2_qoffset; in bar2_address()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.h | 1703 void __iomem *bar2; member
|
D | bnxt.c | 12208 if (bp->bar2) { in bnxt_unmap_bars() 12209 pci_iounmap(pdev, bp->bar2); in bnxt_unmap_bars() 12210 bp->bar2 = NULL; in bnxt_unmap_bars() 12728 bp->bar2 = pci_ioremap_bar(pdev, 4); in bnxt_init_board() 12729 if (!bp->bar2) { in bnxt_init_board()
|