| /linux/tools/power/x86/intel-speed-select/ |
| A D | isst-display.c | 103 fprintf(outf, "%s", delimiters); 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() 125 fprintf(outf, "{"); in format_and_print() 127 fprintf(outf, "\n}\n"); in format_and_print() 137 fprintf(outf, ",\n"); in format_and_print() 141 fprintf(outf, "\n"); in format_and_print() 144 fprintf(outf, "\"%s\"", value); in format_and_print() 156 fprintf(outf, "\n%s}", delimiters); in format_and_print() 159 fprintf(outf, "\n"); in format_and_print() [all …]
|
| A D | isst-config.c | 25 static FILE *outf; variable 83 return outf; in get_output_file() 1473 isst_ctdp_display_information_end(outf); in dump_isst_config() 1584 isst_ctdp_display_information_end(outf); in set_tdp_level() 1653 isst_ctdp_display_information_end(outf); in dump_pbf_config() 2068 isst_ctdp_display_information_end(outf); in set_pbf_enable() 2115 isst_ctdp_display_information_end(outf); in dump_fact_config() 3238 if (outf) in cmdline() 3239 fclose(outf); in cmdline() 3240 outf = fopen_or_exit(optarg, "w"); in cmdline() [all …]
|
| A D | isst.h | 255 extern void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level, 257 extern void isst_ctdp_display_core_info(struct isst_id *id, FILE *outf, char *prefix, 259 extern void isst_ctdp_display_information_start(FILE *outf); 260 extern void isst_ctdp_display_information_end(FILE *outf); 261 extern void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level, 269 extern void isst_fact_display_information(struct isst_id *id, FILE *outf, int level, 284 extern void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos, 286 extern void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos); 288 extern void isst_display_result(struct isst_id *id, FILE *outf, char *feature, char *cmd, 292 extern void isst_clos_display_clos_information(struct isst_id *id, FILE *outf, [all …]
|
| 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()
|
| 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/scripts/dtc/ |
| A D | dtc.c | 174 FILE *outf = NULL; in main() local 351 outf = stdout; in main() 353 outf = fopen(outname, "wb"); in main() 354 if (! outf) in main() 360 dt_to_source(outf, dti); in main() 365 dt_to_yaml(outf, dti); in main() 368 dt_to_blob(outf, dti, outversion); in main() 370 dt_to_asm(outf, dti, outversion); in main()
|
| /linux/tools/power/x86/turbostat/ |
| A D | turbostat.c | 303 FILE *outf; variable 2087 fprintf(outf, in help() 3101 if (outf == stderr) in flush_output_stdout() 3104 filep = outf; in flush_output_stdout() 3115 fflush(outf); in flush_output_stderr() 4976 fprintf(outf, in dump_knl_turbo_ratio_limits() 5004 fprintf(outf, ")\n"); in dump_cst_cfg() 7361 fprintf(outf, in decode_misc_feature_control() 7993 fputc('\n', outf); in process_cpuid() 8366 fprintf(outf, in topology_probe() [all …]
|
| /linux/samples/bpf/ |
| 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/ |
| A D | make_fit.py | 178 with open(comp_fname.name, 'wb') as outf: 182 subprocess.call([tool, '-c'], stdin=inf, stdout=outf) 306 with open(args.output, 'wb') as outf: 307 outf.write(out_data)
|
| /linux/tools/testing/selftests/powerpc/nx-gzip/ |
| 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/ |
| A D | relocs.c | 572 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/drivers/net/ppp/ |
| A D | ppp_generic.c | 482 goto outf; in ppp_read() 488 goto outf; in ppp_read() 491 outf: in ppp_read() 1451 goto outf; in ppp_start_xmit() 1460 goto outf; in ppp_start_xmit() 1463 goto outf; in ppp_start_xmit() 1469 goto outf; in ppp_start_xmit() 1480 outf: in ppp_start_xmit()
|
| /linux/drivers/gpu/drm/tegra/ |
| A D | dc.c | 130 fixed20_12 outf = dfixed_init(out); in compute_dda_inc() local 152 outf.full = max_t(u32, outf.full - dfixed_const(1), dfixed_const(1)); in compute_dda_inc() 155 dda_inc = dfixed_div(inf, outf); in compute_dda_inc()
|