Searched refs:tdp_level (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/tools/power/x86/intel-speed-select/ |
D | isst-core.c | 349 int isst_set_tdp_level_msr(int cpu, int tdp_level) in isst_set_tdp_level_msr() argument 351 unsigned long long level = tdp_level; in isst_set_tdp_level_msr() 354 debug_printf("cpu: tdp_level via MSR %d\n", cpu, tdp_level); in isst_set_tdp_level_msr() 361 if (tdp_level > 2) in isst_set_tdp_level_msr() 368 debug_printf("cpu: tdp_level via MSR successful %d\n", cpu, tdp_level); in isst_set_tdp_level_msr() 373 int isst_set_tdp_level(int cpu, int tdp_level) in isst_set_tdp_level() argument 386 tdp_level, &resp); in isst_set_tdp_level() 388 isst_display_error_info_message(1, "Set TDP level failed for level", 1, tdp_level); in isst_set_tdp_level() 748 int isst_get_process_ctdp(int cpu, int tdp_level, struct isst_pkg_ctdp *pkg_dev) in isst_get_process_ctdp() argument 763 if (tdp_level != 0xff && tdp_level > pkg_dev->levels) { in isst_get_process_ctdp() [all …]
|
D | isst.h | 205 extern int isst_get_process_ctdp(int cpu, int tdp_level, 209 extern void isst_ctdp_display_information(int cpu, FILE *outf, int tdp_level, 217 extern int isst_set_tdp_level(int cpu, int tdp_level); 218 extern int isst_set_tdp_level_msr(int cpu, int tdp_level);
|
D | isst-config.c | 37 static int tdp_level = 0xFF; variable 1179 if (tdp_level != 0xff && tdp_level != 0) { in dump_clx_n_config_for_cpu() 1180 isst_display_error_info_message(1, "Invalid level", 1, tdp_level); in dump_clx_n_config_for_cpu() 1194 isst_ctdp_display_information(cpu, outf, tdp_level, &clx_n_pkg_dev); in dump_clx_n_config_for_cpu() 1207 ret = isst_get_process_ctdp(cpu, tdp_level, &pkg_dev); in dump_isst_config_for_cpu() 1213 isst_ctdp_display_information(cpu, outf, tdp_level, &pkg_dev); in dump_isst_config_for_cpu() 1255 ret = isst_set_tdp_level(cpu, tdp_level); in set_tdp_level_for_cpu() 1274 ret = isst_get_coremask_info(cpu, tdp_level, &ctdp_level); in set_tdp_level_for_cpu() 1311 if (tdp_level == 0xff) { in set_tdp_level() 1339 isst_pbf_display_information(cpu, outf, tdp_level, pbf_info); in clx_n_dump_pbf_config_for_cpu() [all …]
|
D | isst-display.c | 356 void isst_ctdp_display_information(int cpu, FILE *outf, int tdp_level, in isst_ctdp_display_information() argument 489 tdp_level, in isst_ctdp_display_information()
|