Home
last modified time | relevance | path

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

/linux-5.19.10/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 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.c368 struct isst_pkg_ctdp_level_info *ctdp_level; in isst_ctdp_display_information() local
371 ctdp_level = &pkg_dev->ctdp_level[i]; in isst_ctdp_display_information()
372 if (!ctdp_level->processed) in isst_ctdp_display_information()
376 ctdp_level->level); in isst_ctdp_display_information()
385 j = CPU_COUNT_S(ctdp_level->core_cpumask_size, in isst_ctdp_display_information()
386 ctdp_level->core_cpumask); in isst_ctdp_display_information()
393 if (ctdp_level->core_cpumask_size) { 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 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
78 ctdp_level.core_cpumask_size = in process_level_change()
79 alloc_cpu_set(&ctdp_level.core_cpumask); in process_level_change()
80 ret = isst_get_coremask_info(cpu, pkg_dev.current_level, &ctdp_level); in process_level_change()
82 free_cpu_set(ctdp_level.core_cpumask); in process_level_change()
87 if (ctdp_level.cpu_count) { in process_level_change()
92 if (CPU_ISSET_S(i, ctdp_level.core_cpumask_size, ctdp_level.core_cpumask)) { in process_level_change()
102 free_cpu_set(ctdp_level.core_cpumask); in process_level_change()
Disst-config.c930 struct isst_pkg_ctdp_level_info ctdp_level; in isst_print_extended_platform_info() local
967 ret = isst_get_ctdp_control(i, j, &ctdp_level); in isst_print_extended_platform_info()
971 if (!fact_support && ctdp_level.fact_support) in isst_print_extended_platform_info()
974 if (!pbf_support && ctdp_level.pbf_support) in isst_print_extended_platform_info()
1117 struct isst_pkg_ctdp_level_info *ctdp_level; in clx_n_config() local
1120 ctdp_level = &clx_n_pkg_dev.ctdp_level[0]; in clx_n_config()
1121 pbf_info = &ctdp_level->pbf_info; in clx_n_config()
1122 ctdp_level->core_cpumask_size = in clx_n_config()
1123 alloc_cpu_set(&ctdp_level->core_cpumask); in clx_n_config()
1126 ctdp_level->tdp_ratio = clx_n_get_base_ratio(); in clx_n_config()
[all …]
Disst.h171 struct isst_pkg_ctdp_level_info ctdp_level[ISST_MAX_TDP_LEVELS]; member
205 struct isst_pkg_ctdp_level_info *ctdp_level);
207 struct isst_pkg_ctdp_level_info *ctdp_level);