Lines Matching refs:pes
91 u32 pes, temp, tpc_new = 0; in gv100_gr_nonpes_aware_tpc() local
93 for (pes = 0; pes < gr->ppc_nr[gpc]; pes++) { in gv100_gr_nonpes_aware_tpc()
94 if (gr->ppc_tpc_mask[gpc][pes] & BIT(tpc)) in gv100_gr_nonpes_aware_tpc()
97 tpc_new += gr->ppc_tpc_nr[gpc][pes]; in gv100_gr_nonpes_aware_tpc()
100 temp = (BIT(tpc) - 1) & gr->ppc_tpc_mask[gpc][pes]; in gv100_gr_nonpes_aware_tpc()
122 u32 pes; in gv100_gr_scg_estimate_perf() local
165 for (pes = 0; pes < gr->ppc_nr[gpc]; pes++) { in gv100_gr_scg_estimate_perf()
167 num_tpc_mask = gr->ppc_tpc_mask[gpc][pes] & gpc_tpc_mask[gpc]; in gv100_gr_scg_estimate_perf()
231 u32 gpc, tpc, pes, gtpc; in gv100_gr_oneinit_sm_id() local
243 for (pes = 0; pes < gr->ppc_nr[gpc]; pes++) in gv100_gr_oneinit_sm_id()
244 gpc_tpc_mask[gpc] |= gr->ppc_tpc_mask[gpc][pes]; in gv100_gr_oneinit_sm_id()