Lines Matching refs:tpc
925 int gpc, tpc, id; in gm204_grctx_generate_tpcid() local
927 for (tpc = 0, id = 0; tpc < 4; tpc++) { in gm204_grctx_generate_tpcid()
929 if (tpc < gr->tpc_nr[gpc]) { in gm204_grctx_generate_tpcid()
930 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x698), id); in gm204_grctx_generate_tpcid()
931 nvkm_wr32(device, GPC_UNIT(gpc, 0x0c10 + tpc * 4), id); in gm204_grctx_generate_tpcid()
932 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x088), id); in gm204_grctx_generate_tpcid()
956 int tpc, gpc, i; in gm204_grctx_generate_405b60() local
968 tpc = gr->tpc_nr[gpc] - tpcnr[gpc]--; in gm204_grctx_generate_405b60()
970 dist[i / 4] |= ((gpc << 4) | tpc) << ((i % 4) * 8); in gm204_grctx_generate_405b60()
971 gpcs[gpc] |= i << (tpc * 8); in gm204_grctx_generate_405b60()
991 gf100_gr_mmio(gr, grctx->tpc); in gm204_grctx_generate_main()
1034 .tpc = gm204_grctx_pack_tpc,