Searched refs:clos_config (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/tools/power/x86/intel-speed-select/ |
D | isst-core.c | 988 int isst_pm_get_clos(int cpu, int clos, struct isst_clos_config *clos_config) in isst_pm_get_clos() argument 998 clos_config->pkg_id = get_physical_package_id(cpu); in isst_pm_get_clos() 999 clos_config->die_id = get_physical_die_id(cpu); in isst_pm_get_clos() 1001 clos_config->epp = resp & 0x0f; in isst_pm_get_clos() 1002 clos_config->clos_prop_prio = (resp >> 4) & 0x0f; in isst_pm_get_clos() 1003 clos_config->clos_min = (resp >> 8) & 0xff; in isst_pm_get_clos() 1004 clos_config->clos_max = (resp >> 16) & 0xff; in isst_pm_get_clos() 1005 clos_config->clos_desired = (resp >> 24) & 0xff; in isst_pm_get_clos() 1010 int isst_set_clos(int cpu, int clos, struct isst_clos_config *clos_config) in isst_set_clos() argument 1016 req = clos_config->epp & 0x0f; in isst_set_clos() [all …]
|
D | isst.h | 240 struct isst_clos_config *clos_config); 242 struct isst_clos_config *clos_config); 246 struct isst_clos_config *clos_config);
|
D | isst-config.c | 1431 struct isst_clos_config clos_config; in set_clos_param() local 1434 ret = isst_pm_get_clos(cpu, clos, &clos_config); in set_clos_param() 1439 clos_config.clos_min = min; in set_clos_param() 1440 clos_config.clos_max = max; in set_clos_param() 1441 clos_config.epp = epp; in set_clos_param() 1442 clos_config.clos_prop_prio = wt; in set_clos_param() 1443 ret = isst_set_clos(cpu, clos, &clos_config); in set_clos_param() 2131 struct isst_clos_config clos_config; in dump_clos_config_for_cpu() local 2134 ret = isst_pm_get_clos(cpu, current_clos, &clos_config); in dump_clos_config_for_cpu() 2139 &clos_config); in dump_clos_config_for_cpu() [all …]
|
D | isst-display.c | 609 struct isst_clos_config *clos_config) in isst_clos_display_information() argument 625 snprintf(value, sizeof(value), "%d", clos_config->epp); in isst_clos_display_information() 629 snprintf(value, sizeof(value), "%d", clos_config->clos_prop_prio); in isst_clos_display_information() 633 snprintf(value, sizeof(value), "%d MHz", clos_config->clos_min * DISP_FREQ_MULTIPLIER); in isst_clos_display_information() 637 if (clos_config->clos_max == 0xff) in isst_clos_display_information() 640 snprintf(value, sizeof(value), "%d MHz", clos_config->clos_max * DISP_FREQ_MULTIPLIER); in isst_clos_display_information() 644 snprintf(value, sizeof(value), "%d MHz", clos_config->clos_desired * DISP_FREQ_MULTIPLIER); in isst_clos_display_information()
|