tpc_total 1071 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c const int b = mmio_vram(info, size * gr->tpc_total, (1 << s), false); tpc_total 1128 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c ntpcv = gr->tpc_total; tpc_total 1141 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c nvkm_wr32(device, 0x418bb8, (gr->tpc_total << 8) | tpc_total 1147 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c nvkm_wr32(device, 0x419bd0, (gr->tpc_total << 8) | tpc_total 1154 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c nvkm_wr32(device, 0x4078bc, (gr->tpc_total << 8) | tpc_total 1278 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c u32 atarget = gf100_grctx_alpha_beta_map[gr->tpc_total][i]; tpc_total 1283 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c atarget = max_t(u32, gr->tpc_total * i / 32, 1); tpc_total 744 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf108.c const int b = mmio_vram(info, size * gr->tpc_total, (1 << s), false); tpc_total 748 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf108.c u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; tpc_total 211 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c ntpcv = gr->tpc_total; tpc_total 224 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c nvkm_wr32(device, 0x418bb8, (gr->tpc_total << 8) | tpc_total 230 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c nvkm_wr32(device, 0x41bfd0, (gr->tpc_total << 8) | tpc_total 237 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c nvkm_wr32(device, 0x4078bc, (gr->tpc_total << 8) | tpc_total 252 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c const int b = mmio_vram(info, size * gr->tpc_total, (1 << s), false); tpc_total 256 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.c u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; tpc_total 926 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c nvkm_wr32(device, 0x405b00, (gr->tpc_total << 8) | gr->gpc_nr); tpc_total 936 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c u32 atarget = max_t(u32, gr->tpc_total * i / 32, 1); tpc_total 937 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c u32 btarget = gr->tpc_total - atarget; tpc_total 50 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk20a.c nvkm_wr32(device, 0x405b00, (gr->tpc_total << 8) | gr->gpc_nr); tpc_total 917 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c const int b = mmio_vram(info, size * gr->tpc_total, (1 << s), false); tpc_total 920 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c u32 ao = bo + grctx->attrib_nr_max * gr->tpc_total; tpc_total 49 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.c const u32 dist_nr = DIV_ROUND_UP(gr->tpc_total, 4); tpc_total 47 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm20b.c nvkm_wr32(device, 0x405b00, (gr->tpc_total << 8) | gr->gpc_nr); tpc_total 53 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c u32 size = grctx->alpha_nr_max * gr->tpc_total; tpc_total 99 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp100.c const u32 dist_nr = DIV_ROUND_UP(gr->tpc_total, 4); tpc_total 49 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgp102.c u32 size = grctx->alpha_nr_max * gr->tpc_total; tpc_total 71 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c u32 size = grctx->alpha_nr_max * gr->tpc_total; tpc_total 76 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c size += grctx->gfxp_nr * gr->tpc_total; tpc_total 121 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c nvkm_wr32(device, 0x418bb8, (gr->tpc_total << 8) | tpc_total 132 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c nvkm_wr32(device, 0x41bfd0, (gr->tpc_total << 8) | tpc_total 135 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c u8 v19 = (1 << (j + 0)) % gr->tpc_total; tpc_total 136 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c u8 v20 = (1 << (j + 1)) % gr->tpc_total; tpc_total 137 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c u8 v21 = (1 << (j + 2)) % gr->tpc_total; tpc_total 138 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c u8 v22 = (1 << (j + 3)) % gr->tpc_total; tpc_total 146 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c nvkm_wr32(device, 0x4078bc, (gr->tpc_total << 8) | tpc_total 1106 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c cfg |= (u32)gr->tpc_total << 8; tpc_total 1872 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c switch (gr->tpc_total) { tpc_total 1885 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c if (gr->tpc_total % primes[i]) { tpc_total 1925 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c for (i = 0; i < gr->tpc_total;) { tpc_total 1963 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->tpc_total += gr->tpc_nr[i]; tpc_total 2282 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c const u32 magicgpc918 = DIV_ROUND_UP(0x00800000, gr->tpc_total); tpc_total 2283 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c const u8 tile_nr = ALIGN(gr->tpc_total, 32); tpc_total 2288 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c for (data = 0, j = 0; j < 8 && i + j < gr->tpc_total; j++) { tpc_total 2299 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gr->tpc_total); tpc_total 118 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h u8 tpc_total; tpc_total 127 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.c const u32 magicgpc918 = DIV_ROUND_UP(0x00800000, gr->tpc_total); tpc_total 128 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.c const u8 tile_nr = ALIGN(gr->tpc_total, 32); tpc_total 133 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.c for (data = 0, j = 0; j < 8 && i + j < gr->tpc_total; j++) { tpc_total 144 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.c gr->tpc_total); tpc_total 269 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c nvkm_wr32(device, 0x41ac94, (((1 << gr->tpc_total) - 1) & 0xff) << 16); tpc_total 111 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c if (gr->gpc_nr == 2 && gr->tpc_total == 8) { tpc_total 112 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c memcpy(gr->tile, gm200_gr_tile_map_2_8, gr->tpc_total); tpc_total 115 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c if (gr->gpc_nr == 4 && gr->tpc_total == 16) { tpc_total 116 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c memcpy(gr->tile, gm200_gr_tile_map_4_16, gr->tpc_total); tpc_total 119 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c if (gr->gpc_nr == 6 && gr->tpc_total == 24) { tpc_total 120 drivers/gpu/drm/nouveau/nvkm/engine/gr/gm200.c memcpy(gr->tile, gm200_gr_tile_map_6_24, gr->tpc_total);