Searched refs:clos_config (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/tools/power/x86/intel-speed-select/ |
D | isst-core-tpmi.c | 673 struct isst_clos_config *clos_config) in tpmi_pm_get_clos() argument 687 clos_config->epp = 0; in tpmi_pm_get_clos() 688 clos_config->clos_prop_prio = info.prop_prio; in tpmi_pm_get_clos() 689 clos_config->clos_min = info.min_freq_mhz; in tpmi_pm_get_clos() 690 clos_config->clos_max = info.max_freq_mhz; in tpmi_pm_get_clos() 691 clos_config->clos_desired = 0; in tpmi_pm_get_clos() 694 clos_config->clos_min, clos_config->clos_max); in tpmi_pm_get_clos() 700 struct isst_clos_config *clos_config) in tpmi_set_clos() argument 709 info.prop_prio = clos_config->clos_prop_prio; in tpmi_set_clos() 711 info.min_freq_mhz = clos_config->clos_min; in tpmi_set_clos() [all …]
|
D | isst-core-mbox.c | 950 static int mbox_pm_get_clos(struct isst_id *id, int clos, struct isst_clos_config *clos_config) in mbox_pm_get_clos() argument 960 clos_config->epp = resp & 0x0f; in mbox_pm_get_clos() 961 clos_config->clos_prop_prio = (resp >> 4) & 0x0f; in mbox_pm_get_clos() 962 clos_config->clos_min = (resp >> 8) & 0xff; in mbox_pm_get_clos() 963 clos_config->clos_max = (resp >> 16) & 0xff; in mbox_pm_get_clos() 964 clos_config->clos_desired = (resp >> 24) & 0xff; in mbox_pm_get_clos() 969 static int mbox_set_clos(struct isst_id *id, int clos, struct isst_clos_config *clos_config) in mbox_set_clos() argument 975 req = clos_config->epp & 0x0f; in mbox_set_clos() 976 req |= (clos_config->clos_prop_prio & 0x0f) << 4; in mbox_set_clos() 977 req |= (clos_config->clos_min & 0xff) << 8; in mbox_set_clos() [all …]
|
D | isst.h | 208 int (*pm_get_clos)(struct isst_id *id, int clos, struct isst_clos_config *clos_config); 209 int (*set_clos)(struct isst_id *id, int clos, struct isst_clos_config *clos_config); 279 struct isst_clos_config *clos_config); 281 struct isst_clos_config *clos_config); 285 struct isst_clos_config *clos_config);
|
D | isst-display.c | 584 struct isst_clos_config *clos_config) in isst_clos_display_information() argument 600 snprintf(value, sizeof(value), "%d", clos_config->epp); in isst_clos_display_information() 604 snprintf(value, sizeof(value), "%d", clos_config->clos_prop_prio); in isst_clos_display_information() 608 snprintf(value, sizeof(value), "%d MHz", clos_config->clos_min * isst_get_disp_freq_multiplier()); in isst_clos_display_information() 612 if ((clos_config->clos_max * isst_get_disp_freq_multiplier()) == 25500) in isst_clos_display_information() 615 snprintf(value, sizeof(value), "%d MHz", clos_config->clos_max * isst_get_disp_freq_multiplier()); in isst_clos_display_information() 619 …snprintf(value, sizeof(value), "%d MHz", clos_config->clos_desired * isst_get_disp_freq_multiplier… in isst_clos_display_information()
|
D | isst-core.c | 475 int isst_pm_get_clos(struct isst_id *id, int clos, struct isst_clos_config *clos_config) in isst_pm_get_clos() argument 478 return isst_ops->pm_get_clos(id, clos, clos_config); in isst_pm_get_clos() 481 int isst_set_clos(struct isst_id *id, int clos, struct isst_clos_config *clos_config) in isst_set_clos() argument 484 return isst_ops->set_clos(id, clos, clos_config); in isst_set_clos()
|
D | isst-config.c | 1586 struct isst_clos_config clos_config; in set_clos_param() local 1589 ret = isst_pm_get_clos(id, clos, &clos_config); in set_clos_param() 1594 clos_config.clos_min = min; in set_clos_param() 1595 clos_config.clos_max = max; in set_clos_param() 1596 clos_config.epp = epp; in set_clos_param() 1597 clos_config.clos_prop_prio = wt; in set_clos_param() 1598 ret = isst_set_clos(id, clos, &clos_config); in set_clos_param() 2298 struct isst_clos_config clos_config; in dump_clos_config_for_cpu() local 2301 ret = isst_pm_get_clos(id, current_clos, &clos_config); in dump_clos_config_for_cpu() 2306 &clos_config); in dump_clos_config_for_cpu() [all …]
|