Lines Matching refs:fifo
60 struct nvkm_fifo *fifo = runl->fifo; in nvkm_runl_rc() local
92 nvkm_msec(fifo->engine.subdev.device, 2000, in nvkm_runl_rc()
251 return nvkm_msec(runl->fifo->engine.subdev.device, runl->fifo->timeout.chan_msec, in nvkm_runl_preempt_wait()
283 struct nvkm_fifo *fifo = runl->fifo; in nvkm_runl_allow() local
286 spin_lock_irqsave(&fifo->lock, flags); in nvkm_runl_allow()
291 spin_unlock_irqrestore(&fifo->lock, flags); in nvkm_runl_allow()
297 struct nvkm_fifo *fifo = runl->fifo; in nvkm_runl_block() local
300 spin_lock_irqsave(&fifo->lock, flags); in nvkm_runl_block()
305 spin_unlock_irqrestore(&fifo->lock, flags); in nvkm_runl_block()
341 struct nvkm_fifo *fifo = runl->fifo; in nvkm_runl_add() local
342 struct nvkm_device *device = fifo->engine.subdev.device; in nvkm_runl_add()
366 if (engn->fault < 0 && fifo->func->mmu_fault) { in nvkm_runl_add()
367 const struct nvkm_enum *map = fifo->func->mmu_fault->engine; in nvkm_runl_add()
382 nvkm_runl_get(struct nvkm_fifo *fifo, int runi, u32 addr) in nvkm_runl_get() argument
386 nvkm_runl_foreach(runl, fifo) { in nvkm_runl_get()
395 nvkm_runl_new(struct nvkm_fifo *fifo, int runi, u32 addr, int id_nr) in nvkm_runl_new() argument
397 struct nvkm_subdev *subdev = &fifo->engine.subdev; in nvkm_runl_new()
404 runl->func = fifo->func->runl; in nvkm_runl_new()
405 runl->fifo = fifo; in nvkm_runl_new()
415 list_add_tail(&runl->head, &fifo->runls); in nvkm_runl_new()
417 if (!fifo->chid) { in nvkm_runl_new()
425 runl->cgid = nvkm_chid_ref(fifo->cgid); in nvkm_runl_new()
426 runl->chid = nvkm_chid_ref(fifo->chid); in nvkm_runl_new()