Lines Matching refs:value
85 char *value) in format_and_print_txt() argument
102 if (header && value) { in format_and_print_txt()
104 fprintf(outf, "%s:%s\n", header, value); in format_and_print_txt()
112 static void format_and_print(FILE *outf, int level, char *header, char *value) in format_and_print() argument
119 format_and_print_txt(outf, level, header, value); in format_and_print()
139 if (value) { in format_and_print()
144 fprintf(outf, "\"%s\"", value); in format_and_print()
203 char value[512]; in _isst_pbf_display_information() local
209 snprintf(value, sizeof(value), "%d", in _isst_pbf_display_information()
211 format_and_print(outf, disp_level + 1, header, value); in _isst_pbf_display_information()
214 printcpumask(sizeof(value), value, pbf_info->core_cpumask_size, in _isst_pbf_display_information()
216 format_and_print(outf, disp_level + 1, header, value); in _isst_pbf_display_information()
219 printcpulist(sizeof(value), value, in _isst_pbf_display_information()
222 format_and_print(outf, disp_level + 1, header, value); in _isst_pbf_display_information()
225 snprintf(value, sizeof(value), "%d", in _isst_pbf_display_information()
227 format_and_print(outf, disp_level + 1, header, value); in _isst_pbf_display_information()
233 snprintf(value, sizeof(value), "%d", pbf_info->t_prochot); in _isst_pbf_display_information()
234 format_and_print(outf, disp_level + 1, header, value); in _isst_pbf_display_information()
237 snprintf(value, sizeof(value), "%d", pbf_info->tdp); in _isst_pbf_display_information()
238 format_and_print(outf, disp_level + 1, header, value); in _isst_pbf_display_information()
249 char value[256]; in _isst_fact_display_information() local
282 snprintf(value, sizeof(value), "%d", in _isst_fact_display_information()
284 format_and_print(outf, base_level + 2, header, value); in _isst_fact_display_information()
294 snprintf(value, sizeof(value), "%d", in _isst_fact_display_information()
296 format_and_print(outf, base_level + 2, header, value); in _isst_fact_display_information()
313 snprintf(value, sizeof(value), "%d", in _isst_fact_display_information()
315 format_and_print(outf, base_level + 2, header, value); in _isst_fact_display_information()
322 char value[256]; in isst_ctdp_display_core_info() local
328 snprintf(value, sizeof(value), "%s", str0); in isst_ctdp_display_core_info()
330 snprintf(value, sizeof(value), "%s", str1); in isst_ctdp_display_core_info()
332 snprintf(value, sizeof(value), "%u", val); in isst_ctdp_display_core_info()
333 format_and_print(outf, level, prefix, value); in isst_ctdp_display_core_info()
342 char value[512]; in isst_ctdp_display_information() local
365 snprintf(value, sizeof(value), "%d", j); in isst_ctdp_display_information()
366 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
372 snprintf(value, sizeof(value), "%d", j); in isst_ctdp_display_information()
373 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
378 printcpumask(sizeof(value), value, in isst_ctdp_display_information()
381 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
384 printcpulist(sizeof(value), value, in isst_ctdp_display_information()
387 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
392 snprintf(value, sizeof(value), "%d", ctdp_level->tdp_ratio); in isst_ctdp_display_information()
393 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
398 snprintf(value, sizeof(value), "%d", in isst_ctdp_display_information()
400 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
404 snprintf(value, sizeof(value), "%d", in isst_ctdp_display_information()
406 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
411 snprintf(value, sizeof(value), "%d", in isst_ctdp_display_information()
413 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
418 snprintf(value, sizeof(value), "%d", in isst_ctdp_display_information()
420 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
425 snprintf(value, sizeof(value), "%d", in isst_ctdp_display_information()
427 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
432 snprintf(value, sizeof(value), "%d", in isst_ctdp_display_information()
434 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
439 snprintf(value, sizeof(value), "%d", in isst_ctdp_display_information()
441 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
446 snprintf(value, sizeof(value), "%d", in isst_ctdp_display_information()
448 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
453 snprintf(value, sizeof(value), "%d", in isst_ctdp_display_information()
455 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
462 snprintf(value, sizeof(value), "enabled"); in isst_ctdp_display_information()
464 snprintf(value, sizeof(value), "disabled"); in isst_ctdp_display_information()
466 snprintf(value, sizeof(value), "unsupported"); in isst_ctdp_display_information()
467 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
473 snprintf(value, sizeof(value), "enabled"); in isst_ctdp_display_information()
475 snprintf(value, sizeof(value), "disabled"); in isst_ctdp_display_information()
477 snprintf(value, sizeof(value), "unsupported"); in isst_ctdp_display_information()
478 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
484 snprintf(value, sizeof(value), "enabled"); in isst_ctdp_display_information()
486 snprintf(value, sizeof(value), "disabled"); in isst_ctdp_display_information()
488 snprintf(value, sizeof(value), "unsupported"); in isst_ctdp_display_information()
489 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
502 snprintf(value, sizeof(value), "%d", ctdp_level->pkg_tdp); in isst_ctdp_display_information()
503 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
508 snprintf(value, sizeof(value), "%d", ctdp_level->t_proc_hot); in isst_ctdp_display_information()
509 format_and_print(outf, level + 2, header, value); in isst_ctdp_display_information()
525 snprintf(value, sizeof(value), "%llu", (ctdp_level->trl_cores >> (j * 8)) & 0xff); in isst_ctdp_display_information()
526 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
529 …snprintf(value, sizeof(value), "%d", ctdp_level->trl_ratios[k][j] * isst_get_disp_freq_multiplier(… in isst_ctdp_display_information()
530 format_and_print(outf, level + 4, header, value); in isst_ctdp_display_information()
587 char value[256]; in isst_clos_display_information() local
596 snprintf(value, sizeof(value), "%d", clos); in isst_clos_display_information()
597 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
600 snprintf(value, sizeof(value), "%d", clos_config->epp); in isst_clos_display_information()
601 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
604 snprintf(value, sizeof(value), "%d", clos_config->clos_prop_prio); in isst_clos_display_information()
605 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
608 snprintf(value, sizeof(value), "%d MHz", clos_config->clos_min * isst_get_disp_freq_multiplier()); in isst_clos_display_information()
609 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
613 snprintf(value, sizeof(value), "Max Turbo frequency"); in isst_clos_display_information()
615 snprintf(value, sizeof(value), "%d MHz", clos_config->clos_max * isst_get_disp_freq_multiplier()); in isst_clos_display_information()
616 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
619 …snprintf(value, sizeof(value), "%d MHz", clos_config->clos_desired * isst_get_disp_freq_multiplier… in isst_clos_display_information()
620 format_and_print(outf, level + 2, header, value); in isst_clos_display_information()
630 char value[256]; in isst_clos_display_clos_information() local
640 snprintf(value, sizeof(value), "supported"); in isst_clos_display_clos_information()
642 snprintf(value, sizeof(value), "unsupported"); in isst_clos_display_clos_information()
643 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
647 snprintf(value, sizeof(value), "enabled"); in isst_clos_display_clos_information()
649 snprintf(value, sizeof(value), "disabled"); in isst_clos_display_clos_information()
650 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
654 snprintf(value, sizeof(value), "enabled"); in isst_clos_display_clos_information()
656 snprintf(value, sizeof(value), "disabled"); in isst_clos_display_clos_information()
657 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
661 snprintf(value, sizeof(value), "ordered"); in isst_clos_display_clos_information()
663 snprintf(value, sizeof(value), "proportional"); in isst_clos_display_clos_information()
664 format_and_print(outf, level + 2, header, value); in isst_clos_display_clos_information()
672 char value[256]; in isst_clos_display_assoc_information() local
681 snprintf(value, sizeof(value), "%d", clos); in isst_clos_display_assoc_information()
682 format_and_print(outf, level + 2, header, value); in isst_clos_display_assoc_information()
691 char value[256]; in isst_display_result() local
700 snprintf(value, sizeof(value), "success"); in isst_display_result()
702 snprintf(value, sizeof(value), "failed(error %d)", result); in isst_display_result()
703 format_and_print(outf, level + 2, header, value); in isst_display_result()
713 char value[256]; in isst_display_error_info_message() local
717 snprintf(value, sizeof(value), "%s %d", msg, arg); in isst_display_error_info_message()
719 snprintf(value, sizeof(value), "%s", msg); in isst_display_error_info_message()
722 fprintf(outf, "Error: %s\n", value); in isst_display_error_info_message()
724 fprintf(outf, "Information: %s\n", value); in isst_display_error_info_message()
739 snprintf(value, sizeof(value), "%s %d", msg, arg); in isst_display_error_info_message()
741 snprintf(value, sizeof(value), "%s", msg); in isst_display_error_info_message()
743 format_and_print(outf, 2, header, value); in isst_display_error_info_message()
752 char value[256]; in isst_trl_display_information() local
761 snprintf(value, sizeof(value), "0x%llx", trl); in isst_trl_display_information()
762 format_and_print(outf, level + 2, header, value); in isst_trl_display_information()