Searched refs:pkg_dev (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/tools/power/x86/intel-speed-select/ |
D | isst-core.c | 113 int isst_get_ctdp_levels(struct isst_id *id, struct isst_pkg_ctdp *pkg_dev) in isst_get_ctdp_levels() argument 116 return isst_ops->get_config_levels(id, pkg_dev); in isst_get_ctdp_levels() 195 struct isst_pkg_ctdp pkg_dev; in isst_get_pbf_info() local 198 ret = isst_get_ctdp_levels(id, &pkg_dev); in isst_get_pbf_info() 204 if (level > pkg_dev.levels) { in isst_get_pbf_info() 235 struct isst_pkg_ctdp pkg_dev; in isst_get_fact_info() local 238 ret = isst_get_ctdp_levels(id, &pkg_dev); in isst_get_fact_info() 244 if (level > pkg_dev.levels) { in isst_get_fact_info() 299 struct isst_pkg_ctdp pkg_dev; in isst_set_trl_from_current_tdp() local 303 ret = isst_get_ctdp_levels(id, &pkg_dev); in isst_set_trl_from_current_tdp() [all …]
|
D | isst-daemon.c | 39 struct isst_pkg_ctdp pkg_dev; in process_level_change() local 54 ret = isst_get_ctdp_levels(id, &pkg_dev); in process_level_change() 61 id->pkg, id->die, pkg_dev.current_level); in process_level_change() 63 if (pkg_dev.locked) { in process_level_change() 68 if (per_package_levels_info[id->pkg][id->die][id->punit] == pkg_dev.current_level) in process_level_change() 73 pkg_dev.current_level); in process_level_change() 75 per_package_levels_info[id->pkg][id->die][id->punit] = pkg_dev.current_level; in process_level_change() 79 ret = isst_get_coremask_info(id, pkg_dev.current_level, &ctdp_level); in process_level_change() 94 pkg_dev.current_level, 0); in process_level_change()
|
D | isst-core-mbox.c | 237 static int mbox_get_config_levels(struct isst_id *id, struct isst_pkg_ctdp *pkg_dev) in mbox_get_config_levels() argument 245 pkg_dev->levels = 0; in mbox_get_config_levels() 246 pkg_dev->locked = 1; in mbox_get_config_levels() 247 pkg_dev->current_level = 0; in mbox_get_config_levels() 248 pkg_dev->version = 0; in mbox_get_config_levels() 249 pkg_dev->enabled = 0; in mbox_get_config_levels() 255 pkg_dev->version = resp & 0xff; in mbox_get_config_levels() 256 pkg_dev->levels = (resp >> 8) & 0xff; in mbox_get_config_levels() 257 pkg_dev->current_level = (resp >> 16) & 0xff; in mbox_get_config_levels() 258 pkg_dev->locked = !!(resp & BIT(24)); in mbox_get_config_levels() [all …]
|
D | isst-config.c | 1122 struct isst_pkg_ctdp pkg_dev; in get_isst_status() local 1132 ret = isst_get_ctdp_levels(id, &pkg_dev); in get_isst_status() 1136 if (pkg_dev.enabled) in get_isst_status() 1139 if (pkg_dev.locked) in get_isst_status() 1142 if (*max_level < pkg_dev.levels) in get_isst_status() 1143 *max_level = pkg_dev.levels; in get_isst_status() 1145 for (j = 0; j <= pkg_dev.levels; ++j) { in get_isst_status() 1431 struct isst_pkg_ctdp pkg_dev; in dump_isst_config_for_cpu() local 1434 memset(&pkg_dev, 0, sizeof(pkg_dev)); in dump_isst_config_for_cpu() 1435 ret = isst_get_process_ctdp(id, tdp_level, &pkg_dev); in dump_isst_config_for_cpu() [all …]
|
D | isst-core-tpmi.c | 152 int tpmi_get_config_levels(struct isst_id *id, struct isst_pkg_ctdp *pkg_dev) in tpmi_get_config_levels() argument 164 pkg_dev->version = info.feature_rev; in tpmi_get_config_levels() 165 pkg_dev->levels = info.max_level; in tpmi_get_config_levels() 166 pkg_dev->locked = info.locked; in tpmi_get_config_levels() 167 pkg_dev->current_level = info.current_level; in tpmi_get_config_levels() 168 pkg_dev->locked = info.locked; in tpmi_get_config_levels() 169 pkg_dev->enabled = info.enabled; in tpmi_get_config_levels() 445 struct isst_pkg_ctdp pkg_dev; in tpmi_set_pbf_fact_status() local 451 ret = isst_get_ctdp_levels(id, &pkg_dev); in tpmi_set_pbf_fact_status() 455 current_level = pkg_dev.current_level; in tpmi_set_pbf_fact_status()
|
D | isst.h | 244 extern int isst_get_ctdp_levels(struct isst_id *id, struct isst_pkg_ctdp *pkg_dev); 252 struct isst_pkg_ctdp *pkg_dev); 254 struct isst_pkg_ctdp *pkg_dev); 256 struct isst_pkg_ctdp *pkg_dev);
|
D | isst-display.c | 351 struct isst_pkg_ctdp *pkg_dev) in isst_ctdp_display_information() argument 359 if (pkg_dev->processed) in isst_ctdp_display_information() 362 for (i = 0; i <= pkg_dev->levels; ++i) { in isst_ctdp_display_information() 366 ctdp_level = &pkg_dev->ctdp_level[i]; in isst_ctdp_display_information()
|