Home
last modified time | relevance | path

Searched refs:bar2 (Results 1 – 22 of 22) sorted by relevance

/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
Dbase.c56 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 …]
Dnv50.c91 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 …]
Dg84.c51 .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,
Dgm107.c54 .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,
Dtu102.c87 .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,
Dgf100.c131 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,
Dpriv.h20 } bar1, bar2; member
Dnv50.h16 struct nvkm_gpuobj *bar2; member
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgpfifogv100.c105 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()
Dga102.c74 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/
Dmemory.h32 u64 (*bar2)(struct nvkm_memory *); member
60 #define nvkm_memory_bar2(p) (p)->func->bar2(p)
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dbar.h12 bool bar2; member
/drivers/net/ethernet/chelsio/cxgb4vf/
Dadapter.h369 void __iomem *bar2; member
Dcxgb4vf_main.c2987 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()
Dsge.c2188 return adapter->bar2 + bar2_qoffset; in bar2_address()
/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv50.c341 .bar2 = nv50_instobj_bar2,
/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.h663 u32 bar2; member
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c2604 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()
Dcxgb4.h1108 void __iomem *bar2; member
Dsge.c4367 return adapter->bar2 + bar2_qoffset; in bar2_address()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h1703 void __iomem *bar2; member
Dbnxt.c12208 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()