Searched refs:clos_config (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/tools/power/x86/intel-speed-select/ |
D | isst-core-tpmi.c | 679 struct isst_clos_config *clos_config) in tpmi_pm_get_clos() argument 693 clos_config->epp = 0; in tpmi_pm_get_clos() 694 clos_config->clos_prop_prio = info.prop_prio; in tpmi_pm_get_clos() 695 clos_config->clos_min = info.min_freq_mhz; in tpmi_pm_get_clos() 696 clos_config->clos_max = info.max_freq_mhz; in tpmi_pm_get_clos() 697 clos_config->clos_desired = 0; in tpmi_pm_get_clos() 700 clos_config->clos_min, clos_config->clos_max); in tpmi_pm_get_clos() 706 struct isst_clos_config *clos_config) in tpmi_set_clos() argument 715 info.prop_prio = clos_config->clos_prop_prio; in tpmi_set_clos() 717 info.min_freq_mhz = clos_config->clos_min; in tpmi_set_clos() [all …]
|
D | isst-core-mbox.c | 951 static int mbox_pm_get_clos(struct isst_id *id, int clos, struct isst_clos_config *clos_config) in mbox_pm_get_clos() argument 961 clos_config->epp = resp & 0x0f; in mbox_pm_get_clos() 962 clos_config->clos_prop_prio = (resp >> 4) & 0x0f; in mbox_pm_get_clos() 963 clos_config->clos_min = (resp >> 8) & 0xff; in mbox_pm_get_clos() 964 clos_config->clos_max = (resp >> 16) & 0xff; in mbox_pm_get_clos() 965 clos_config->clos_desired = (resp >> 24) & 0xff; in mbox_pm_get_clos() 970 static int mbox_set_clos(struct isst_id *id, int clos, struct isst_clos_config *clos_config) in mbox_set_clos() argument 976 req = clos_config->epp & 0x0f; in mbox_set_clos() 977 req |= (clos_config->clos_prop_prio & 0x0f) << 4; in mbox_set_clos() 978 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 | 596 struct isst_clos_config *clos_config) in isst_clos_display_information() argument 612 snprintf(value, sizeof(value), "%d", clos_config->epp); in isst_clos_display_information() 616 snprintf(value, sizeof(value), "%d", clos_config->clos_prop_prio); in isst_clos_display_information() 620 snprintf(value, sizeof(value), "%d MHz", clos_config->clos_min * isst_get_disp_freq_multiplier()); in isst_clos_display_information() 624 if ((clos_config->clos_max * isst_get_disp_freq_multiplier()) == 25500) in isst_clos_display_information() 627 snprintf(value, sizeof(value), "%d MHz", clos_config->clos_max * isst_get_disp_freq_multiplier()); in isst_clos_display_information() 631 …snprintf(value, sizeof(value), "%d MHz", clos_config->clos_desired * isst_get_disp_freq_multiplier… in isst_clos_display_information()
|
D | isst-core.c | 482 int isst_pm_get_clos(struct isst_id *id, int clos, struct isst_clos_config *clos_config) in isst_pm_get_clos() argument 485 return isst_ops->pm_get_clos(id, clos, clos_config); in isst_pm_get_clos() 488 int isst_set_clos(struct isst_id *id, int clos, struct isst_clos_config *clos_config) in isst_set_clos() argument 491 return isst_ops->set_clos(id, clos, clos_config); in isst_set_clos()
|
D | isst-config.c | 1658 struct isst_clos_config clos_config; in set_clos_param() local 1661 ret = isst_pm_get_clos(id, clos, &clos_config); in set_clos_param() 1666 clos_config.clos_min = min; in set_clos_param() 1667 clos_config.clos_max = max; in set_clos_param() 1668 clos_config.epp = epp; in set_clos_param() 1669 clos_config.clos_prop_prio = wt; in set_clos_param() 1670 ret = isst_set_clos(id, clos, &clos_config); in set_clos_param() 2379 struct isst_clos_config clos_config; in dump_clos_config_for_cpu() local 2382 ret = isst_pm_get_clos(id, current_clos, &clos_config); in dump_clos_config_for_cpu() 2387 &clos_config); in dump_clos_config_for_cpu() [all …]
|