/openbmc/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 79 return outf; in get_output_file() 811 fprintf(outf, "Error: map logical_cpu:%d\n", in create_cpu_map() 1104 fprintf(outf, "Intel(R) SST-PP (feature perf-profile) is supported\n"); in isst_print_extended_platform_info() 1106 fprintf(outf, "Intel(R) SST-PP (feature perf-profile) is not supported\n"); in isst_print_extended_platform_info() 1107 fprintf(outf, "Only performance level 0 (base level) is present\n"); in isst_print_extended_platform_info() 1111 fprintf(outf, "TDP level change control is locked\n"); in isst_print_extended_platform_info() 1113 fprintf(outf, "TDP level change control is unlocked, max level: %d\n", max_level); in isst_print_extended_platform_info() 1116 fprintf(outf, "Intel(R) SST-TF (feature turbo-freq) is supported\n"); in isst_print_extended_platform_info() 1118 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 | 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 …]
|
H A D | isst-core.c | 74 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 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()
|
/openbmc/qemu/linux-user/ |
H A D | gen-vdso.c | 29 static void output_reloc(FILE *outf, void *buf, void *loc) in output_reloc() argument 31 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() 165 fprintf(outf, in main() 172 elf32_process(outf, buf, total_len, need_bswap); in main() 175 elf64_process(outf, buf, total_len, need_bswap); in main() 183 fprintf(outf, "};\n\n"); /* end vdso_relocs. */ in main() 188 fprintf(outf, in main() [all …]
|
H A D | gen-vdso-elfn.c.inc | 109 static void elfN(process)(FILE *outf, void *buf, long len, bool need_bswap) 220 output_reloc(outf, buf, &phdr[i].p_vaddr); 221 output_reloc(outf, buf, &phdr[i].p_paddr); 226 output_reloc(outf, buf, &shdr[i].sh_addr); 252 output_reloc(outf, buf, &target_dyn->d_un.d_val); 334 output_reloc(outf, buf, &target_sym[i].st_value);
|
/openbmc/linux/tools/power/x86/turbostat/ |
H A D | turbostat.c | 210 FILE *outf; variable 719 fprintf(outf, in help() 1416 if (outf == stderr) in flush_output_stdout() 1419 filep = outf; in flush_output_stdout() 1429 fputs(output_buffer, outf); in flush_output_stderr() 1430 fflush(outf); in flush_output_stderr() 1604 fprintf(outf, "cpu%d MPERF 0!\n", old->cpu_id); in delta_thread() 2051 fprintf(outf, "cpu%d: BIOS BUG: apic 0x%x x2apic 0x%x\n", t->cpu_id, t->apic_id, t->x2apic_id); in get_apic_id() 2088 fprintf(outf, "get_counters: Could not migrate to CPU %d\n", cpu); in get_counters() 2435 fprintf(outf, "cpu%d: MSR_PLATFORM_INFO: 0x%08llx\n", base_cpu, msr); in dump_nhm_platform_info() [all …]
|
/openbmc/openbmc/poky/meta/recipes-kernel/perf/perf/ |
H A D | sort-pmuevents.py | 88 outf = open( outfile, 'w' ) variable 91 outf.write( preamble.group(1) ) 93 …outf.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 D | dtc.c | 172 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 D | dtc.c | 176 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 D | logging.cpp | 179 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/u-boot/tools/ |
H A D | proftool.c | 61 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/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()
|
/openbmc/qemu/tests/tcg/i386/ |
H A D | test-mmx.py | 225 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 D | test-avx.py | 357 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 D | engine.py | 436 def write_sfdisk_script(outf, parts): argument 442 outf.write("{}: {}\n".format(key, val)) 443 outf.write("\n") 457 outf.write("{}\n".format(line)) 458 outf.flush() 465 with tempfile.NamedTemporaryFile(prefix="wic-sfdisk-", mode='w') as outf: 466 write_sfdisk_script(outf, parts) 467 cmd = "{} --no-reread {} < {} ".format(self.sfdisk, target, outf.name)
|
/openbmc/openbmc/poky/meta/recipes-core/gettext/ |
H A D | gettext-minimal-native_0.23.1.bb | 29 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 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()
|
/openbmc/linux/arch/mips/boot/tools/ |
H 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()
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/cdparanoia/files/ |
H A D | 0001-utils-Use-c99-compiler-independent-types.patch | 24 extern long buffering_write(int outf, char *buffer, long num);
|
/openbmc/openbmc/poky/bitbake/lib/ply/ |
H A D | yacc.py | 2673 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 D | ppp_generic.c | 480 goto outf; in ppp_read() 486 goto outf; in ppp_read() 489 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()
|
/openbmc/openbmc/poky/scripts/lib/devtool/ |
H A D | standard.py | 2210 outf = os.path.join(root, fn) 2211 relf = os.path.relpath(outf, dry_run_outdir) 2219 outf, 2224 comparelist.append((recipefile, outf, recipefile)) 2228 comparelist.append((appendfile, outf, appendfile)) 2230 comparelist.append((None, outf, appendfile)) 2240 comparelist.append((destfp, outf, destfp))
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H 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()
|