Lines Matching refs:tpc
924 int gpc, tpc, id; in gm204_grctx_generate_tpcid() local
926 for (tpc = 0, id = 0; tpc < 4; tpc++) { in gm204_grctx_generate_tpcid()
928 if (tpc < priv->tpc_nr[gpc]) { in gm204_grctx_generate_tpcid()
929 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x698), id); in gm204_grctx_generate_tpcid()
930 nv_wr32(priv, GPC_UNIT(gpc, 0x0c10 + tpc * 4), id); in gm204_grctx_generate_tpcid()
931 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x088), id); in gm204_grctx_generate_tpcid()
953 int tpc, gpc, i; in gm204_grctx_generate_405b60() local
965 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--; in gm204_grctx_generate_405b60()
967 dist[i / 4] |= ((gpc << 4) | tpc) << ((i % 4) * 8); in gm204_grctx_generate_405b60()
968 gpcs[gpc] |= i << (tpc * 8); in gm204_grctx_generate_405b60()
987 gf100_gr_mmio(priv, oclass->tpc); in gm204_grctx_generate_main()
1039 .tpc = gm204_grctx_pack_tpc,