Home
last modified time | relevance | path

Searched full:clos (Results 1 – 9 of 9) sorted by relevance

/linux/include/uapi/linux/
H A Disst_if.h188 * struct isst_clos_param - Structure to get/set clos praram
192 * @clos: Clos ID for the parameters
197 * Structure to get/set per clos property using IOCTL
204 __u8 clos; member
211 * struct isst_if_clos_assoc - Structure to assign clos to a CPU
215 * @clos: Clos ID to assign to the logical CPU
223 __u16 clos; member
227 * struct isst_if_clos_assoc_cmds - Structure to assign clos to CPUs
232 * @assoc_info: CLOS data for this CPU
234 * Structure used to get/set associate CPUs to clos using IOCTL
[all …]
/linux/tools/power/x86/intel-speed-select/
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.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-display.c622 void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos, in isst_clos_display_information() argument
634 snprintf(header, sizeof(header), "clos"); in isst_clos_display_information()
635 snprintf(value, sizeof(value), "%d", clos); in isst_clos_display_information()
642 snprintf(header, sizeof(header), "clos-proportional-priority"); in isst_clos_display_information()
646 snprintf(header, sizeof(header), "clos-min"); in isst_clos_display_information()
650 snprintf(header, sizeof(header), "clos-max"); in isst_clos_display_information()
657 snprintf(header, sizeof(header), "clos-desired"); in isst_clos_display_information()
691 snprintf(header, sizeof(header), "clos-enable-status"); in isst_clos_display_clos_information()
708 void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos) in isst_clos_display_assoc_information() argument
719 snprintf(header, sizeof(header), "clos"); in isst_clos_display_assoc_information()
[all …]
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-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()
/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c239 * @saved_clos_configs: Save SST-CP CLOS configuration to store restore for suspend/resume
240 * @saved_clos_assocs: Save SST-CP CLOS association to store restore for suspend/resume
668 _write_cp_info("clos.min_freq", clos_param.min_freq_mhz, in isst_if_clos_param()
669 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param()
672 _write_cp_info("clos.max_freq", clos_param.max_freq_mhz, in isst_if_clos_param()
673 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param()
676 _write_cp_info("clos.prio", clos_param.prop_prio, in isst_if_clos_param()
677 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param()
682 _read_cp_info("clos.min_freq", clos_param.min_freq_mhz, in isst_if_clos_param()
683 (SST_CLOS_CONFIG_0_OFFSET + clos_param.clos * SST_REG_SIZE), in isst_if_clos_param()
[all …]
/linux/Documentation/gpu/rfc/
H A Di915_vm_bind.rst224 Page level Cache/CLOS settings
226 VM_BIND allows cache/CLOS settings per mapping instead of per BO.