Home
last modified time | relevance | path

Searched refs:ntpcv (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxgf117.c202 u8 shift, ntpcv; in gf117_grctx_generate_rop_mapping() local
211 ntpcv = gr->tpc_total; in gf117_grctx_generate_rop_mapping()
212 while (!(ntpcv & (1 << 4))) { in gf117_grctx_generate_rop_mapping()
213 ntpcv <<= 1; in gf117_grctx_generate_rop_mapping()
217 data2[0] = (ntpcv << 16); in gf117_grctx_generate_rop_mapping()
219 data2[0] |= (((1 << (0 + 5)) % ntpcv) << 24); in gf117_grctx_generate_rop_mapping()
221 data2[1] |= ((1 << (i + 5)) % ntpcv) << ((i - 1) * 5); in gf117_grctx_generate_rop_mapping()
Dctxgf100.c1119 u8 shift, ntpcv; in gf100_grctx_generate_rop_mapping() local
1128 ntpcv = gr->tpc_total; in gf100_grctx_generate_rop_mapping()
1129 while (!(ntpcv & (1 << 4))) { in gf100_grctx_generate_rop_mapping()
1130 ntpcv <<= 1; in gf100_grctx_generate_rop_mapping()
1134 data2[0] = (ntpcv << 16); in gf100_grctx_generate_rop_mapping()
1136 data2[0] |= (((1 << (0 + 5)) % ntpcv) << 24); in gf100_grctx_generate_rop_mapping()
1138 data2[1] |= ((1 << (i + 5)) % ntpcv) << ((i - 1) * 5); in gf100_grctx_generate_rop_mapping()