Lines Matching refs:tdev
942 struct nvkm_top_device *tdev; in gk104_fifo_oneinit() local
957 list_for_each_entry(tdev, &device->top->device, head) { in gk104_fifo_oneinit()
958 const int engn = tdev->engine; in gk104_fifo_oneinit()
966 if (map[j] & BIT(tdev->runlist)) { in gk104_fifo_oneinit()
972 fifo->engine[engn].engine = nvkm_device_engine(device, tdev->type, tdev->inst); in gk104_fifo_oneinit()
975 nvkm_subdev_type[tdev->type], tdev->inst); in gk104_fifo_oneinit()
982 tdev->engine, tdev->runlist, pbid, en); in gk104_fifo_oneinit()
984 fifo->engine[engn].runl = tdev->runlist; in gk104_fifo_oneinit()
987 fifo->runlist[tdev->runlist].engm |= BIT(engn); in gk104_fifo_oneinit()
988 fifo->runlist[tdev->runlist].engm_sw |= BIT(engn); in gk104_fifo_oneinit()
989 if (tdev->type == NVKM_ENGINE_GR) in gk104_fifo_oneinit()
990 fifo->runlist[tdev->runlist].engm_sw |= BIT(GK104_FIFO_ENGN_SW); in gk104_fifo_oneinit()
991 fifo->runlist_nr = max(fifo->runlist_nr, tdev->runlist + 1); in gk104_fifo_oneinit()