/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 | 678 int tpmi_pm_get_clos(struct isst_id *id, int clos, in tpmi_pm_get_clos() argument 687 info.clos = clos; in tpmi_pm_get_clos() 699 debug_printf("cpu:%d clos:%d min:%d max:%d\n", id->cpu, clos, in tpmi_pm_get_clos() 705 int tpmi_set_clos(struct isst_id *id, int clos, in tpmi_set_clos() argument 714 info.clos = clos; in tpmi_set_clos() 742 debug_printf("set cpu:%d clos:%d min:%d max:%d\n", id->cpu, clos, in tpmi_set_clos() [all...] |
H A 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()
|
H A D | isst-config.c | 52 /* clos related */ 1656 static int set_clos_param(struct isst_id *id, int clos, int epp, int wt, int min, int max) in set_clos_param() argument 1661 ret = isst_pm_get_clos(id, clos, &clos_config); in set_clos_param() 1670 ret = isst_set_clos(id, clos, &clos_config); in set_clos_param() 1892 int clos; in set_core_priority_and_min() local 1899 clos = 0; in set_core_priority_and_min() 1901 clos = 3; in set_core_priority_and_min() 1903 debug_printf("Associate cpu: %d clos: %d\n", i, clos); in set_core_priority_and_min() 1905 ret = isst_clos_associate(&tid, clos); in set_core_priority_and_min() 2263 int clos; set_fact_enable() local 2570 int clos, ret; get_clos_assoc_for_cpu() local [all...] |
H A D | isst-display.c | 595 void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos, in isst_clos_display_information() argument 608 snprintf(value, sizeof(value), "%d", clos); in isst_clos_display_information() 681 void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos) in isst_clos_display_assoc_information() argument 693 snprintf(value, sizeof(value), "%d", clos); in isst_clos_display_assoc_information()
|
H A 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 956 ret = _send_mbox_command(id->cpu, CONFIG_CLOS, CLOS_PM_CLOS, clos, 0, 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 982 param = BIT(MBOX_CMD_WRITE_BIT) | clos; in mbox_set_clos()
|
/linux/Documentation/admin-guide/pm/ |
H A D | intel-speed-select.rst | 399 clos-enable-status:enabled 407 clos-enable-status:enabled 415 Defaults will be used if user skips setting a parameter except clos id, which is 421 Set core-power configuration for one of the four clos ids 422 Specify targeted clos id with [--clos|-c] 423 Specify clos Proportional Priority [--weight|-w] 424 Specify clos min in MHz with [--min|-n] 425 Specify clos max in MHz with [--max|-m] 432 clos epp is not specified, default: 0 433 clos frequency weight is not specified, default: 0 [all …]
|
/linux/drivers/platform/x86/intel/speed_select_if/ |
H A D | isst_tpmi_core.c | 661 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param() 665 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param() 669 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param() 675 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param() 679 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param() 683 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param() 718 u64 val, mask, clos; in isst_if_clos_assoc() local 728 clos = clos_assoc.clos; in isst_if_clos_assoc() 762 val |= (clos << shift); in isst_if_clos_assoc() 767 clos_assoc.clos = val & GENMASK(SST_CLOS_ASSOC_BITS_PER_CPU - 1, 0); in isst_if_clos_assoc()
|
/linux/include/uapi/linux/ |
H A D | isst_if.h | 203 __u8 clos; member 222 __u16 clos; member
|