Lines Matching refs:runl
42 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in gk104_chan_stop()
50 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in gk104_chan_start()
58 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in gk104_chan_unbind()
66 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in gk104_chan_bind_inst()
74 struct nvkm_runl *runl = chan->cgrp->runl; in gk104_chan_bind() local
75 struct nvkm_device *device = runl->fifo->engine.subdev.device; in gk104_chan_bind()
77 nvkm_mask(device, 0x800004 + (chan->id * 8), 0x000f0000, runl->id << 16); in gk104_chan_bind()
206 u32 stat = nvkm_rd32(engn->runl->fifo->engine.subdev.device, 0x002640 + (engn->id * 0x08)); in gk104_engn_status()
404 gk104_runl_fault_clear(struct nvkm_runl *runl) in gk104_runl_fault_clear() argument
406 nvkm_wr32(runl->fifo->engine.subdev.device, 0x00262c, BIT(runl->id)); in gk104_runl_fault_clear()
410 gk104_runl_allow(struct nvkm_runl *runl, u32 engm) in gk104_runl_allow() argument
412 nvkm_mask(runl->fifo->engine.subdev.device, 0x002630, BIT(runl->id), 0x00000000); in gk104_runl_allow()
416 gk104_runl_block(struct nvkm_runl *runl, u32 engm) in gk104_runl_block() argument
418 nvkm_mask(runl->fifo->engine.subdev.device, 0x002630, BIT(runl->id), BIT(runl->id)); in gk104_runl_block()
422 gk104_runl_pending(struct nvkm_runl *runl) in gk104_runl_pending() argument
424 struct nvkm_device *device = runl->fifo->engine.subdev.device; in gk104_runl_pending()
426 return nvkm_rd32(device, 0x002284 + (runl->id * 0x08)) & 0x00100000; in gk104_runl_pending()
430 gk104_runl_commit(struct nvkm_runl *runl, struct nvkm_memory *memory, u32 start, int count) in gk104_runl_commit() argument
432 struct nvkm_fifo *fifo = runl->fifo; in gk104_runl_commit()
447 nvkm_wr32(device, 0x002274, (runl->id << 20) | count); in gk104_runl_commit()
643 struct nvkm_runl *runl; in gk104_fifo_intr_runlist() local
646 nvkm_runl_foreach_cond(runl, fifo, mask & BIT(runl->id)) { in gk104_fifo_intr_runlist()
647 nvkm_wr32(device, 0x002a00, BIT(runl->id)); in gk104_fifo_intr_runlist()
760 struct nvkm_runl *runl; in gk104_fifo_runl_ctor() local
765 runl = nvkm_runl_get(fifo, tdev->runlist, tdev->runlist); in gk104_fifo_runl_ctor()
766 if (!runl) { in gk104_fifo_runl_ctor()
767 runl = nvkm_runl_new(fifo, tdev->runlist, tdev->runlist, 0); in gk104_fifo_runl_ctor()
768 if (IS_ERR(runl)) in gk104_fifo_runl_ctor()
769 return PTR_ERR(runl); in gk104_fifo_runl_ctor()
771 nvkm_runq_foreach_cond(runq, fifo, gk104_runq_runm(runq) & BIT(runl->id)) { in gk104_fifo_runl_ctor()
772 if (WARN_ON(runl->runq_nr == ARRAY_SIZE(runl->runq))) in gk104_fifo_runl_ctor()
775 runl->runq[runl->runq_nr++] = runq; in gk104_fifo_runl_ctor()
788 nvkm_runl_add(runl, 15, &gf100_engn_sw, NVKM_ENGINE_SW, 0); in gk104_fifo_runl_ctor()
795 nvkm_runl_add(runl, tdev->engine, func, tdev->type, tdev->inst); in gk104_fifo_runl_ctor()
820 .runl = &gk104_runl,