Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c23 static FILE *outf; variable
77 return outf; in get_output_file()
616 fprintf(outf, "Error: map logical_cpu:%d\n", in create_cpu_map()
724 fprintf(outf, "Error: mmio_cmd cpu:%d reg:%x read_write:%x\n", in isst_send_mmio_command()
856 fprintf(outf, "Error: msr_cmd cpu:%d msr:%x read_write:%d\n", in isst_send_msr_command()
924 fprintf(outf, "Intel(R) SST-PP (feature perf-profile) is supported\n"); in isst_print_extended_platform_info()
926 fprintf(outf, "Intel(R) SST-PP (feature perf-profile) is not supported\n"); in isst_print_extended_platform_info()
927 fprintf(outf, "Only performance level 0 (base level) is present\n"); in isst_print_extended_platform_info()
931 fprintf(outf, "TDP level change control is locked\n"); in isst_print_extended_platform_info()
933 fprintf(outf, "TDP level change control is unlocked, max level: %d \n", pkg_dev.levels); in isst_print_extended_platform_info()
[all …]
Disst.h209 extern void isst_ctdp_display_information(int cpu, FILE *outf, int tdp_level,
211 extern void isst_ctdp_display_core_info(int cpu, FILE *outf, char *prefix,
213 extern void isst_ctdp_display_information_start(FILE *outf);
214 extern void isst_ctdp_display_information_end(FILE *outf);
215 extern void isst_pbf_display_information(int cpu, FILE *outf, int level,
227 extern void isst_fact_display_information(int cpu, FILE *outf, int level,
241 extern void isst_clos_display_information(int cpu, FILE *outf, int clos,
243 extern void isst_clos_display_assoc_information(int cpu, FILE *outf, int clos);
247 extern void isst_display_result(int cpu, FILE *outf, char *feature, char *cmd,
251 extern void isst_clos_display_clos_information(int cpu, FILE *outf,
/kernel/linux/linux-5.10/tools/power/x86/turbostat/
Dturbostat.c38 FILE *outf; variable
648 fprintf(outf, in help()
1294 if (outf == stderr) in flush_output_stdout()
1297 filep = outf; in flush_output_stdout()
1306 fputs(output_buffer, outf); in flush_output_stderr()
1307 fflush(outf); in flush_output_stderr()
1485 fprintf(outf, "cpu%d MPERF 0!\n", old->cpu_id); in delta_thread()
1883 fprintf(outf, "cpu%d: BIOS BUG: apic 0x%x x2apic 0x%x\n", in get_apic_id()
1901 fprintf(outf, "get_counters: Could not migrate to CPU %d\n", cpu); in get_counters()
2193 fprintf(outf, "cpu%d: MSR_PLATFORM_INFO: 0x%08llx\n", base_cpu, msr); in dump_nhm_platform_info()
[all …]
/kernel/linux/linux-5.10/scripts/dtc/
Ddtc.c170 FILE *outf = NULL; in main() local
342 outf = stdout; in main()
344 outf = fopen(outname, "wb"); in main()
345 if (! outf) in main()
351 dt_to_source(outf, dti); in main()
356 dt_to_yaml(outf, dti); in main()
359 dt_to_blob(outf, dti, outversion); in main()
361 dt_to_asm(outf, dti, outversion); in main()
/kernel/linux/linux-5.10/samples/bpf/
Dhbm.c81 FILE *outf; in read_trace_pipe2() local
93 outf = fopen(outFname, "w"); in read_trace_pipe2()
95 if (outf == NULL) in read_trace_pipe2()
106 if (outf != NULL) { in read_trace_pipe2()
107 fprintf(outf, "%s\n", buf); in read_trace_pipe2()
108 fflush(outf); in read_trace_pipe2()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ppp/
Dppp_generic.c477 goto outf; in ppp_read()
483 goto outf; in ppp_read()
486 outf: in ppp_read()
1325 goto outf; in ppp_start_xmit()
1334 goto outf; in ppp_start_xmit()
1337 goto outf; in ppp_start_xmit()
1343 goto outf; in ppp_start_xmit()
1354 outf: in ppp_start_xmit()
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Ddc.c123 fixed20_12 outf = dfixed_init(out); in compute_dda_inc() local
145 outf.full = max_t(u32, outf.full - dfixed_const(1), dfixed_const(1)); in compute_dda_inc()
148 dda_inc = dfixed_div(inf, outf); in compute_dda_inc()