Lines Matching refs:ss
26 int ss; in cherryview_sseu_device_status() local
33 for (ss = 0; ss < ss_max; ss++) { in cherryview_sseu_device_status()
36 if (sig1[ss] & CHV_SS_PG_ENABLE) in cherryview_sseu_device_status()
41 sseu->subslice_mask[0] |= BIT(ss); in cherryview_sseu_device_status()
42 eu_cnt = ((sig1[ss] & CHV_EU08_PG_ENABLE) ? 0 : 2) + in cherryview_sseu_device_status()
43 ((sig1[ss] & CHV_EU19_PG_ENABLE) ? 0 : 2) + in cherryview_sseu_device_status()
44 ((sig1[ss] & CHV_EU210_PG_ENABLE) ? 0 : 2) + in cherryview_sseu_device_status()
45 ((sig2[ss] & CHV_EU311_PG_ENABLE) ? 0 : 2); in cherryview_sseu_device_status()
60 int s, ss; in gen11_sseu_device_status() local
94 for (ss = 0; ss < info->sseu.max_subslices; ss++) { in gen11_sseu_device_status()
98 !(s_reg[s] & (GEN9_PGCTL_SS_ACK(ss)))) in gen11_sseu_device_status()
102 eu_cnt = 2 * hweight32(eu_reg[2 * s + ss / 2] & in gen11_sseu_device_status()
103 eu_mask[ss % 2]); in gen11_sseu_device_status()
120 int s, ss; in gen9_sseu_device_status() local
150 for (ss = 0; ss < info->sseu.max_subslices; ss++) { in gen9_sseu_device_status()
153 ss / BITS_PER_BYTE; in gen9_sseu_device_status()
156 if (!(s_reg[s] & (GEN9_PGCTL_SS_ACK(ss)))) in gen9_sseu_device_status()
161 BIT(ss % BITS_PER_BYTE); in gen9_sseu_device_status()
164 eu_cnt = eu_reg[2 * s + ss / 2] & eu_mask[ss % 2]; in gen9_sseu_device_status()