Lines Matching full:ss

71 	int s, ss, total = 0;  in compute_eu_total()  local
74 for (ss = 0; ss < sseu->max_subslices; ss++) in compute_eu_total()
76 total += hweight16(sseu->eu_mask.xehp[ss]); in compute_eu_total()
78 total += hweight16(sseu->eu_mask.hsw[s][ss]); in compute_eu_total()
99 int s, ss, i; in intel_sseu_copy_eumask_to_user() local
102 for (ss = 0; ss < sseu->max_subslices; ss++) { in intel_sseu_copy_eumask_to_user()
105 ss * eu_stride; in intel_sseu_copy_eumask_to_user()
106 u16 mask = sseu_get_eus(sseu, s, ss); in intel_sseu_copy_eumask_to_user()
133 int s, ss, i; in intel_sseu_copy_ssmask_to_user() local
136 for (ss = 0; ss < sseu->max_subslices; ss++) { in intel_sseu_copy_ssmask_to_user()
137 i = s * ss_stride * BITS_PER_BYTE + ss; in intel_sseu_copy_ssmask_to_user()
139 if (!intel_sseu_has_subslice(sseu, s, ss)) in intel_sseu_copy_ssmask_to_user()
153 int ss; in gen11_compute_sseu_info() local
158 for (ss = 0; ss < sseu->max_subslices; ss++) in gen11_compute_sseu_info()
159 if (intel_sseu_has_subslice(sseu, 0, ss)) in gen11_compute_sseu_info()
160 sseu_set_eus(sseu, 0, ss, eu_en); in gen11_compute_sseu_info()
169 int ss; in xehp_compute_sseu_info() local
178 for (ss = 0; ss < sseu->max_subslices; ss++) in xehp_compute_sseu_info()
179 if (intel_sseu_has_subslice(sseu, 0, ss)) in xehp_compute_sseu_info()
180 sseu_set_eus(sseu, 0, ss, eu_en); in xehp_compute_sseu_info()
266 * Gen12 has Dual-Subslices, which behave similarly to 2 gen11 SS. in gen12_sseu_info_init()
389 int s, ss; in gen9_sseu_info_init() local
418 for (ss = 0; ss < sseu->max_subslices; ss++) { in gen9_sseu_info_init()
422 if (!intel_sseu_has_subslice(sseu, s, ss)) in gen9_sseu_info_init()
426 eu_disabled_mask = (eu_disable >> (ss * 8)) & eu_mask; in gen9_sseu_info_init()
428 sseu_set_eus(sseu, s, ss, ~eu_disabled_mask & eu_mask); in gen9_sseu_info_init()
439 sseu->subslice_7eu[s] |= BIT(ss); in gen9_sseu_info_init()
472 #define IS_SS_DISABLED(ss) (!(sseu->subslice_mask.hsw[0] & BIT(ss))) in gen9_sseu_info_init() argument
492 int s, ss; in bdw_sseu_info_init() local
529 for (ss = 0; ss < sseu->max_subslices; ss++) { in bdw_sseu_info_init()
533 if (!intel_sseu_has_subslice(sseu, s, ss)) in bdw_sseu_info_init()
538 eu_disable[s] >> (ss * sseu->max_eus_per_subslice); in bdw_sseu_info_init()
540 sseu_set_eus(sseu, s, ss, ~eu_disabled_mask & 0xFF); in bdw_sseu_info_init()
548 sseu->subslice_7eu[s] |= 1 << ss; in bdw_sseu_info_init()
579 int s, ss; in hsw_sseu_info_init() local
626 for (ss = 0; ss < sseu->max_subslices; ss++) { in hsw_sseu_info_init()
627 sseu_set_eus(sseu, s, ss, in hsw_sseu_info_init()
815 int s, ss; in sseu_print_hsw_topology() local
823 for (ss = 0; ss < sseu->max_subslices; ss++) { in sseu_print_hsw_topology()
824 u16 enabled_eus = sseu_get_eus(sseu, s, ss); in sseu_print_hsw_topology()
827 ss, hweight16(enabled_eus), enabled_eus); in sseu_print_hsw_topology()