Lines Matching refs:gpc
924 int gpc, tpc, id; in gm204_grctx_generate_tpcid() local
927 for (gpc = 0; gpc < priv->gpc_nr; gpc++) { 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
961 for (gpc = -1, i = 0; i < priv->tpc_total; i++) { in gm204_grctx_generate_405b60()
963 gpc = (gpc + 1) % priv->gpc_nr; in gm204_grctx_generate_405b60()
964 } while(!tpcnr[gpc]); in gm204_grctx_generate_405b60()
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()
985 gf100_gr_mmio(priv, oclass->gpc); in gm204_grctx_generate_main()
1037 .gpc = gm204_grctx_pack_gpc,