Lines Matching refs:runl
51 return (chan->cgrp->runl->id << 16) | chan->id; in r535_chan_doorbell_handle()
67 struct nvkm_fifo *fifo = chan->cgrp->runl->fifo; in r535_chan_ramfc_clear()
82 struct nvkm_fifo *fifo = chan->cgrp->runl->fifo; in r535_chan_ramfc_write()
97 nvkm_runl_foreach_engn(engn, chan->cgrp->runl) { in r535_chan_ramfc_write()
230 struct nvkm_runl *runl = chan->cgrp->runl; in r535_chan_id_put() local
231 struct nvkm_fifo *fifo = runl->fifo; in r535_chan_id_put()
243 nvkm_chid_put(runl->chid, userd->chid, &chan->cgrp->lock); in r535_chan_id_put()
259 struct nvkm_runl *runl = chan->cgrp->runl; in r535_chan_id_get_locked() local
260 struct nvkm_fifo *fifo = runl->fifo; in r535_chan_id_get_locked()
267 RUNL_DEBUG(runl, "ouserd %llx", ouserd); in r535_chan_id_get_locked()
283 RUNL_DEBUG(runl, "userd too small"); in r535_chan_id_get_locked()
291 userd->chid = nvkm_chid_get(runl->chid, chan); in r535_chan_id_get_locked()
302 nvkm_chid_put(runl->chid, userd->chid, &chan->cgrp->lock); in r535_chan_id_get_locked()
322 struct nvkm_fifo *fifo = chan->cgrp->runl->fifo; in r535_chan_id_get()
437 r535_runl_allow(struct nvkm_runl *runl, u32 engm) in r535_runl_allow() argument
442 r535_runl_block(struct nvkm_runl *runl, u32 engm) in r535_runl_block() argument
510 struct nvkm_runl *runl; in r535_fifo_ectx_size() local
520 nvkm_runl_foreach(runl, fifo) { in r535_fifo_ectx_size()
521 nvkm_runl_foreach_engn(engn, runl) { in r535_fifo_ectx_size()
540 struct nvkm_runl *runl; in r535_fifo_runl_ctor() local
560 runl = nvkm_runl_get(fifo, id, addr); in r535_fifo_runl_ctor()
561 if (!runl) { in r535_fifo_runl_ctor()
562 runl = nvkm_runl_new(fifo, id, addr, 0); in r535_fifo_runl_ctor()
563 if (WARN_ON(IS_ERR(runl))) in r535_fifo_runl_ctor()
575 runl = nvkm_runl_get(fifo, id, addr); in r535_fifo_runl_ctor()
576 if (!runl) in r535_fifo_runl_ctor()
582 nvkm_runl_del(runl); in r535_fifo_runl_ctor()
588 nvkm_runl_del(runl); in r535_fifo_runl_ctor()
594 engn = nvkm_runl_add(runl, nv2080, &r535_ce, type, inst); in r535_fifo_runl_ctor()
597 engn = nvkm_runl_add(runl, nv2080, &r535_gr, type, inst); in r535_fifo_runl_ctor()
603 engn = nvkm_runl_add(runl, nv2080, &r535_flcn, type, inst); in r535_fifo_runl_ctor()
613 nvkm_runl_del(runl); in r535_fifo_runl_ctor()
656 rm->runl = &r535_runl; in r535_fifo_new()