Lines Matching refs:engn
126 int engn, runl; in tu102_fifo_recover_work() local
137 for (todo = engm; engn = __ffs(todo), todo; todo &= ~BIT(engn)) { in tu102_fifo_recover_work()
138 if ((engine = fifo->engine[engn].engine)) { in tu102_fifo_recover_work()
150 static void tu102_fifo_recover_engn(struct gk104_fifo *fifo, int engn);
207 unsigned long engn, engm = fifo->runlist[runl].engm; in tu102_fifo_recover_chan() local
229 for_each_set_bit(engn, &engm, fifo->engine_nr) { in tu102_fifo_recover_chan()
232 gk104_fifo_engine_status(fifo, engn, &status); in tu102_fifo_recover_chan()
235 tu102_fifo_recover_engn(fifo, engn); in tu102_fifo_recover_chan()
240 tu102_fifo_recover_engn(struct gk104_fifo *fifo, int engn) in tu102_fifo_recover_engn() argument
244 const u32 runl = fifo->engine[engn].runl; in tu102_fifo_recover_engn()
245 const u32 engm = BIT(engn); in tu102_fifo_recover_engn()
257 gk104_fifo_engine_status(fifo, engn, &status); in tu102_fifo_recover_engn()
267 nvkm_warn(subdev, "engine %d: scheduled for recovery\n", engn); in tu102_fifo_recover_engn()
283 int engn; in tu102_fifo_fault() local
343 for (engn = 0; engn < fifo->engine_nr && engine; engn++) { in tu102_fifo_fault()
344 if (fifo->engine[engn].engine == engine) { in tu102_fifo_fault()
345 tu102_fifo_recover_engn(fifo, engn); in tu102_fifo_fault()
358 u32 engn; in tu102_fifo_intr_ctxsw_timeout() local
365 for_each_set_bit(engn, &engm, 32) in tu102_fifo_intr_ctxsw_timeout()
366 tu102_fifo_recover_engn(fifo, engn); in tu102_fifo_intr_ctxsw_timeout()