Home
last modified time | relevance | path

Searched refs:outf (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/tools/power/x86/intel-speed-select/
Disst-display.c84 static void format_and_print_txt(FILE *outf, int level, char *header, in format_and_print_txt() argument
103 fprintf(outf, "%s", delimiters); in format_and_print_txt()
104 fprintf(outf, "%s:%s\n", header, value); in format_and_print_txt()
106 fprintf(outf, "%s", delimiters); in format_and_print_txt()
107 fprintf(outf, "%s\n", header); 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()
125 fprintf(outf, "{"); in format_and_print()
127 fprintf(outf, "\n}\n"); in format_and_print()
137 fprintf(outf, ",\n"); in format_and_print()
[all …]
Disst-config.c24 static FILE *outf; variable
79 return outf; in get_output_file()
670 fprintf(outf, "Error: map logical_cpu:%d\n", in create_cpu_map()
766 fprintf(outf, "Error: mmio_cmd cpu:%d reg:%x read_write:%x\n", in isst_send_mmio_command()
898 fprintf(outf, "Error: msr_cmd cpu:%d msr:%x read_write:%d\n", in isst_send_msr_command()
968 fprintf(outf, "Intel(R) SST-PP (feature perf-profile) is supported\n"); in isst_print_extended_platform_info()
970 fprintf(outf, "Intel(R) SST-PP (feature perf-profile) is not supported\n"); in isst_print_extended_platform_info()
971 fprintf(outf, "Only performance level 0 (base level) is present\n"); in isst_print_extended_platform_info()
975 fprintf(outf, "TDP level change control is locked\n"); in isst_print_extended_platform_info()
977 fprintf(outf, "TDP level change control is unlocked, max level: %d \n", pkg_dev.levels); in isst_print_extended_platform_info()
[all …]
Disst.h215 extern void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level,
217 extern void isst_ctdp_display_core_info(struct isst_id *id, FILE *outf, char *prefix,
219 extern void isst_ctdp_display_information_start(FILE *outf);
220 extern void isst_ctdp_display_information_end(FILE *outf);
221 extern void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level,
232 extern void isst_fact_display_information(struct isst_id *id, FILE *outf, int level,
247 extern void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos,
249 extern void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos);
251 extern void isst_display_result(struct isst_id *id, FILE *outf, char *feature, char *cmd,
255 extern void isst_clos_display_clos_information(struct isst_id *id, FILE *outf,
[all …]
/linux-6.1.9/tools/power/x86/turbostat/
Dturbostat.c208 FILE *outf; variable
716 fprintf(outf, in help()
1413 if (outf == stderr) in flush_output_stdout()
1416 filep = outf; in flush_output_stdout()
1426 fputs(output_buffer, outf); in flush_output_stderr()
1427 fflush(outf); in flush_output_stderr()
1601 fprintf(outf, "cpu%d MPERF 0!\n", old->cpu_id); in delta_thread()
2047 fprintf(outf, "cpu%d: BIOS BUG: apic 0x%x x2apic 0x%x\n", t->cpu_id, t->apic_id, t->x2apic_id); in get_apic_id()
2084 fprintf(outf, "get_counters: Could not migrate to CPU %d\n", cpu); in get_counters()
2431 fprintf(outf, "cpu%d: MSR_PLATFORM_INFO: 0x%08llx\n", base_cpu, msr); in dump_nhm_platform_info()
[all …]
/linux-6.1.9/scripts/dtc/
Ddtc.c172 FILE *outf = NULL; in main() local
344 outf = stdout; in main()
346 outf = fopen(outname, "wb"); in main()
347 if (! outf) in main()
353 dt_to_source(outf, dti); in main()
358 dt_to_yaml(outf, dti); in main()
361 dt_to_blob(outf, dti, outversion); in main()
363 dt_to_asm(outf, dti, outversion); in main()
/linux-6.1.9/samples/bpf/
Dhbm.c77 FILE *outf; in read_trace_pipe2() local
89 outf = fopen(outFname, "w"); in read_trace_pipe2()
91 if (outf == NULL) in read_trace_pipe2()
102 if (outf != NULL) { in read_trace_pipe2()
103 fprintf(outf, "%s\n", buf); in read_trace_pipe2()
104 fflush(outf); in read_trace_pipe2()
/linux-6.1.9/tools/testing/selftests/powerpc/nx-gzip/
Dgunz_test.c275 FILE *outf = NULL; in decompress_file() local
312 outf = stdout; in decompress_file()
328 outf = fopen(w, "w"); in decompress_file()
329 if (outf == NULL) { in decompress_file()
503 n = fwrite(fifo_out + cur_out, 1, write_sz, outf); in decompress_file()
519 n = fwrite(fifo_out, 1, write_sz, outf); in decompress_file()
996 fclose(outf); in decompress_file()
/linux-6.1.9/arch/mips/boot/tools/
Drelocs.c572 static void emit_relocs(int as_text, int as_bin, FILE *outf) in emit_relocs() argument
598 outf = stdout; in emit_relocs()
601 outf = stdout; in emit_relocs()
607 if (fseek(outf, sec_reloc->shdr.sh_offset, SEEK_SET) < 0) { in emit_relocs()
614 size += write_reloc(relocs.offset[i], outf); in emit_relocs()
618 size += write_reloc(0, outf); in emit_relocs()
/linux-6.1.9/drivers/net/ppp/
Dppp_generic.c479 goto outf; in ppp_read()
485 goto outf; in ppp_read()
488 outf: in ppp_read()
1436 goto outf; in ppp_start_xmit()
1445 goto outf; in ppp_start_xmit()
1448 goto outf; in ppp_start_xmit()
1454 goto outf; in ppp_start_xmit()
1465 outf: in ppp_start_xmit()
/linux-6.1.9/drivers/gpu/drm/tegra/
Ddc.c129 fixed20_12 outf = dfixed_init(out); in compute_dda_inc() local
151 outf.full = max_t(u32, outf.full - dfixed_const(1), dfixed_const(1)); in compute_dda_inc()
154 dda_inc = dfixed_div(inf, outf); in compute_dda_inc()