Lines Matching refs:j
240 int j; in find_perf_limit_from_pct() local
242 for (j = pct_config->num_perf_limits - 1; j >= 0; j--) { in find_perf_limit_from_pct()
243 if (threshold_map <= pct_config->threshold_perf[j].threshold_bitmap) { in find_perf_limit_from_pct()
244 return pct_config->threshold_perf[j].perf_limit; in find_perf_limit_from_pct()
255 uint32_t i, j, thr_tmp, thr_map = 0; in mpmm_build_threshold_map() local
259 for (i = 0, j = 0; i < ctx->num_cores; i++) { in mpmm_build_threshold_map()
261 threshold_array[j] = ctx->core_ctx[i].threshold; in mpmm_build_threshold_map()
262 j++; in mpmm_build_threshold_map()
268 for (j = i + 1; j < ctx->num_cores_online; j++) { in mpmm_build_threshold_map()
269 if (threshold_array[i] > threshold_array[j]) { in mpmm_build_threshold_map()
271 threshold_array[i] = threshold_array[j]; in mpmm_build_threshold_map()
272 threshold_array[j] = thr_tmp; in mpmm_build_threshold_map()