Home
last modified time | relevance | path

Searched refs:clos_config (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/tools/power/x86/intel-speed-select/
Disst-core.c962 int isst_pm_get_clos(int cpu, int clos, struct isst_clos_config *clos_config) in isst_pm_get_clos() argument
972 clos_config->pkg_id = get_physical_package_id(cpu); in isst_pm_get_clos()
973 clos_config->die_id = get_physical_die_id(cpu); in isst_pm_get_clos()
975 clos_config->epp = resp & 0x0f; in isst_pm_get_clos()
976 clos_config->clos_prop_prio = (resp >> 4) & 0x0f; in isst_pm_get_clos()
977 clos_config->clos_min = (resp >> 8) & 0xff; in isst_pm_get_clos()
978 clos_config->clos_max = (resp >> 16) & 0xff; in isst_pm_get_clos()
979 clos_config->clos_desired = (resp >> 24) & 0xff; in isst_pm_get_clos()
984 int isst_set_clos(int cpu, int clos, struct isst_clos_config *clos_config) in isst_set_clos() argument
990 req = clos_config->epp & 0x0f; in isst_set_clos()
[all …]
Disst.h236 struct isst_clos_config *clos_config);
238 struct isst_clos_config *clos_config);
242 struct isst_clos_config *clos_config);
Disst-config.c1390 struct isst_clos_config clos_config; in set_clos_param() local
1393 ret = isst_pm_get_clos(cpu, clos, &clos_config); in set_clos_param()
1398 clos_config.clos_min = min; in set_clos_param()
1399 clos_config.clos_max = max; in set_clos_param()
1400 clos_config.epp = epp; in set_clos_param()
1401 clos_config.clos_prop_prio = wt; in set_clos_param()
1402 ret = isst_set_clos(cpu, clos, &clos_config); in set_clos_param()
2056 struct isst_clos_config clos_config; in dump_clos_config_for_cpu() local
2059 ret = isst_pm_get_clos(cpu, current_clos, &clos_config); in dump_clos_config_for_cpu()
2064 &clos_config); in dump_clos_config_for_cpu()
[all …]
Disst-display.c601 struct isst_clos_config *clos_config) in isst_clos_display_information() argument
617 snprintf(value, sizeof(value), "%d", clos_config->epp); in isst_clos_display_information()
621 snprintf(value, sizeof(value), "%d", clos_config->clos_prop_prio); in isst_clos_display_information()
625 snprintf(value, sizeof(value), "%d MHz", clos_config->clos_min * DISP_FREQ_MULTIPLIER); in isst_clos_display_information()
629 if (clos_config->clos_max == 0xff) in isst_clos_display_information()
632 snprintf(value, sizeof(value), "%d MHz", clos_config->clos_max * DISP_FREQ_MULTIPLIER); in isst_clos_display_information()
636 snprintf(value, sizeof(value), "%d MHz", clos_config->clos_desired * DISP_FREQ_MULTIPLIER); in isst_clos_display_information()