/openbmc/linux/tools/power/x86/intel-speed-select/ |
H A 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); 278 extern int isst_pm_get_clos(struct isst_id *id, int clos, 280 extern int isst_set_clos(struct isst_id *id, int clos, 282 extern int isst_clos_associate(struct isst_id *id, int clos); 284 extern void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos, 286 extern void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos);
|
H A D | isst-core-tpmi.c | 672 int tpmi_pm_get_clos(struct isst_id *id, int clos, in tpmi_pm_get_clos() argument 681 info.clos = clos; in tpmi_pm_get_clos() 693 debug_printf("cpu:%d clos:%d min:%d max:%d\n", id->cpu, clos, in tpmi_pm_get_clos() 699 int tpmi_set_clos(struct isst_id *id, int clos, in tpmi_set_clos() argument 708 info.clos = clos; in tpmi_set_clos() 736 debug_printf("set cpu:%d clos:%d min:%d max:%d\n", id->cpu, clos, in tpmi_set_clos() 758 *clos_id = assoc_cmds.assoc_info[0].clos; in tpmi_clos_get_assoc_status() 772 assoc_cmds.assoc_info[0].clos = clos_id; in tpmi_clos_associate()
|
H A 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()
|
H A D | isst-config.c | 1598 ret = isst_set_clos(id, clos, &clos_config); in set_clos_param() 1820 int clos; in set_core_priority_and_min() local 1827 clos = 0; in set_core_priority_and_min() 1829 clos = 3; in set_core_priority_and_min() 1833 ret = isst_clos_associate(&tid, clos); in set_core_priority_and_min() 2190 int clos; in set_fact_enable() local 2216 clos = 0; in set_fact_enable() 2218 clos = 3; in set_fact_enable() 2221 ret = isst_clos_associate(&id, clos); in set_fact_enable() 2489 int clos, ret; in get_clos_assoc_for_cpu() local [all …]
|
H A D | isst-display.c | 583 void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos, in isst_clos_display_information() argument 596 snprintf(value, sizeof(value), "%d", clos); in isst_clos_display_information() 669 void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos) in isst_clos_display_assoc_information() argument 681 snprintf(value, sizeof(value), "%d", clos); in isst_clos_display_assoc_information()
|
H A 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 955 ret = _send_mbox_command(id->cpu, CONFIG_CLOS, CLOS_PM_CLOS, clos, 0, 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 981 param = BIT(MBOX_CMD_WRITE_BIT) | clos; in mbox_set_clos()
|
/openbmc/linux/Documentation/admin-guide/pm/ |
H A D | intel-speed-select.rst | 399 clos-enable-status:enabled 422 Specify targeted clos id with [--clos|-c] 464 clos:0 467 clos-min:0 MHz 469 clos-desired:0 MHz 474 clos:0 477 clos-min:0 MHz 479 clos-desired:0 MHz 489 Associate a clos id to a CPU 490 Specify targeted clos id with [--clos|-c] [all …]
|
/openbmc/linux/drivers/platform/x86/intel/speed_select_if/ |
H A D | isst_tpmi_core.c | 514 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param() 518 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param() 522 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param() 528 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param() 532 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param() 536 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param() 571 u64 val, mask, clos; in isst_if_clos_assoc() local 580 clos = clos_assoc.clos; in isst_if_clos_assoc() 610 val |= (clos << shift); in isst_if_clos_assoc() 615 clos_assoc.clos = val & GENMASK(SST_CLOS_ASSOC_BITS_PER_CPU - 1, 0); in isst_if_clos_assoc()
|
/openbmc/linux/include/uapi/linux/ |
H A D | isst_if.h | 203 __u8 clos; member 222 __u16 clos; member
|