Lines Matching refs:resp
11 unsigned int req, resp; in isst_write_pm_config() local
20 &resp); in isst_write_pm_config()
24 debug_printf("cpu:%d WRITE_PM_CONFIG resp:%x\n", id->cpu, resp); in isst_write_pm_config()
31 unsigned int resp; in isst_read_pm_config() local
35 &resp); in isst_read_pm_config()
39 debug_printf("cpu:%d READ_PM_CONFIG resp:%x\n", id->cpu, resp); in isst_read_pm_config()
41 *cp_state = resp & BIT(16); in isst_read_pm_config()
42 *cp_cap = resp & BIT(0) ? 1 : 0; in isst_read_pm_config()
49 unsigned int resp; in isst_get_ctdp_levels() local
53 CONFIG_TDP_GET_LEVELS_INFO, 0, 0, &resp); in isst_get_ctdp_levels()
63 debug_printf("cpu:%d CONFIG_TDP_GET_LEVELS_INFO resp:%x\n", id->cpu, resp); in isst_get_ctdp_levels()
65 pkg_dev->version = resp & 0xff; in isst_get_ctdp_levels()
66 pkg_dev->levels = (resp >> 8) & 0xff; in isst_get_ctdp_levels()
67 pkg_dev->current_level = (resp >> 16) & 0xff; in isst_get_ctdp_levels()
68 pkg_dev->locked = !!(resp & BIT(24)); in isst_get_ctdp_levels()
69 pkg_dev->enabled = !!(resp & BIT(31)); in isst_get_ctdp_levels()
78 unsigned int resp; in isst_get_ctdp_control() local
83 config_index, &resp); in isst_get_ctdp_control()
87 ctdp_level->fact_support = resp & BIT(0); in isst_get_ctdp_control()
88 ctdp_level->pbf_support = !!(resp & BIT(1)); in isst_get_ctdp_control()
89 ctdp_level->fact_enabled = !!(resp & BIT(16)); in isst_get_ctdp_control()
90 ctdp_level->pbf_enabled = !!(resp & BIT(17)); in isst_get_ctdp_control()
103 id->cpu, resp, ctdp_level->fact_support, ctdp_level->pbf_support, in isst_get_ctdp_control()
112 unsigned int resp; in isst_get_tdp_info() local
116 0, config_index, &resp); in isst_get_tdp_info()
122 ctdp_level->pkg_tdp = resp & GENMASK(14, 0); in isst_get_tdp_info()
123 ctdp_level->tdp_ratio = (resp & GENMASK(23, 16)) >> 16; in isst_get_tdp_info()
127 id->cpu, config_index, resp, ctdp_level->tdp_ratio, in isst_get_tdp_info()
135 unsigned int resp; in isst_get_pwr_info() local
139 0, config_index, &resp); in isst_get_pwr_info()
143 ctdp_level->pkg_max_power = resp & GENMASK(14, 0); in isst_get_pwr_info()
144 ctdp_level->pkg_min_power = (resp & GENMASK(30, 16)) >> 16; in isst_get_pwr_info()
148 id->cpu, config_index, resp, ctdp_level->pkg_max_power, in isst_get_pwr_info()
157 unsigned int resp; in isst_get_uncore_p0_p1_info() local
161 config_index, &resp); in isst_get_uncore_p0_p1_info()
168 ctdp_level->uncore_p0 = resp & GENMASK(7, 0); in isst_get_uncore_p0_p1_info()
169 ctdp_level->uncore_p1 = (resp & GENMASK(15, 8)) >> 8; in isst_get_uncore_p0_p1_info()
172 id->cpu, config_index, resp, ctdp_level->uncore_p0, in isst_get_uncore_p0_p1_info()
179 unsigned int resp; in isst_get_p1_info() local
182 config_index, &resp); in isst_get_p1_info()
190 ctdp_level->sse_p1 = resp & GENMASK(7, 0); in isst_get_p1_info()
191 ctdp_level->avx2_p1 = (resp & GENMASK(15, 8)) >> 8; in isst_get_p1_info()
192 ctdp_level->avx512_p1 = (resp & GENMASK(23, 16)) >> 16; in isst_get_p1_info()
195 id->cpu, config_index, resp, ctdp_level->sse_p1, in isst_get_p1_info()
202 unsigned int resp; in isst_get_uncore_mem_freq() local
206 0, config_index, &resp); in isst_get_uncore_mem_freq()
212 ctdp_level->mem_freq = resp & GENMASK(7, 0); in isst_get_uncore_mem_freq()
229 id->cpu, config_index, resp, ctdp_level->mem_freq); in isst_get_uncore_mem_freq()
235 unsigned int resp; in isst_get_tjmax_info() local
239 0, config_index, &resp); in isst_get_tjmax_info()
243 ctdp_level->t_proc_hot = resp & GENMASK(7, 0); in isst_get_tjmax_info()
247 id->cpu, config_index, resp, ctdp_level->t_proc_hot); in isst_get_tjmax_info()
255 unsigned int resp; in isst_get_coremask_info() local
265 (i << 8) | config_index, &resp); in isst_get_coremask_info()
271 id->cpu, config_index, i, resp); in isst_get_coremask_info()
273 mask = (unsigned long long)resp << (32 * i); in isst_get_coremask_info()
309 unsigned int req, resp; in isst_get_get_trl() local
315 &resp); in isst_get_get_trl()
321 id->cpu, req, resp); in isst_get_get_trl()
323 trl[0] = resp & GENMASK(7, 0); in isst_get_get_trl()
324 trl[1] = (resp & GENMASK(15, 8)) >> 8; in isst_get_get_trl()
325 trl[2] = (resp & GENMASK(23, 16)) >> 16; in isst_get_get_trl()
326 trl[3] = (resp & GENMASK(31, 24)) >> 24; in isst_get_get_trl()
331 &resp); in isst_get_get_trl()
336 req, resp); in isst_get_get_trl()
338 trl[4] = resp & GENMASK(7, 0); in isst_get_get_trl()
339 trl[5] = (resp & GENMASK(15, 8)) >> 8; in isst_get_get_trl()
340 trl[6] = (resp & GENMASK(23, 16)) >> 16; in isst_get_get_trl()
341 trl[7] = (resp & GENMASK(31, 24)) >> 24; in isst_get_get_trl()
366 unsigned int resp; in isst_set_tdp_level() local
377 tdp_level, &resp); in isst_set_tdp_level()
391 unsigned int req, resp; in isst_get_pbf_info() local
424 0, (i << 8) | level, &resp); in isst_get_pbf_info()
430 id->cpu, resp); in isst_get_pbf_info()
432 mask = (unsigned long long)resp << (32 * i); in isst_get_pbf_info()
442 &resp); in isst_get_pbf_info()
447 resp); in isst_get_pbf_info()
449 pbf_info->p1_low = resp & 0xff; in isst_get_pbf_info()
450 pbf_info->p1_high = (resp & GENMASK(15, 8)) >> 8; in isst_get_pbf_info()
454 id->cpu, CONFIG_TDP, CONFIG_TDP_PBF_GET_TDP_INFO, 0, req, &resp); in isst_get_pbf_info()
458 debug_printf("cpu:%d CONFIG_TDP_PBF_GET_TDP_INFO resp:%x\n", id->cpu, resp); in isst_get_pbf_info()
460 pbf_info->tdp = resp & 0xffff; in isst_get_pbf_info()
464 id->cpu, CONFIG_TDP, CONFIG_TDP_PBF_GET_TJ_MAX_INFO, 0, req, &resp); in isst_get_pbf_info()
469 resp); in isst_get_pbf_info()
470 pbf_info->t_control = (resp >> 8) & 0xff; in isst_get_pbf_info()
471 pbf_info->t_prochot = resp & 0xff; in isst_get_pbf_info()
486 unsigned int req = 0, resp; in isst_set_pbf_fact_status() local
522 CONFIG_TDP_SET_TDP_CONTROL, 0, req, &resp); in isst_set_pbf_fact_status()
535 unsigned int resp; in isst_get_fact_bucket_info() local
544 (i << 8) | level, &resp); in isst_get_fact_bucket_info()
550 id->cpu, i, level, resp); in isst_get_fact_bucket_info()
554 (resp >> (j * 8)) & 0xff; in isst_get_fact_bucket_info()
565 (k << 16) | (i << 8) | level, &resp); in isst_get_fact_bucket_info()
571 id->cpu, i, level, k, resp); in isst_get_fact_bucket_info()
577 (resp >> (j * 8)) & 0xff; in isst_get_fact_bucket_info()
581 (resp >> (j * 8)) & 0xff; in isst_get_fact_bucket_info()
585 (resp >> (j * 8)) & 0xff; in isst_get_fact_bucket_info()
601 unsigned int resp; in isst_get_fact_info() local
626 level, &resp); in isst_get_fact_info()
631 id->cpu, resp); in isst_get_fact_info()
633 fact_info->lp_clipping_ratio_license_sse = resp & 0xff; in isst_get_fact_info()
634 fact_info->lp_clipping_ratio_license_avx2 = (resp >> 8) & 0xff; in isst_get_fact_info()
635 fact_info->lp_clipping_ratio_license_avx512 = (resp >> 16) & 0xff; in isst_get_fact_info()
873 unsigned int resp; in isst_clos_get_clos_information() local
877 &resp); in isst_clos_get_clos_information()
881 debug_printf("cpu:%d CLOS_PM_QOS_CONFIG resp:%x\n", id->cpu, resp); in isst_clos_get_clos_information()
883 if (resp & BIT(1)) in isst_clos_get_clos_information()
888 if (resp & BIT(2)) in isst_clos_get_clos_information()
898 unsigned int req, resp; in isst_pm_qos_config() local
930 &resp); in isst_pm_qos_config()
936 debug_printf("cpu:%d CLOS_PM_QOS_CONFIG resp:%x\n", id->cpu, resp); in isst_pm_qos_config()
938 req = resp; in isst_pm_qos_config()
954 BIT(MBOX_CMD_WRITE_BIT), req, &resp); in isst_pm_qos_config()
966 unsigned int resp; in isst_pm_get_clos() local
970 &resp); in isst_pm_get_clos()
974 clos_config->epp = resp & 0x0f; in isst_pm_get_clos()
975 clos_config->clos_prop_prio = (resp >> 4) & 0x0f; in isst_pm_get_clos()
976 clos_config->clos_min = (resp >> 8) & 0xff; in isst_pm_get_clos()
977 clos_config->clos_max = (resp >> 16) & 0xff; in isst_pm_get_clos()
978 clos_config->clos_desired = (resp >> 24) & 0xff; in isst_pm_get_clos()
985 unsigned int req, resp; in isst_set_clos() local
998 &resp); in isst_set_clos()
1009 unsigned int resp; in isst_clos_get_assoc_status() local
1017 &resp); in isst_clos_get_assoc_status()
1022 resp); in isst_clos_get_assoc_status()
1023 *clos_id = (resp >> 16) & 0x03; in isst_clos_get_assoc_status()
1030 unsigned int req, resp; in isst_clos_associate() local
1039 req, &resp); in isst_clos_associate()