| /linux/tools/power/x86/intel-speed-select/ |
| H A D | isst-display.c | 84 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 …]
|
| H A D | isst-config.c | 25 static FILE *outf; variable 85 return outf; in get_output_file() 819 fprintf(outf, "Error: map logical_cpu:%d\n", in create_cpu_map() 1193 fprintf(outf, "Intel(R) SST-PP (feature perf-profile) is supported\n"); in isst_print_extended_platform_info() 1195 fprintf(outf, "Intel(R) SST-PP (feature perf-profile) is not supported\n"); in isst_print_extended_platform_info() 1196 fprintf(outf, "Only performance level 0 (base level) is present\n"); in isst_print_extended_platform_info() 1200 fprintf(outf, "TDP level change control is locked\n"); in isst_print_extended_platform_info() 1202 fprintf(outf, "TDP level change control is unlocked, max level: %d\n", max_level); in isst_print_extended_platform_info() 1205 fprintf(outf, "Intel(R) SST-TF (feature turbo-freq) is supported\n"); in isst_print_extended_platform_info() 1207 fprintf(outf, "Intel(R) SST-TF (feature turbo-freq) is not supported\n"); in isst_print_extended_platform_info() [all …]
|
| H A D | isst.h | 258 extern void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level, 260 extern void isst_ctdp_display_core_info(struct isst_id *id, FILE *outf, char *prefix, 262 extern void isst_ctdp_display_information_start(FILE *outf); 263 extern void isst_ctdp_display_information_end(FILE *outf); 264 extern void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level, 272 extern void isst_fact_display_information(struct isst_id *id, FILE *outf, int level, 287 extern void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos, 289 extern void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos); 291 extern void isst_display_result(struct isst_id *id, FILE *outf, char *feature, char *cmd, 295 extern void isst_clos_display_clos_information(struct isst_id *id, FILE *outf, [all …]
|
| H A D | isst-core.c | 75 FILE *outf = get_output_file(); in isst_send_msr_command() local 91 fprintf(outf, "Error: msr_cmd cpu:%d msr:%x read_write:%d\n", in isst_send_msr_command()
|
| H A D | isst-core-mbox.c | 81 FILE *outf = get_output_file(); in _send_mmio_command() local 107 fprintf(outf, "Error: mmio_cmd cpu:%d reg:%x read_write:%x\n", in _send_mmio_command()
|
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 481 FILE *outf; variable 624 fprintf(outf, "SLM BCLK: unknown\n"); in slm_bclk() 628 fprintf(outf, "SLM BCLK[%d] invalid\n", i); in slm_bclk() 634 fprintf(outf, "SLM BCLK: %.1f Mhz\n", freq); in slm_bclk() 1283 fprintf(outf, "Forced to run on unsupported platform!\n"); in probe_platform_features() 2580 fprintf(outf, in help() 3598 if (outf == stderr) in flush_output_stdout() 3601 filep = outf; in flush_output_stdout() 3611 fputs(output_buffer, outf); in flush_output_stderr() 3612 fflush(outf); in flush_output_stderr() [all …]
|
| /linux/samples/bpf/ |
| H A D | hbm.c | 77 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/scripts/ |
| H A D | make_fit.py | 178 with open(comp_fname.name, 'wb') as outf: 182 subprocess.call([tool, '-c'], stdin=inf, stdout=outf) 310 with open(args.output, 'wb') as outf: 311 outf.write(out_data)
|
| /linux/tools/testing/selftests/powerpc/nx-gzip/ |
| H A D | gunz_test.c | 275 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/arch/mips/boot/tools/ |
| H A D | relocs.c | 577 static void emit_relocs(int as_text, int as_bin, FILE *outf) in emit_relocs() argument 603 outf = stdout; in emit_relocs() 606 outf = stdout; in emit_relocs() 612 if (fseek(outf, sec_reloc->shdr.sh_offset, SEEK_SET) < 0) { in emit_relocs() 619 size += write_reloc(relocs.offset[i], outf); in emit_relocs() 623 size += write_reloc(0, outf); in emit_relocs()
|
| /linux/drivers/net/ppp/ |
| H A D | ppp_generic.c | 487 goto outf; in ppp_read() 493 goto outf; in ppp_read() 496 outf: in ppp_read() 1459 goto outf; in ppp_start_xmit() 1468 goto outf; in ppp_start_xmit() 1471 goto outf; in ppp_start_xmit() 1477 goto outf; in ppp_start_xmit() 1488 outf: in ppp_start_xmit()
|