/Linux-v5.15/tools/power/x86/intel-speed-select/ |
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 …]
|
D | isst-config.c | 23 static FILE *outf; variable 77 return outf; in get_output_file() 648 fprintf(outf, "Error: map logical_cpu:%d\n", in create_cpu_map() 756 fprintf(outf, "Error: mmio_cmd cpu:%d reg:%x read_write:%x\n", in isst_send_mmio_command() 888 fprintf(outf, "Error: msr_cmd cpu:%d msr:%x read_write:%d\n", in isst_send_msr_command() 956 fprintf(outf, "Intel(R) SST-PP (feature perf-profile) is supported\n"); in isst_print_extended_platform_info() 958 fprintf(outf, "Intel(R) SST-PP (feature perf-profile) is not supported\n"); in isst_print_extended_platform_info() 959 fprintf(outf, "Only performance level 0 (base level) is present\n"); in isst_print_extended_platform_info() 963 fprintf(outf, "TDP level change control is locked\n"); in isst_print_extended_platform_info() 965 fprintf(outf, "TDP level change control is unlocked, max level: %d \n", pkg_dev.levels); in isst_print_extended_platform_info() [all …]
|
D | isst.h | 209 extern void isst_ctdp_display_information(int cpu, FILE *outf, int tdp_level, 211 extern void isst_ctdp_display_core_info(int cpu, FILE *outf, char *prefix, 213 extern void isst_ctdp_display_information_start(FILE *outf); 214 extern void isst_ctdp_display_information_end(FILE *outf); 215 extern void isst_pbf_display_information(int cpu, FILE *outf, int level, 227 extern void isst_fact_display_information(int cpu, FILE *outf, int level, 242 extern void isst_clos_display_information(int cpu, FILE *outf, int clos, 244 extern void isst_clos_display_assoc_information(int cpu, FILE *outf, int clos); 248 extern void isst_display_result(int cpu, FILE *outf, char *feature, char *cmd, 252 extern void isst_clos_display_clos_information(int cpu, FILE *outf, [all …]
|
/Linux-v5.15/tools/power/x86/turbostat/ |
D | turbostat.c | 41 FILE *outf; variable 700 fprintf(outf, in help() 1369 if (outf == stderr) in flush_output_stdout() 1372 filep = outf; in flush_output_stdout() 1382 fputs(output_buffer, outf); in flush_output_stderr() 1383 fflush(outf); in flush_output_stderr() 1555 fprintf(outf, "cpu%d MPERF 0!\n", old->cpu_id); in delta_thread() 1987 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() 2004 fprintf(outf, "get_counters: Could not migrate to CPU %d\n", cpu); in get_counters() 2344 fprintf(outf, "cpu%d: MSR_PLATFORM_INFO: 0x%08llx\n", base_cpu, msr); in dump_nhm_platform_info() [all …]
|
/Linux-v5.15/scripts/dtc/ |
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_blob(outf, dti, outversion); in main() 365 dt_to_asm(outf, dti, outversion); in main()
|
/Linux-v5.15/samples/bpf/ |
D | hbm.c | 79 FILE *outf; in read_trace_pipe2() local 91 outf = fopen(outFname, "w"); in read_trace_pipe2() 93 if (outf == NULL) in read_trace_pipe2() 104 if (outf != NULL) { in read_trace_pipe2() 105 fprintf(outf, "%s\n", buf); in read_trace_pipe2() 106 fflush(outf); in read_trace_pipe2()
|
/Linux-v5.15/tools/testing/selftests/powerpc/nx-gzip/ |
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-v5.15/arch/mips/boot/tools/ |
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-v5.15/drivers/net/ppp/ |
D | ppp_generic.c | 476 goto outf; in ppp_read() 482 goto outf; in ppp_read() 485 outf: in ppp_read() 1430 goto outf; in ppp_start_xmit() 1439 goto outf; in ppp_start_xmit() 1442 goto outf; in ppp_start_xmit() 1448 goto outf; in ppp_start_xmit() 1459 outf: in ppp_start_xmit()
|
/Linux-v5.15/drivers/gpu/drm/tegra/ |
D | dc.c | 124 fixed20_12 outf = dfixed_init(out); in compute_dda_inc() local 146 outf.full = max_t(u32, outf.full - dfixed_const(1), dfixed_const(1)); in compute_dda_inc() 149 dda_inc = dfixed_div(inf, outf); in compute_dda_inc()
|