Home
last modified time | relevance | path

Searched refs:assoc_cmds (Results 1 – 2 of 2) sorted by relevance

/linux/tools/power/x86/intel-speed-select/
H A Disst-core-tpmi.c750 struct isst_if_clos_assoc_cmds assoc_cmds; in tpmi_clos_get_assoc_status() local
753 assoc_cmds.cmd_count = 1; in tpmi_clos_get_assoc_status()
754 assoc_cmds.get_set = 0; in tpmi_clos_get_assoc_status()
755 assoc_cmds.punit_cpu_map = 1; in tpmi_clos_get_assoc_status()
756 assoc_cmds.assoc_info[0].logical_cpu = find_phy_core_num(id->cpu); in tpmi_clos_get_assoc_status()
757 assoc_cmds.assoc_info[0].socket_id = id->pkg; in tpmi_clos_get_assoc_status()
758 assoc_cmds.assoc_info[0].power_domain_id = id->punit; in tpmi_clos_get_assoc_status()
760 ret = tpmi_process_ioctl(ISST_IF_CLOS_ASSOC, &assoc_cmds); in tpmi_clos_get_assoc_status()
764 *clos_id = assoc_cmds.assoc_info[0].clos; in tpmi_clos_get_assoc_status()
771 struct isst_if_clos_assoc_cmds assoc_cmds; in tpmi_clos_associate() local
[all …]
/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c700 struct isst_if_clos_assoc_cmds assoc_cmds; in isst_if_clos_assoc() local
705 if (copy_from_user(&assoc_cmds, argp, sizeof(assoc_cmds))) in isst_if_clos_assoc()
708 if (!assoc_cmds.cmd_count || assoc_cmds.cmd_count > ISST_IF_CMD_LIMIT) in isst_if_clos_assoc()
712 for (i = 0; i < assoc_cmds.cmd_count; ++i) { in isst_if_clos_assoc()
730 if (assoc_cmds.punit_cpu_map) in isst_if_clos_assoc()
749 if (assoc_cmds.get_set && power_domain_info->write_blocked) in isst_if_clos_assoc()
759 if (assoc_cmds.get_set) { in isst_if_clos_assoc()