Home
last modified time | relevance | path

Searched refs:clos (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/tools/power/x86/intel-speed-select/
H A Disst.h208 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 Disst-core-tpmi.c672 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()
[all...]
H A Disst-config.c50 /* clos related */
1584 static int set_clos_param(struct isst_id *id, int clos, int epp, int wt, int min, int max) in set_clos_param() argument
1589 ret = isst_pm_get_clos(id, clos, &clos_config); in set_clos_param()
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()
1831 debug_printf("Associate cpu: %d clos: %d\n", i, clos); in set_core_priority_and_min()
1833 ret = isst_clos_associate(&tid, clos); in set_core_priority_and_min()
2190 int clos; set_fact_enable() local
2489 int clos, ret; get_clos_assoc_for_cpu() local
[all...]
H A Disst-core.c475 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 Disst-core-mbox.c950 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()
H A Disst-display.c583 void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos, in isst_clos_display_information() argument
595 snprintf(header, sizeof(header), "clos"); in isst_clos_display_information()
596 snprintf(value, sizeof(value), "%d", clos); in isst_clos_display_information()
603 snprintf(header, sizeof(header), "clos-proportional-priority"); in isst_clos_display_information()
607 snprintf(header, sizeof(header), "clos-min"); in isst_clos_display_information()
611 snprintf(header, sizeof(header), "clos-max"); in isst_clos_display_information()
618 snprintf(header, sizeof(header), "clos-desired"); in isst_clos_display_information()
652 snprintf(header, sizeof(header), "clos-enable-status"); in isst_clos_display_clos_information()
669 void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos) in isst_clos_display_assoc_information() argument
680 snprintf(header, sizeof(header), "clos"); in isst_clos_display_assoc_information()
[all...]
/kernel/linux/linux-5.10/tools/power/x86/intel-speed-select/
H A Disst.h235 extern int isst_pm_get_clos(int cpu, int clos,
237 extern int isst_set_clos(int cpu, int clos,
239 extern int isst_clos_associate(int cpu, int clos);
241 extern void isst_clos_display_information(int cpu, FILE *outf, int clos,
243 extern void isst_clos_display_assoc_information(int cpu, FILE *outf, int clos);
H A Disst-config.c50 /* clos related */
1394 static int set_clos_param(int cpu, int clos, int epp, int wt, int min, int max) in set_clos_param() argument
1399 ret = isst_pm_get_clos(cpu, clos, &clos_config); in set_clos_param()
1408 ret = isst_set_clos(cpu, clos, &clos_config); in set_clos_param()
1629 int clos; in set_core_priority_and_min() local
1636 clos = 0; in set_core_priority_and_min()
1638 clos = 3; in set_core_priority_and_min()
1640 debug_printf("Associate cpu: %d clos: %d\n", i, clos); in set_core_priority_and_min()
1641 ret = isst_clos_associate(i, clos); in set_core_priority_and_min()
1988 int clos; set_fact_enable() local
2275 int clos, ret; get_clos_assoc_for_cpu() local
[all...]
H A Disst-display.c608 void isst_clos_display_information(int cpu, FILE *outf, int clos, in isst_clos_display_information() argument
620 snprintf(header, sizeof(header), "clos"); in isst_clos_display_information()
621 snprintf(value, sizeof(value), "%d", clos); in isst_clos_display_information()
628 snprintf(header, sizeof(header), "clos-proportional-priority"); in isst_clos_display_information()
632 snprintf(header, sizeof(header), "clos-min"); in isst_clos_display_information()
636 snprintf(header, sizeof(header), "clos-max"); in isst_clos_display_information()
643 snprintf(header, sizeof(header), "clos-desired"); in isst_clos_display_information()
677 snprintf(header, sizeof(header), "clos-enable-status"); in isst_clos_display_clos_information()
694 void isst_clos_display_assoc_information(int cpu, FILE *outf, int clos) in isst_clos_display_assoc_information() argument
705 snprintf(header, sizeof(header), "clos"); in isst_clos_display_assoc_information()
[all...]
H A Disst-core.c962 int isst_pm_get_clos(int cpu, int clos, struct isst_clos_config *clos_config) in isst_pm_get_clos() argument
967 ret = isst_send_mbox_command(cpu, CONFIG_CLOS, CLOS_PM_CLOS, clos, 0, in isst_pm_get_clos()
984 int isst_set_clos(int cpu, int clos, struct isst_clos_config *clos_config) in isst_set_clos() argument
996 param = BIT(MBOX_CMD_WRITE_BIT) | clos; in isst_set_clos()
/kernel/linux/linux-6.6/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c513 _write_cp_info("clos.min_freq", clos_param.min_freq_mhz, in isst_if_clos_param()
514 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param()
517 _write_cp_info("clos.max_freq", clos_param.max_freq_mhz, in isst_if_clos_param()
518 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param()
521 _write_cp_info("clos.prio", clos_param.prop_prio, in isst_if_clos_param()
522 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param()
527 _read_cp_info("clos.min_freq", clos_param.min_freq_mhz, in isst_if_clos_param()
528 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param()
531 _read_cp_info("clos.max_freq", clos_param.max_freq_mhz, in isst_if_clos_param()
532 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZ in isst_if_clos_param()
571 u64 val, mask, clos; isst_if_clos_assoc() local
[all...]
/kernel/linux/linux-6.6/include/uapi/linux/
H A Disst_if.h187 * struct isst_clos_param - Structure to get/set clos praram
191 * clos: Clos ID for the parameters
196 * Structure to get/set per clos property using IOCTL
203 __u8 clos; member
210 * struct isst_if_clos_assoc - Structure to assign clos to a CPU
214 * @clos: Clos ID to assign to the logical CPU
222 __u16 clos; member
226 * struct isst_if_clos_assoc_cmds - Structure to assign clos to CPUs
232 * Structure used to get/set associate CPUs to clos using IOCTL
262 * @clos
[all...]

Completed in 16 milliseconds