Lines Matching refs:gpc

1037 	int gpc, tpc;  in gf100_grctx_generate_attrib()  local
1042 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gf100_grctx_generate_attrib()
1043 for (tpc = 0; tpc < gr->tpc_nr[gpc]; tpc++) { in gf100_grctx_generate_attrib()
1044 const u32 o = TPC_UNIT(gpc, tpc, 0x0520); in gf100_grctx_generate_attrib()
1084 data |= gr->sm[sm++].gpc << (j * 8); in gf100_grctx_generate_r4060a8()
1253 int i, gpc; in gf100_grctx_generate_alpha_beta_tables() local
1265 for (gpc = 0; atarget && gpc < gr->gpc_nr; gpc++) { in gf100_grctx_generate_alpha_beta_tables()
1266 if (abits[gpc] < gr->tpc_nr[gpc]) { in gf100_grctx_generate_alpha_beta_tables()
1267 abits[gpc]++; in gf100_grctx_generate_alpha_beta_tables()
1273 for (gpc = 0; gpc < gr->gpc_nr; gpc++) { in gf100_grctx_generate_alpha_beta_tables()
1274 u32 bbits = gr->tpc_nr[gpc] - abits[gpc]; in gf100_grctx_generate_alpha_beta_tables()
1275 amask |= ((1 << abits[gpc]) - 1) << (gpc * 8); in gf100_grctx_generate_alpha_beta_tables()
1276 bmask |= ((1 << bbits) - 1) << abits[gpc] << (gpc * 8); in gf100_grctx_generate_alpha_beta_tables()
1285 gf100_grctx_generate_tpc_nr(struct gf100_gr *gr, int gpc) in gf100_grctx_generate_tpc_nr() argument
1288 nvkm_wr32(device, GPC_UNIT(gpc, 0x0c08), gr->tpc_nr[gpc]); in gf100_grctx_generate_tpc_nr()
1289 nvkm_wr32(device, GPC_UNIT(gpc, 0x0c8c), gr->tpc_nr[gpc]); in gf100_grctx_generate_tpc_nr()
1293 gf100_grctx_generate_sm_id(struct gf100_gr *gr, int gpc, int tpc, int sm) in gf100_grctx_generate_sm_id() argument
1296 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x698), sm); in gf100_grctx_generate_sm_id()
1297 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x4e8), sm); in gf100_grctx_generate_sm_id()
1298 nvkm_wr32(device, GPC_UNIT(gpc, 0x0c10 + tpc * 4), sm); in gf100_grctx_generate_sm_id()
1299 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x088), sm); in gf100_grctx_generate_sm_id()
1309 func->sm_id(gr, gr->sm[sm].gpc, gr->sm[sm].tpc, sm); in gf100_grctx_generate_floorsweep()
1311 func->tpc_nr(gr, gr->sm[sm].gpc); in gf100_grctx_generate_floorsweep()