Lines Matching refs:ctdp_level
363 struct isst_pkg_ctdp_level_info *ctdp_level; in isst_ctdp_display_information() local
366 ctdp_level = &pkg_dev->ctdp_level[i]; in isst_ctdp_display_information()
367 if (!ctdp_level->processed) in isst_ctdp_display_information()
371 ctdp_level->level); in isst_ctdp_display_information()
379 j = CPU_COUNT_S(ctdp_level->core_cpumask_size, in isst_ctdp_display_information()
380 ctdp_level->core_cpumask); in isst_ctdp_display_information()
387 if (ctdp_level->core_cpumask_size) { in isst_ctdp_display_information()
390 ctdp_level->core_cpumask_size, in isst_ctdp_display_information()
391 ctdp_level->core_cpumask); in isst_ctdp_display_information()
396 ctdp_level->core_cpumask_size, in isst_ctdp_display_information()
397 ctdp_level->core_cpumask); in isst_ctdp_display_information()
402 snprintf(value, sizeof(value), "%d", ctdp_level->tdp_ratio); in isst_ctdp_display_information()
406 if (!ctdp_level->sse_p1) in isst_ctdp_display_information()
407 ctdp_level->sse_p1 = ctdp_level->tdp_ratio; in isst_ctdp_display_information()
409 ctdp_level->sse_p1 * DISP_FREQ_MULTIPLIER); in isst_ctdp_display_information()
412 if (ctdp_level->avx2_p1) { in isst_ctdp_display_information()
415 ctdp_level->avx2_p1 * DISP_FREQ_MULTIPLIER); in isst_ctdp_display_information()
419 if (ctdp_level->avx512_p1) { in isst_ctdp_display_information()
422 ctdp_level->avx512_p1 * DISP_FREQ_MULTIPLIER); in isst_ctdp_display_information()
426 if (ctdp_level->uncore_p1) { in isst_ctdp_display_information()
429 ctdp_level->uncore_p1 * DISP_FREQ_MULTIPLIER); in isst_ctdp_display_information()
433 if (ctdp_level->uncore_p0) { in isst_ctdp_display_information()
436 ctdp_level->uncore_p0 * DISP_FREQ_MULTIPLIER); in isst_ctdp_display_information()
440 if (ctdp_level->mem_freq) { in isst_ctdp_display_information()
443 ctdp_level->mem_freq); in isst_ctdp_display_information()
449 if (ctdp_level->fact_support) { in isst_ctdp_display_information()
450 if (ctdp_level->fact_enabled) in isst_ctdp_display_information()
460 if (ctdp_level->pbf_support) { in isst_ctdp_display_information()
461 if (ctdp_level->pbf_enabled) in isst_ctdp_display_information()
471 if (ctdp_level->sst_cp_support) { in isst_ctdp_display_information()
472 if (ctdp_level->sst_cp_enabled) in isst_ctdp_display_information()
481 if (ctdp_level->pbf_support) in isst_ctdp_display_information()
484 &ctdp_level->pbf_info, in isst_ctdp_display_information()
489 if (ctdp_level->pkg_tdp) { in isst_ctdp_display_information()
491 snprintf(value, sizeof(value), "%d", ctdp_level->pkg_tdp); in isst_ctdp_display_information()
495 if (ctdp_level->t_proc_hot) { in isst_ctdp_display_information()
497 snprintf(value, sizeof(value), "%d", ctdp_level->t_proc_hot); in isst_ctdp_display_information()
508 snprintf(value, sizeof(value), "%llu", (ctdp_level->buckets_info >> (j * 8)) & 0xff); in isst_ctdp_display_information()
514 ctdp_level->trl_sse_active_cores[j] * in isst_ctdp_display_information()
519 if (ctdp_level->trl_avx_active_cores[0]) { in isst_ctdp_display_information()
527 snprintf(value, sizeof(value), "%llu", (ctdp_level->buckets_info >> (j * 8)) & 0xff); in isst_ctdp_display_information()
531 … snprintf(value, sizeof(value), "%d", ctdp_level->trl_avx_active_cores[j] * DISP_FREQ_MULTIPLIER); in isst_ctdp_display_information()
536 if (ctdp_level->trl_avx_512_active_cores[0]) { in isst_ctdp_display_information()
544 snprintf(value, sizeof(value), "%llu", (ctdp_level->buckets_info >> (j * 8)) & 0xff); in isst_ctdp_display_information()
548 …snprintf(value, sizeof(value), "%d", ctdp_level->trl_avx_512_active_cores[j] * DISP_FREQ_MULTIPLIE… in isst_ctdp_display_information()
553 if (ctdp_level->pbf_support) in isst_ctdp_display_information()
555 &ctdp_level->pbf_info, in isst_ctdp_display_information()
557 if (ctdp_level->fact_support) in isst_ctdp_display_information()
559 &ctdp_level->fact_info, in isst_ctdp_display_information()