Lines Matching refs:value

85 				 char *value)
102 if (header && value) {
104 fprintf(outf, "%s:%s\n", header, value);
112 static void format_and_print(FILE *outf, int level, char *header, char *value)
119 format_and_print_txt(outf, level, header, value);
139 if (value) {
144 fprintf(outf, "\"%s\"", value);
222 static char value[1024];
228 snprintf(value, sizeof(value), "%d",
230 format_and_print(outf, disp_level + 1, header, value);
233 printcpumask(sizeof(value), value, pbf_info->core_cpumask_size,
235 format_and_print(outf, disp_level + 1, header, value);
238 printcpulist(sizeof(value), value,
241 format_and_print(outf, disp_level + 1, header, value);
244 snprintf(value, sizeof(value), "%d",
246 format_and_print(outf, disp_level + 1, header, value);
252 snprintf(value, sizeof(value), "%d", pbf_info->t_prochot);
253 format_and_print(outf, disp_level + 1, header, value);
256 snprintf(value, sizeof(value), "%d", pbf_info->tdp);
257 format_and_print(outf, disp_level + 1, header, value);
268 char value[256];
301 snprintf(value, sizeof(value), "%d",
303 format_and_print(outf, base_level + 2, header, value);
313 snprintf(value, sizeof(value), "%d",
315 format_and_print(outf, base_level + 2, header, value);
332 snprintf(value, sizeof(value), "%d",
334 format_and_print(outf, base_level + 2, header, value);
341 char value[256];
347 snprintf(value, sizeof(value), "%s", str0);
349 snprintf(value, sizeof(value), "%s", str1);
351 snprintf(value, sizeof(value), "%u", val);
352 format_and_print(outf, level, prefix, value);
361 static char value[1024];
384 snprintf(value, sizeof(value), "%d", j);
385 format_and_print(outf, level + 2, header, value);
391 snprintf(value, sizeof(value), "%d", j);
392 format_and_print(outf, level + 2, header, value);
397 printcpumask(sizeof(value), value,
400 format_and_print(outf, level + 2, header, value);
403 printcpulist(sizeof(value), value,
406 format_and_print(outf, level + 2, header, value);
411 snprintf(value, sizeof(value), "%d", ctdp_level->tdp_ratio);
412 format_and_print(outf, level + 2, header, value);
417 snprintf(value, sizeof(value), "%d",
419 format_and_print(outf, level + 2, header, value);
423 snprintf(value, sizeof(value), "%d",
425 format_and_print(outf, level + 2, header, value);
430 snprintf(value, sizeof(value), "%d",
432 format_and_print(outf, level + 2, header, value);
437 snprintf(value, sizeof(value), "%d",
439 format_and_print(outf, level + 2, header, value);
444 snprintf(value, sizeof(value), "%d",
446 format_and_print(outf, level + 2, header, value);
451 snprintf(value, sizeof(value), "%d",
453 format_and_print(outf, level + 2, header, value);
458 snprintf(value, sizeof(value), "%d",
460 format_and_print(outf, level + 2, header, value);
465 snprintf(value, sizeof(value), "%d",
467 format_and_print(outf, level + 2, header, value);
472 snprintf(value, sizeof(value), "%d",
474 format_and_print(outf, level + 2, header, value);
481 snprintf(value, sizeof(value), "enabled");
483 snprintf(value, sizeof(value), "disabled");
485 snprintf(value, sizeof(value), "unsupported");
486 format_and_print(outf, level + 2, header, value);
492 snprintf(value, sizeof(value), "enabled");
494 snprintf(value, sizeof(value), "disabled");
496 snprintf(value, sizeof(value), "unsupported");
497 format_and_print(outf, level + 2, header, value);
503 snprintf(value, sizeof(value), "enabled");
505 snprintf(value, sizeof(value), "disabled");
507 snprintf(value, sizeof(value), "unsupported");
508 format_and_print(outf, level + 2, header, value);
521 snprintf(value, sizeof(value), "%d", ctdp_level->pkg_tdp);
522 format_and_print(outf, level + 2, header, value);
527 snprintf(value, sizeof(value), "%d", ctdp_level->t_proc_hot);
528 format_and_print(outf, level + 2, header, value);
544 snprintf(value, sizeof(value), "%llu", (ctdp_level->trl_cores >> (j * 8)) & 0xff);
545 format_and_print(outf, level + 4, header, value);
548 snprintf(value, sizeof(value), "%d", ctdp_level->trl_ratios[k][j] * isst_get_disp_freq_multiplier());
549 format_and_print(outf, level + 4, header, value);
606 char value[256];
615 snprintf(value, sizeof(value), "%d", clos);
616 format_and_print(outf, level + 2, header, value);
619 snprintf(value, sizeof(value), "%d", clos_config->epp);
620 format_and_print(outf, level + 2, header, value);
623 snprintf(value, sizeof(value), "%d", clos_config->clos_prop_prio);
624 format_and_print(outf, level + 2, header, value);
627 snprintf(value, sizeof(value), "%d MHz", clos_config->clos_min * isst_get_disp_freq_multiplier());
628 format_and_print(outf, level + 2, header, value);
632 snprintf(value, sizeof(value), "Max Turbo frequency");
634 snprintf(value, sizeof(value), "%d MHz", clos_config->clos_max * isst_get_disp_freq_multiplier());
635 format_and_print(outf, level + 2, header, value);
638 snprintf(value, sizeof(value), "%d MHz", clos_config->clos_desired * isst_get_disp_freq_multiplier());
639 format_and_print(outf, level + 2, header, value);
649 char value[256];
659 snprintf(value, sizeof(value), "supported");
661 snprintf(value, sizeof(value), "unsupported");
662 format_and_print(outf, level + 2, header, value);
666 snprintf(value, sizeof(value), "enabled");
668 snprintf(value, sizeof(value), "disabled");
669 format_and_print(outf, level + 2, header, value);
673 snprintf(value, sizeof(value), "enabled");
675 snprintf(value, sizeof(value), "disabled");
676 format_and_print(outf, level + 2, header, value);
680 snprintf(value, sizeof(value), "ordered");
682 snprintf(value, sizeof(value), "proportional");
683 format_and_print(outf, level + 2, header, value);
691 char value[256];
700 snprintf(value, sizeof(value), "%d", clos);
701 format_and_print(outf, level + 2, header, value);
710 char value[256];
719 snprintf(value, sizeof(value), "success");
721 snprintf(value, sizeof(value), "failed(error %d)", result);
722 format_and_print(outf, level + 2, header, value);
732 char value[256];
736 snprintf(value, sizeof(value), "%s %d", msg, arg);
738 snprintf(value, sizeof(value), "%s", msg);
741 fprintf(outf, "Error: %s\n", value);
743 fprintf(outf, "Information: %s\n", value);
758 snprintf(value, sizeof(value), "%s %d", msg, arg);
760 snprintf(value, sizeof(value), "%s", msg);
762 format_and_print(outf, 2, header, value);
771 char value[256];
780 snprintf(value, sizeof(value), "0x%llx", trl);
781 format_and_print(outf, level + 2, header, value);