Lines Matching +full:0 +full:x0210

45 	int ret = 0;  in gk104_fifo_gpfifo_kick_locked()
48 nvkm_wr32(device, 0x002634, cgrp->id | 0x01000000); in gk104_fifo_gpfifo_kick_locked()
50 nvkm_wr32(device, 0x002634, chan->base.chid); in gk104_fifo_gpfifo_kick_locked()
52 if (!(nvkm_rd32(device, 0x002634) & 0x00100000)) in gk104_fifo_gpfifo_kick_locked()
54 ) < 0) { in gk104_fifo_gpfifo_kick_locked()
79 case NVKM_ENGINE_CE : return 0; in gk104_fifo_gpfifo_engine_addr()
80 case NVKM_ENGINE_GR : return 0x0210; in gk104_fifo_gpfifo_engine_addr()
81 case NVKM_ENGINE_SEC : return 0x0220; in gk104_fifo_gpfifo_engine_addr()
82 case NVKM_ENGINE_MSPDEC: return 0x0250; in gk104_fifo_gpfifo_engine_addr()
83 case NVKM_ENGINE_MSPPP : return 0x0260; in gk104_fifo_gpfifo_engine_addr()
84 case NVKM_ENGINE_MSVLD : return 0x0270; in gk104_fifo_gpfifo_engine_addr()
85 case NVKM_ENGINE_VIC : return 0x0280; in gk104_fifo_gpfifo_engine_addr()
86 case NVKM_ENGINE_MSENC : return 0x0290; in gk104_fifo_gpfifo_engine_addr()
87 case NVKM_ENGINE_NVDEC : return 0x02100270; in gk104_fifo_gpfifo_engine_addr()
90 return 0x0210; in gk104_fifo_gpfifo_engine_addr()
91 return 0x02100290; in gk104_fifo_gpfifo_engine_addr()
94 return 0; in gk104_fifo_gpfifo_engine_addr()
102 if (engi >= 0) in gk104_fifo_gpfifo_engine()
122 nvkm_wo32(inst, (offset & 0xffff) + 0x00, 0x00000000); in gk104_fifo_gpfifo_engine_fini()
123 nvkm_wo32(inst, (offset & 0xffff) + 0x04, 0x00000000); in gk104_fifo_gpfifo_engine_fini()
125 nvkm_wo32(inst, offset + 0x00, 0x00000000); in gk104_fifo_gpfifo_engine_fini()
126 nvkm_wo32(inst, offset + 0x04, 0x00000000); in gk104_fifo_gpfifo_engine_fini()
144 u32 datalo = lower_32_bits(engn->vma->addr) | 0x00000004; in gk104_fifo_gpfifo_engine_init()
147 nvkm_wo32(inst, (offset & 0xffff) + 0x00, datalo); in gk104_fifo_gpfifo_engine_init()
148 nvkm_wo32(inst, (offset & 0xffff) + 0x04, datahi); in gk104_fifo_gpfifo_engine_init()
150 nvkm_wo32(inst, offset + 0x00, datalo); in gk104_fifo_gpfifo_engine_init()
151 nvkm_wo32(inst, offset + 0x04, datahi); in gk104_fifo_gpfifo_engine_init()
156 return 0; in gk104_fifo_gpfifo_engine_init()
181 return 0; in gk104_fifo_gpfifo_engine_ctor()
184 ret = nvkm_object_bind(object, NULL, 0, &engn->inst); in gk104_fifo_gpfifo_engine_ctor()
189 return 0; in gk104_fifo_gpfifo_engine_ctor()
195 return nvkm_memory_map(engn->inst, 0, chan->base.vmm, engn->vma, NULL, 0); in gk104_fifo_gpfifo_engine_ctor()
208 nvkm_mask(device, 0x800004 + coff, 0x00000800, 0x00000800); in gk104_fifo_gpfifo_fini()
213 nvkm_wr32(device, 0x800000 + coff, 0x00000000); in gk104_fifo_gpfifo_fini()
225 nvkm_mask(device, 0x800004 + coff, 0x000f0000, chan->runl << 16); in gk104_fifo_gpfifo_init()
226 nvkm_wr32(device, 0x800000 + coff, 0x80000000 | addr); in gk104_fifo_gpfifo_init()
230 nvkm_mask(device, 0x800004 + coff, 0x00000400, 0x00000400); in gk104_fifo_gpfifo_init()
232 nvkm_mask(device, 0x800004 + coff, 0x00000400, 0x00000400); in gk104_fifo_gpfifo_init()
266 if (!vmm || runlist < 0 || runlist >= fifo->runlist_nr) in gk104_fifo_gpfifo_new_()
279 0x1000, 0x1000, true, vmm, 0, fifo->runlist[runlist].engm_sw, in gk104_fifo_gpfifo_new_()
280 1, fifo->user.bar->addr, 0x200, in gk104_fifo_gpfifo_new_()
297 chan->cgrp->chan_nr = 0; in gk104_fifo_gpfifo_new_()
301 usermem = chan->base.chid * 0x200; in gk104_fifo_gpfifo_new_()
305 for (i = 0; i < 0x200; i += 4) in gk104_fifo_gpfifo_new_()
306 nvkm_wo32(fifo->user.mem, usermem + i, 0x00000000); in gk104_fifo_gpfifo_new_()
312 nvkm_wo32(chan->base.inst, 0x08, lower_32_bits(usermem)); in gk104_fifo_gpfifo_new_()
313 nvkm_wo32(chan->base.inst, 0x0c, upper_32_bits(usermem)); in gk104_fifo_gpfifo_new_()
314 nvkm_wo32(chan->base.inst, 0x10, 0x0000face); in gk104_fifo_gpfifo_new_()
315 nvkm_wo32(chan->base.inst, 0x30, 0xfffff902); in gk104_fifo_gpfifo_new_()
316 nvkm_wo32(chan->base.inst, 0x48, lower_32_bits(ioffset)); in gk104_fifo_gpfifo_new_()
317 nvkm_wo32(chan->base.inst, 0x4c, upper_32_bits(ioffset) | in gk104_fifo_gpfifo_new_()
319 nvkm_wo32(chan->base.inst, 0x84, 0x20400000); in gk104_fifo_gpfifo_new_()
320 nvkm_wo32(chan->base.inst, 0x94, 0x30000001); in gk104_fifo_gpfifo_new_()
321 nvkm_wo32(chan->base.inst, 0x9c, 0x00000100); in gk104_fifo_gpfifo_new_()
322 nvkm_wo32(chan->base.inst, 0xac, 0x0000001f); in gk104_fifo_gpfifo_new_()
323 nvkm_wo32(chan->base.inst, 0xe4, priv ? 0x00000020 : 0x00000000); in gk104_fifo_gpfifo_new_()
324 nvkm_wo32(chan->base.inst, 0xe8, chan->base.chid); in gk104_fifo_gpfifo_new_()
325 nvkm_wo32(chan->base.inst, 0xb8, 0xf8000000); in gk104_fifo_gpfifo_new_()
326 nvkm_wo32(chan->base.inst, 0xf8, 0x10003080); /* 0x002310 */ in gk104_fifo_gpfifo_new_()
327 nvkm_wo32(chan->base.inst, 0xfc, 0x10000010); /* 0x002350 */ in gk104_fifo_gpfifo_new_()
329 return 0; in gk104_fifo_gpfifo_new_()
343 if (!(ret = nvif_unpack(ret, &data, &size, args->v0, 0, 0, false))) { in gk104_fifo_gpfifo_new()