Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/x86/intel-speed-select/
H A Disst-display.c103 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 …]
H A Disst-config.c25 static FILE *outf; variable
79 return outf; in get_output_file()
1402 isst_ctdp_display_information_end(outf); in dump_isst_config()
1512 isst_ctdp_display_information_end(outf); in set_tdp_level()
1581 isst_ctdp_display_information_end(outf); in dump_pbf_config()
1996 isst_ctdp_display_information_end(outf); in set_pbf_enable()
2042 isst_ctdp_display_information_end(outf); in dump_fact_config()
3105 if (outf) in cmdline()
3106 fclose(outf); in cmdline()
3107 outf = fopen_or_exit(optarg, "w"); in cmdline()
[all …]
H A Disst.h255 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 …]
H A Disst-core.c74 FILE *outf = get_output_file(); in isst_send_msr_command() local
90 fprintf(outf, "Error: msr_cmd cpu:%d msr:%x read_write:%d\n", in isst_send_msr_command()
H A Disst-core-mbox.c81 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()
/openbmc/qemu/linux-user/
H A Dgen-vdso.c31 fprintf(outf, " 0x%08tx,\n", loc - buf); in output_reloc()
59 FILE *inf, *outf; in main() local
105 outf = fopen(outf_name, "w"); in main()
106 if (outf == NULL) { in main()
138 fprintf(outf, in main()
145 fputs("\n ", outf); in main()
147 fprintf(outf, " 0x%02x,", buf[i]); in main()
149 fprintf(outf, "\n};\n\n"); in main()
186 elf32_process(outf, buf, need_bswap); in main()
206 fprintf(outf, "};\n"); in main()
[all …]
H A Dgen-vdso-elfn.c.inc92 static void elfN(process)(FILE *outf, void *buf, bool need_bswap)
196 output_reloc(outf, buf, &phdr[i].p_vaddr);
197 output_reloc(outf, buf, &phdr[i].p_paddr);
221 output_reloc(outf, buf, &dyn->d_un.d_val);
303 output_reloc(outf, buf, &sym[i].st_value);
/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.c210 FILE *outf; variable
718 fprintf(outf, in help()
1415 if (outf == stderr) in flush_output_stdout()
1418 filep = outf; in flush_output_stdout()
1429 fflush(outf); in flush_output_stderr()
2658 fprintf(outf, in dump_knl_turbo_ratio_limits()
2683 fprintf(outf, ")\n"); in dump_nhm_cst_cfg()
5364 fprintf(outf, in decode_misc_feature_control()
5568 fputc('\n', outf); in process_cpuid()
5998 fprintf(outf, in topology_probe()
[all …]
/openbmc/openbmc/poky/meta/recipes-kernel/perf/perf/
H A Dsort-pmuevents.py88 outf = open( outfile, 'w' ) variable
91 outf.write( preamble.group(1) )
93outf.write( "%s %s %s[] = {\n" % (entry_dict_sorted[d]['type_prefix'], entry_dict_sorted[d]['type'…
95 outf.write( entry_dict_sorted[d]['fields'][f] + '\n' )
97 outf.write( "};\n" )
99 outf.close()
/openbmc/linux/scripts/dtc/
H A 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()
/openbmc/u-boot/scripts/dtc/
H A Ddtc.c176 FILE *outf = NULL; in main() local
343 outf = stdout; in main()
345 outf = fopen(outname, "wb"); in main()
346 if (! outf) in main()
352 dt_to_source(outf, dti); in main()
354 dt_to_blob(outf, dti, outversion); in main()
356 dt_to_asm(outf, dti, outversion); in main()
/openbmc/phosphor-pid-control/pid/ec/
H A Dlogging.cpp179 std::ofstream outf; in LogInit() local
189 outf.open(filef); in LogInit()
190 if (!(outf.good())) in LogInit()
193 outf.close(); in LogInit()
206 newLog.fileCoeffs = std::move(outf); in LogInit()
/openbmc/linux/samples/bpf/
H A 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()
/openbmc/u-boot/tools/
H A Dproftool.c61 static void outf(int level, const char *fmt, ...)
63 #define error(fmt, b...) outf(0, fmt, ##b)
64 #define warn(fmt, b...) outf(1, fmt, ##b)
65 #define notice(fmt, b...) outf(2, fmt, ##b)
66 #define info(fmt, b...) outf(3, fmt, ##b)
67 #define debug(fmt, b...) outf(4, fmt, ##b)
70 static void outf(int level, const char *fmt, ...) in outf() function
/openbmc/qemu/tests/tcg/i386/
H A Dtest-mmx.py225 with open(sys.argv[2], "w") as outf:
226 outf.write("// Generated by test-mmx.py. Do not edit.\n")
236 outf.write('TEST(%d, "%s", %s)\n' % (n, insn, g.optype))
240 outf.write("#undef TEST\n")
H A Dtest-avx.py357 with open(sys.argv[2], "w") as outf:
358 outf.write("// Generated by test-avx.py. Do not edit.\n")
368 outf.write('TEST(%d, "%s", %s)\n' % (n, insn, g.optype))
372 outf.write("#undef TEST\n")
/openbmc/openbmc/poky/scripts/lib/wic/
H A Dengine.py420 def write_sfdisk_script(outf, parts): argument
426 outf.write("{}: {}\n".format(key, val))
427 outf.write("\n")
441 outf.write("{}\n".format(line))
442 outf.flush()
449 with tempfile.NamedTemporaryFile(prefix="wic-sfdisk-", mode='w') as outf:
450 write_sfdisk_script(outf, parts)
451 cmd = "{} --no-reread {} < {} ".format(self.sfdisk, target, outf.name)
/openbmc/openbmc/poky/meta/recipes-core/gettext/
H A Dgettext-minimal-native_0.22.5.bb29 with open(oe.path.join(d.getVar("WORKDIR"),"aclocal-files"),'w') as outf:
30 outf.write(aclocal_files)
/openbmc/linux/tools/testing/selftests/powerpc/nx-gzip/
H A 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()
/openbmc/linux/arch/mips/boot/tools/
H A 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()
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/cdparanoia/files/
H A D0001-utils-Use-c99-compiler-independent-types.patch24 extern long buffering_write(int outf, char *buffer, long num);
/openbmc/openbmc/poky/bitbake/lib/ply/
H A Dyacc.py2673 outf = open(filename,"wb")
2674 pickle.dump(__tabversion__,outf,pickle_protocol)
2675 pickle.dump(self.lr_method,outf,pickle_protocol)
2676 pickle.dump(signature,outf,pickle_protocol)
2677 pickle.dump(self.lr_action,outf,pickle_protocol)
2678 pickle.dump(self.lr_goto,outf,pickle_protocol)
2686 pickle.dump(outp,outf,pickle_protocol)
2687 outf.close()
/openbmc/linux/drivers/net/ppp/
H A 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()
/openbmc/openbmc/poky/scripts/lib/devtool/
H A Dstandard.py2267 outf = os.path.join(root, fn)
2268 relf = os.path.relpath(outf, dry_run_outdir)
2276 outf,
2281 comparelist.append((recipefile, outf, recipefile))
2285 comparelist.append((appendfile, outf, appendfile))
2287 comparelist.append((None, outf, appendfile))
2297 comparelist.append((destfp, outf, destfp))
/openbmc/linux/drivers/gpu/drm/tegra/
H A Ddc.c130 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()