| /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 91 isst_ctdp_display_information_end(outf); in is_debug_enabled() 97 return outf; in debug_printf() 831 fprintf(outf, "Error: map logical_cpu:%d\n", in create_cpu_map() 1207 fprintf(outf, "Intel(R) SST-PP (feature perf-profile) is supported\n"); in isst_print_extended_platform_info() 1209 fprintf(outf, "Intel(R) SST-PP (feature perf-profile) is not supported\n"); in isst_print_extended_platform_info() 1210 fprintf(outf, "Only performance level 0 (base level) is present\n"); in isst_print_extended_platform_info() 1214 fprintf(outf, "TDP level change control is locked\n"); in isst_print_extended_platform_info() 1216 fprintf(outf, "TDP level change control is unlocked, max level: %d\n", max_level); in isst_print_extended_platform_info() 1219 fprintf(outf, "Inte 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 | 485 FILE *outf; variable 630 fprintf(outf, "SLM BCLK: unknown\n"); in slm_bclk() 634 fprintf(outf, "SLM BCLK[%d] invalid\n", i); in slm_bclk() 640 fprintf(outf, "SLM BCLK: %.1f Mhz\n", freq); in slm_bclk() 1367 fprintf(outf, "Forced to run on unsupported platform!\n"); in probe_platform_features() 2686 fprintf(outf, in help() 3740 if (outf == stderr) in flush_output_stdout() 3743 filep = outf; in flush_output_stdout() 3753 fputs(output_buffer, outf); in flush_output_stderr() 3754 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 | 208 with open(comp_fname.name, 'wb') as outf: 217 subprocess.call(cmd, stdin=inf, stdout=outf) 419 with open(args.output, 'wb') as outf: 420 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 | 579 static void emit_relocs(int as_text, int as_bin, FILE *outf) in emit_relocs() argument 605 outf = stdout; in emit_relocs() 608 outf = stdout; in emit_relocs() 614 if (fseek(outf, sec_reloc->shdr.sh_offset, SEEK_SET) < 0) { in emit_relocs() 621 size += write_reloc(relocs.offset[i], outf); in emit_relocs() 625 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()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | dc.c | 131 fixed20_12 outf = dfixed_init(out); in compute_dda_inc() local 153 outf.full = max_t(u32, outf.full - dfixed_const(1), dfixed_const(1)); in compute_dda_inc() 156 dda_inc = dfixed_div(inf, outf); in compute_dda_inc()
|