Home
last modified time | relevance | path

Searched refs:tdp_level (Results 1 – 6 of 6) sorted by relevance

/linux/tools/power/x86/intel-speed-select/
H A Disst-core.c186 int isst_set_tdp_level(struct isst_id *id, int tdp_level) in isst_set_tdp_level() argument
189 return isst_ops->set_tdp_level(id, tdp_level); in isst_set_tdp_level()
368 int isst_get_process_ctdp(struct isst_id *id, int tdp_level, struct isst_pkg_ctdp *pkg_dev) in isst_get_process_ctdp() argument
383 if (tdp_level != 0xff && tdp_level > pkg_dev->levels) { in isst_get_process_ctdp()
394 if (tdp_level != 0xff && i != tdp_level) in isst_get_process_ctdp()
H A Disst.h204 int (*set_tdp_level)(struct isst_id *id, int tdp_level);
254 extern int isst_get_process_ctdp(struct isst_id *id, int tdp_level,
258 extern void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level,
266 extern int isst_set_tdp_level(struct isst_id *id, int tdp_level);
H A Disst-config.c40 static int tdp_level = 0xFF; variable
1425 if (tdp_level != 0xff && tdp_level != 0) { in dump_clx_n_config_for_cpu()
1426 isst_display_error_info_message(1, "Invalid level", 1, tdp_level); in dump_clx_n_config_for_cpu()
1440 isst_ctdp_display_information(id, outf, tdp_level, &clx_n_pkg_dev); in dump_clx_n_config_for_cpu()
1453 ret = isst_get_process_ctdp(id, tdp_level, &pkg_dev); in dump_isst_config_for_cpu()
1459 isst_ctdp_display_information(id, outf, tdp_level, &pkg_dev); in dump_isst_config_for_cpu()
1509 if (pkg_dev.current_level == tdp_level) { in set_tdp_level_for_cpu()
1514 ret = isst_set_tdp_level(id, tdp_level); in set_tdp_level_for_cpu()
1531 isst_adjust_uncore_freq(id, tdp_level, &ctdp_level); in set_tdp_level_for_cpu()
1536 ret = isst_get_coremask_info(id, tdp_level, &ctdp_level); in set_tdp_level_for_cpu()
[all …]
H A Disst-core-mbox.c606 static int mbox_set_tdp_level(struct isst_id *id, int tdp_level) in mbox_set_tdp_level() argument
619 tdp_level, &resp); in mbox_set_tdp_level()
621 isst_display_error_info_message(1, "Set TDP level failed for level", 1, tdp_level); in mbox_set_tdp_level()
H A Disst-core-tpmi.c388 static int tpmi_set_tdp_level(struct isst_id *id, int tdp_level) in tpmi_set_tdp_level() argument
395 info.level = tdp_level; in tpmi_set_tdp_level()
H A Disst-display.c357 void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level, in isst_ctdp_display_information() argument
533 tdp_level, in isst_ctdp_display_information()