Lines Matching refs:tpc

1063 	int gpc, tpc;  in gf100_grctx_generate_attrib()  local
1071 for (tpc = 0; tpc < priv->tpc_nr[gpc]; tpc++) { in gf100_grctx_generate_attrib()
1072 const u32 o = TPC_UNIT(gpc, tpc, 0x0520); in gf100_grctx_generate_attrib()
1088 int gpc, tpc, id; in gf100_grctx_generate_tpcid() local
1090 for (tpc = 0, id = 0; tpc < 4; tpc++) { in gf100_grctx_generate_tpcid()
1092 if (tpc < priv->tpc_nr[gpc]) { in gf100_grctx_generate_tpcid()
1093 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x698), id); in gf100_grctx_generate_tpcid()
1094 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x4e8), id); in gf100_grctx_generate_tpcid()
1095 nv_wr32(priv, GPC_UNIT(gpc, 0x0c10 + tpc * 4), id); in gf100_grctx_generate_tpcid()
1096 nv_wr32(priv, TPC_UNIT(gpc, tpc, 0x088), id); in gf100_grctx_generate_tpcid()
1122 int gpc, tpc, i; in gf100_grctx_generate_r4060a8() local
1128 for (tpc = 0; tpc < priv->tpc_total; tpc++) { in gf100_grctx_generate_r4060a8()
1133 data[tpc] = gpc; in gf100_grctx_generate_r4060a8()
1146 int gpc, tpc, i; in gf100_grctx_generate_r418bb8() local
1152 for (tpc = 0; tpc < priv->tpc_total; tpc++) { in gf100_grctx_generate_r418bb8()
1158 data[tpc / 6] |= gpc << ((tpc % 6) * 5); in gf100_grctx_generate_r418bb8()
1161 for (; tpc < 32; tpc++) in gf100_grctx_generate_r418bb8()
1162 data[tpc / 6] |= 7 << ((tpc % 6) * 5); in gf100_grctx_generate_r418bb8()
1203 int gpc, tpc; in gf100_grctx_generate_r406800() local
1217 tpc = priv->tpc_nr[gpc] - tpcnr[gpc]--; in gf100_grctx_generate_r406800()
1219 tpc_set |= 1ULL << ((gpc * 8) + tpc); in gf100_grctx_generate_r406800()
1241 gf100_gr_mmio(priv, oclass->tpc); in gf100_grctx_generate_main()
1380 .tpc = gf100_grctx_pack_tpc,