Lines Matching full: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()
262 * Gen12 has Dual-Subslices, which behave similarly to 2 gen11 SS. in gen12_sseu_info_init()
385 int s, ss; in gen9_sseu_info_init() local
414 for (ss = 0; ss < sseu->max_subslices; ss++) { in gen9_sseu_info_init()
418 if (!intel_sseu_has_subslice(sseu, s, ss)) in gen9_sseu_info_init()
422 eu_disabled_mask = (eu_disable >> (ss * 8)) & eu_mask; in gen9_sseu_info_init()
424 sseu_set_eus(sseu, s, ss, ~eu_disabled_mask & eu_mask); in gen9_sseu_info_init()
435 sseu->subslice_7eu[s] |= BIT(ss); in gen9_sseu_info_init()
468 #define IS_SS_DISABLED(ss) (!(sseu->subslice_mask.hsw[0] & BIT(ss))) in gen9_sseu_info_init() argument
488 int s, ss; in bdw_sseu_info_init() local
525 for (ss = 0; ss < sseu->max_subslices; ss++) { in bdw_sseu_info_init()
529 if (!intel_sseu_has_subslice(sseu, s, ss)) in bdw_sseu_info_init()
534 eu_disable[s] >> (ss * sseu->max_eus_per_subslice); in bdw_sseu_info_init()
536 sseu_set_eus(sseu, s, ss, ~eu_disabled_mask & 0xFF); in bdw_sseu_info_init()
544 sseu->subslice_7eu[s] |= 1 << ss; in bdw_sseu_info_init()
575 int s, ss; in hsw_sseu_info_init() local
622 for (ss = 0; ss < sseu->max_subslices; ss++) { in hsw_sseu_info_init()
623 sseu_set_eus(sseu, s, ss, in hsw_sseu_info_init()
811 int s, ss; in sseu_print_hsw_topology() local
819 for (ss = 0; ss < sseu->max_subslices; ss++) { in sseu_print_hsw_topology()
820 u16 enabled_eus = sseu_get_eus(sseu, s, ss); in sseu_print_hsw_topology()
823 ss, hweight16(enabled_eus), enabled_eus); in sseu_print_hsw_topology()