Home
last modified time | relevance | path

Searched refs:clos (Results 1 – 8 of 8) sorted by relevance

/linux/tools/power/x86/intel-speed-select/
H A Disst.h211 int (*pm_get_clos)(struct isst_id *id, int clos, struct isst_clos_config *clos_config);
212 int (*set_clos)(struct isst_id *id, int clos, struct isst_clos_config *clos_config);
281 extern int isst_pm_get_clos(struct isst_id *id, int clos,
283 extern int isst_set_clos(struct isst_id *id, int clos,
285 extern int isst_clos_associate(struct isst_id *id, int clos);
287 extern void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos,
289 extern void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos);
H A Disst-core-tpmi.c732 int tpmi_pm_get_clos(struct isst_id *id, int clos, in tpmi_pm_get_clos() argument
741 info.clos = clos; in tpmi_pm_get_clos()
753 debug_printf("cpu:%d clos:%d min:%d max:%d\n", id->cpu, clos, in tpmi_pm_get_clos()
759 int tpmi_set_clos(struct isst_id *id, int clos, in tpmi_set_clos() argument
768 info.clos = clos; in tpmi_set_clos()
796 debug_printf("set cpu:%d clos:%d min:%d max:%d\n", id->cpu, clos, in tpmi_set_clos()
818 *clos_id = assoc_cmds.assoc_info[0].clos; in tpmi_clos_get_assoc_status()
832 assoc_cmds.assoc_info[0].clos = clos_id; in tpmi_clos_associate()
H A Disst-core.c482 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 Disst-config.c54 /* clos related */
1698 static int set_clos_param(struct isst_id *id, int clos, int epp, int wt, int min, int max) in set_cpufreq_scaling_min_max()
1703 ret = isst_pm_get_clos(id, clos, &clos_config); in set_cpufreq_scaling_min_max()
1712 ret = isst_set_clos(id, clos, &clos_config); in set_cpufreq_scaling_min_max()
1937 int clos; in set_pbf_core_power()
1944 clos = 0; in set_pbf_core_power()
1946 clos = 3; in set_pbf_core_power()
1948 debug_printf("Associate cpu: %d clos: %d\n", i, clos); in set_pbf_core_power()
1950 ret = isst_clos_associate(&tid, clos); in set_pbf_core_power()
1675 set_clos_param(struct isst_id * id,int clos,int epp,int wt,int min,int max) set_clos_param() argument
1911 int clos; set_core_priority_and_min() local
2282 int clos; set_fact_enable() local
2589 int clos, ret; get_clos_assoc_for_cpu() local
[all...]
H A Disst-core-mbox.c951 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()
H A Disst-display.c622 void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos, in isst_clos_display_information() argument
635 snprintf(value, sizeof(value), "%d", clos); in isst_clos_display_information()
708 void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos) in isst_clos_display_assoc_information() argument
720 snprintf(value, sizeof(value), "%d", clos); in isst_clos_display_assoc_information()
/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c669 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param()
673 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param()
677 (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()
687 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param()
691 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param()
726 u64 val, mask, clos; in isst_if_clos_assoc() local
736 clos = clos_assoc.clos; in isst_if_clos_assoc()
771 val |= (clos << shift); in isst_if_clos_assoc()
776 clos_assoc.clos = val & GENMASK(SST_CLOS_ASSOC_BITS_PER_CPU - 1, 0); in isst_if_clos_assoc()
/linux/include/uapi/linux/
H A Disst_if.h204 __u8 clos; member
223 __u16 clos; member