Lines Matching refs:gpc
925 int gpc, tpc, id; in gm204_grctx_generate_tpcid() local
928 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { 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
964 for (gpc = -1, i = 0; i < gr->tpc_total; i++) { in gm204_grctx_generate_405b60()
966 gpc = (gpc + 1) % gr->gpc_nr; in gm204_grctx_generate_405b60()
967 } while(!tpcnr[gpc]); in gm204_grctx_generate_405b60()
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()
989 gf100_gr_mmio(gr, grctx->gpc); in gm204_grctx_generate_main()
1032 .gpc = gm204_grctx_pack_gpc,