Home
last modified time | relevance | path

Searched refs:ctdp_level (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/tools/power/x86/intel-speed-select/
Disst-core.c75 struct isst_pkg_ctdp_level_info *ctdp_level) in isst_get_ctdp_control() argument
87 ctdp_level->fact_support = resp & BIT(0); in isst_get_ctdp_control()
88 ctdp_level->pbf_support = !!(resp & BIT(1)); in isst_get_ctdp_control()
89 ctdp_level->fact_enabled = !!(resp & BIT(16)); in isst_get_ctdp_control()
90 ctdp_level->pbf_enabled = !!(resp & BIT(17)); in isst_get_ctdp_control()
97 ctdp_level->sst_cp_support = cp_cap; in isst_get_ctdp_control()
98 ctdp_level->sst_cp_enabled = cp_state; in isst_get_ctdp_control()
103 id->cpu, resp, ctdp_level->fact_support, ctdp_level->pbf_support, in isst_get_ctdp_control()
104 ctdp_level->fact_enabled, ctdp_level->pbf_enabled); in isst_get_ctdp_control()
110 struct isst_pkg_ctdp_level_info *ctdp_level) in isst_get_tdp_info() argument
[all …]
Disst-display.c363 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()
[all …]
Disst-daemon.c37 struct isst_pkg_ctdp_level_info ctdp_level; in process_level_change() local
76 ctdp_level.core_cpumask_size = in process_level_change()
77 alloc_cpu_set(&ctdp_level.core_cpumask); in process_level_change()
78 ret = isst_get_coremask_info(id, pkg_dev.current_level, &ctdp_level); in process_level_change()
80 free_cpu_set(ctdp_level.core_cpumask); in process_level_change()
85 if (ctdp_level.cpu_count) { in process_level_change()
90 if (CPU_ISSET_S(i, ctdp_level.core_cpumask_size, ctdp_level.core_cpumask)) { in process_level_change()
100 free_cpu_set(ctdp_level.core_cpumask); in process_level_change()
Disst-config.c941 struct isst_pkg_ctdp_level_info ctdp_level; in isst_print_extended_platform_info() local
980 ret = isst_get_ctdp_control(&id, j, &ctdp_level); in isst_print_extended_platform_info()
984 if (!fact_support && ctdp_level.fact_support) in isst_print_extended_platform_info()
987 if (!pbf_support && ctdp_level.pbf_support) in isst_print_extended_platform_info()
1134 struct isst_pkg_ctdp_level_info *ctdp_level; in clx_n_config() local
1137 ctdp_level = &clx_n_pkg_dev.ctdp_level[0]; in clx_n_config()
1138 pbf_info = &ctdp_level->pbf_info; in clx_n_config()
1139 ctdp_level->core_cpumask_size = in clx_n_config()
1140 alloc_cpu_set(&ctdp_level->core_cpumask); in clx_n_config()
1143 ctdp_level->tdp_ratio = clx_n_get_base_ratio(); in clx_n_config()
[all …]
Disst.h176 struct isst_pkg_ctdp_level_info ctdp_level[ISST_MAX_TDP_LEVELS]; member
208 struct isst_pkg_ctdp_level_info *ctdp_level);
210 struct isst_pkg_ctdp_level_info *ctdp_level);