Lines Matching refs:ss
72 int s, ss, total = 0; in compute_eu_total() local
75 for (ss = 0; ss < sseu->max_subslices; ss++) in compute_eu_total()
77 total += hweight16(sseu->eu_mask.xehp[ss]); in compute_eu_total()
79 total += hweight16(sseu->eu_mask.hsw[s][ss]); in compute_eu_total()
100 int s, ss, i; in intel_sseu_copy_eumask_to_user() local
103 for (ss = 0; ss < sseu->max_subslices; ss++) { in intel_sseu_copy_eumask_to_user()
106 ss * eu_stride; in intel_sseu_copy_eumask_to_user()
107 u16 mask = sseu_get_eus(sseu, s, ss); in intel_sseu_copy_eumask_to_user()
134 int s, ss, i; in intel_sseu_copy_ssmask_to_user() local
137 for (ss = 0; ss < sseu->max_subslices; ss++) { in intel_sseu_copy_ssmask_to_user()
138 i = s * ss_stride * BITS_PER_BYTE + ss; in intel_sseu_copy_ssmask_to_user()
140 if (!intel_sseu_has_subslice(sseu, s, ss)) in intel_sseu_copy_ssmask_to_user()
154 int ss; in gen11_compute_sseu_info() local
159 for (ss = 0; ss < sseu->max_subslices; ss++) in gen11_compute_sseu_info()
160 if (intel_sseu_has_subslice(sseu, 0, ss)) in gen11_compute_sseu_info()
161 sseu_set_eus(sseu, 0, ss, eu_en); in gen11_compute_sseu_info()
170 int ss; in xehp_compute_sseu_info() local
179 for (ss = 0; ss < sseu->max_subslices; ss++) in xehp_compute_sseu_info()
180 if (intel_sseu_has_subslice(sseu, 0, ss)) in xehp_compute_sseu_info()
181 sseu_set_eus(sseu, 0, ss, eu_en); in xehp_compute_sseu_info()
390 int s, ss; in gen9_sseu_info_init() local
419 for (ss = 0; ss < sseu->max_subslices; ss++) { in gen9_sseu_info_init()
423 if (!intel_sseu_has_subslice(sseu, s, ss)) in gen9_sseu_info_init()
427 eu_disabled_mask = (eu_disable >> (ss * 8)) & eu_mask; in gen9_sseu_info_init()
429 sseu_set_eus(sseu, s, ss, ~eu_disabled_mask & eu_mask); in gen9_sseu_info_init()
440 sseu->subslice_7eu[s] |= BIT(ss); in gen9_sseu_info_init()
473 #define IS_SS_DISABLED(ss) (!(sseu->subslice_mask.hsw[0] & BIT(ss))) in gen9_sseu_info_init() argument
493 int s, ss; in bdw_sseu_info_init() local
530 for (ss = 0; ss < sseu->max_subslices; ss++) { in bdw_sseu_info_init()
534 if (!intel_sseu_has_subslice(sseu, s, ss)) in bdw_sseu_info_init()
539 eu_disable[s] >> (ss * sseu->max_eus_per_subslice); in bdw_sseu_info_init()
541 sseu_set_eus(sseu, s, ss, ~eu_disabled_mask & 0xFF); in bdw_sseu_info_init()
549 sseu->subslice_7eu[s] |= 1 << ss; in bdw_sseu_info_init()
580 int s, ss; in hsw_sseu_info_init() local
627 for (ss = 0; ss < sseu->max_subslices; ss++) { in hsw_sseu_info_init()
628 sseu_set_eus(sseu, s, ss, in hsw_sseu_info_init()
816 int s, ss; in sseu_print_hsw_topology() local
824 for (ss = 0; ss < sseu->max_subslices; ss++) { in sseu_print_hsw_topology()
825 u16 enabled_eus = sseu_get_eus(sseu, s, ss); in sseu_print_hsw_topology()
828 ss, hweight16(enabled_eus), enabled_eus); in sseu_print_hsw_topology()