Home
last modified time | relevance | path

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

12345678910>>...129

/openbmc/qemu/scripts/
H A Dmeson-buildoptions.sh3 printf "%s\n" ' --audio-drv-list=CHOICES Set audio driver list [default] (choices: alsa/co'
4 printf "%s\n" ' reaudio/default/dsound/jack/oss/pa/pipewire/sdl/s'
5 printf "%s\n" ' ndio)'
6 printf "%s\n" ' --bindir=VALUE Executable directory [bin]'
7 printf "%s\n" ' --block-drv-ro-whitelist=VALUE'
8 printf "%s\n" ' set block driver read-only whitelist (by default'
9 printf "%s\n" ' affects only QEMU, not tools like qemu-img)'
10 printf "%s\n" ' --block-drv-rw-whitelist=VALUE'
11 printf "%s\n" ' set block driver read-write whitelist (by default'
12 printf "%s\n" ' affects only QEMU, not tools like qemu-img)'
[all …]
/openbmc/linux/tools/testing/selftests/cpufreq/
H A Dmodule.sh21 printf "** Test: Running ${FUNCNAME[0]} **\n\n"
23 printf "Inserting $1 module\n"
27 printf "Insmod $1 failed\n"
31 printf "Removing $1 module\n"
35 printf "rmmod $1 failed\n"
39 printf "\n"
47 printf "** Test: Running ${FUNCNAME[0]} for driver $1 and cpus_hotplug=$2 **\n\n"
52 printf "\n"
56 printf "Inserting $1 module\n\n"
59 printf "Insmod $1 failed\n"
[all …]
H A Dcpufreq.sh18 printf "Warning: No cpufreq directory present for $1\n"
25 printf "Warning: cpufreq directory present for $1\n"
50 printf "Printing directory: $1\n\n"
54 printf "$file:"
57 printf "\n"
61 printf "\n"
67 printf "** Test: Running ${FUNCNAME[0]} **\n\n"
71 printf "%s\n\n" "------------------------------------------------"
82 printf "Updating directory: $1\n\n"
94 printf "Writing $val to: $file\n"
[all …]
/openbmc/linux/lib/raid6/
H A Dmktables.c59 printf("#ifdef __KERNEL__\n"); in main()
60 printf("#include <linux/export.h>\n"); in main()
61 printf("#endif\n"); in main()
62 printf("#include <linux/raid/pq.h>\n"); in main()
65 printf("\nconst u8 __attribute__((aligned(256)))\n" in main()
69 printf("\t{\n"); in main()
71 printf("\t\t"); in main()
73 printf("0x%02x,%c", gfmul(i, j + k), in main()
76 printf("\t},\n"); in main()
78 printf("};\n"); in main()
[all …]
/openbmc/u-boot/examples/api/
H A Ddemo.c14 #define errf(fmt, args...) do { printf("ERROR @ %s(): ", __func__); printf(fmt, ##args); } while (0)
45 printf("API signature found @%x\n", (unsigned int)sig); in main()
48 printf("\n*** Consumer API test ***\n"); in main()
49 printf("syscall ptr 0x%08x@%08x\n", (unsigned int)syscall_ptr, in main()
55 printf("*** Press any key to continue ***\n"); in main()
56 printf("got char 0x%x\n", ub_getc()); in main()
62 printf("\n*** Timing - wait a couple of secs ***\n"); in main()
64 printf("\ntime: start %lu\n\n", start); in main()
71 printf("\ntime: now %lu\n\n", now); in main()
74 printf("\n*** Enumerate devices ***\n"); in main()
[all …]
/openbmc/u-boot/lib/dhry/
H A Ddhry_1.c54 printf("%ld loops\n", Run_Index); in report()
143 printf ("\n"); in dhry()
144 printf ("Dhrystone Benchmark, Version 2.1 (Language: C)\n"); in dhry()
145 printf ("\n"); in dhry()
148 printf ("Program compiled with 'register' attribute\n"); in dhry()
149 printf ("\n"); in dhry()
153 printf ("Program compiled without 'register' attribute\n"); in dhry()
154 printf ("\n"); in dhry()
156 printf ("Please give the number of runs through the benchmark: "); in dhry()
162 printf ("\n"); in dhry()
[all …]
/openbmc/u-boot/cmd/aspeed/
H A Ddptest.h158 #define PRINT_RATE_1_62 printf("DP Rate 1.62 Gbps !\n")
159 #define PRINT_RATE_2_70 printf("DP Rate 2.70 Gbps !\n")
160 #define PRINT_RATE_5_40 printf("DP Rate 5.40 Gbps !\n")
162 #define PRINT_SWING_0 printf("DP Swing Level 0!\n")
163 #define PRINT_SWING_1 printf("DP Swing Level 1!\n")
164 #define PRINT_SWING_2 printf("DP Swing Level 2!\n")
166 #define PRINT_DEEMP_0 printf("DP Pre - Emphasis Level 0!\n")
167 #define PRINT_DEEMP_1 printf("DP Pre - Emphasis Level 1!\n")
168 #define PRINT_DEEMP_2 printf("DP Pre - Emphasis Level 2!\n")
170 #define PRINT_EMPVAL_0 printf("DP Pre - Emphasis Level 0 !\n")
[all …]
/openbmc/ipmitool/lib/
H A Ddimm_spd.c787 printf(" Memory Type : %s\n", in ipmi_spd_print()
809 printf(" SDRAM Capacity : %d MB\n", sdram_cap ); in ipmi_spd_print()
810 printf(" Memory Banks : %s\n", val2str(spd_data[4]>>4, ddr3_banks_vals)); in ipmi_spd_print()
811 printf(" Primary Bus Width : %d bits\n", pri_bus_width ); in ipmi_spd_print()
812 printf(" SDRAM Device Width : %d bits\n", sdram_width ); in ipmi_spd_print()
813 printf(" Number of Ranks : %d\n", ranks ); in ipmi_spd_print()
814 printf(" Memory size : %d MB\n", mem_size ); in ipmi_spd_print()
817 printf(" 1.5 V Nominal Op : %s\n", (((spd_data[6]&1) != 0) ? "No":"Yes" ) ); in ipmi_spd_print()
818 printf(" 1.35 V Nominal Op : %s\n", (((spd_data[6]&2) != 0) ? "No":"Yes" ) ); in ipmi_spd_print()
819 printf(" 1.2X V Nominal Op : %s\n", (((spd_data[6]&4) != 0) ? "No":"Yes" ) ); in ipmi_spd_print()
[all …]
H A Dipmi_chassis.c81 printf("Chassis Power is %s\n", ps ? "on" : "off"); in ipmi_chassis_print_power_status()
111 printf("Chassis Power Control: %s\n", in ipmi_chassis_power_control()
178 printf("Chassis identify interval: "); in ipmi_chassis_identify()
180 printf("default (15 seconds)\n"); in ipmi_chassis_identify()
183 printf("indefinite\n"); in ipmi_chassis_identify()
186 printf("off\n"); in ipmi_chassis_identify()
188 printf("%i seconds\n", identify_data.interval); in ipmi_chassis_identify()
232 printf("POH Counter : %i days, %i hours, %li minutes\n", in ipmi_chassis_poh()
235 printf("POH Counter : %i days, %i hours\n", days, hours); in ipmi_chassis_poh()
262 printf("System restart cause: "); in ipmi_chassis_restart_cause()
[all …]
/openbmc/linux/arch/arm/tools/
H A Dgen-mach-types26 printf("/*\n");
27 printf(" * This was automagically generated from %s!\n", FILENAME);
28 printf(" * Do NOT edit\n");
29 printf(" */\n\n");
30 printf("#ifndef __ASM_ARM_MACH_TYPE_H\n");
31 printf("#define __ASM_ARM_MACH_TYPE_H\n\n");
32 printf("#ifndef __ASSEMBLY__\n");
33 printf("/* The type of machine we're running on */\n");
34 printf("extern unsigned int __machine_arch_type;\n");
35 printf("#endif\n\n");
[all …]
/openbmc/ipmitool/src/plugins/lanplus/
H A Dlanplus_dump.c49 printf("%sOPEN SESSION RESPONSE\n", DUMP_PREFIX_INCOMING); in lanplus_dump_open_session_response()
51 printf("%s Message tag : 0x%02x\n", in lanplus_dump_open_session_response()
54 printf("%s RMCP+ status : %s\n", in lanplus_dump_open_session_response()
58 printf("%s Maximum privilege level : %s\n", in lanplus_dump_open_session_response()
62 printf("%s Console Session ID : 0x%08lx\n", in lanplus_dump_open_session_response()
71 printf("%s BMC Session ID : 0x%08lx\n", in lanplus_dump_open_session_response()
74 printf("%s Negotiated authenticatin algorithm : %s\n", in lanplus_dump_open_session_response()
78 printf("%s Negotiated integrity algorithm : %s\n", in lanplus_dump_open_session_response()
82 printf("%s Negotiated encryption algorithm : %s\n", in lanplus_dump_open_session_response()
86 printf("\n"); in lanplus_dump_open_session_response()
[all …]
/openbmc/u-boot/arch/arm/mach-aspeed/ast2600/
H A Dscu_info.c46 printf("UnKnow-SOC: %llx\n", rev_id); in aspeed_print_soc_id()
48 printf("SOC: %4s \n",soc_map_table[i].name); in aspeed_print_soc_id()
101 printf("Secure Boot: "); in aspeed_print_security_info()
106 printf("Mode_2, "); in aspeed_print_security_info()
109 printf("AES_"); in aspeed_print_security_info()
113 printf("RSA1024_"); in aspeed_print_security_info()
116 printf("RSA2048_"); in aspeed_print_security_info()
119 printf("RSA3072_"); in aspeed_print_security_info()
122 printf("RSA4096_"); in aspeed_print_security_info()
127 printf("SHA224\n"); in aspeed_print_security_info()
[all …]
/openbmc/linux/tools/testing/selftests/watchdog/
H A Dwatchdog-test.c60 printf("."); in keep_alive()
74 printf("\nStopping watchdog ticks failed (%d)...\n", errno); in term()
76 printf("\nStopping watchdog ticks...\n"); in term()
82 printf("Usage: %s [options]\n", progname); in usage()
83 printf(" -f, --file\t\tOpen watchdog device file\n"); in usage()
84 printf("\t\t\tDefault is /dev/watchdog\n"); in usage()
85 printf(" -i, --info\t\tShow watchdog_info\n"); in usage()
86 printf(" -s, --status\t\tGet status & supported features\n"); in usage()
87 printf(" -b, --bootstatus\tGet last boot status (Watchdog/POR)\n"); in usage()
88 printf(" -d, --disable\t\tTurn off the watchdog timer\n"); in usage()
[all …]
/openbmc/openpower-debug-collector/dump/tools/common/include/
H A Dgendumpheader50 printf '%*s' $a | tr ' ' "\0" >> $FILE
62 printf \\x${dDay:$i:2} >> $FILE
75 printf -v hex "%x" "$sizeDump"
86 printf \\x${hex:$i:2} >> $FILE
100 printf "\\x${dump_id:$i:2}" >> "$FILE"
104 printf '%*s' "$nulltoadd" | tr ' ' "0" >> "$FILE"
105 printf "%s" "$dump_id" >> "$FILE"
113 printf $bmcSerialNo >> $FILE
114 printf '%*s' $nulltoadd | tr ' ' "0" >> $FILE
122 printf "%s" "$name" >> "$FILE"
[all …]
/openbmc/linux/arch/sh/tools/
H A Dgen-mach-types18 printf("/*\n");
19 printf(" * Automagically generated, don't touch.\n");
20 printf(" */\n");
21 printf("#ifndef __ASM_SH_MACHTYPES_H\n");
22 printf("#define __ASM_SH_MACHTYPES_H\n");
23 printf("\n");
24 printf("/*\n");
25 printf(" * We'll use the following MACH_xxx defs for placeholders for the time\n");
26 printf(" * being .. these will all go away once sh_machtype is assigned per-board.\n");
27 printf(" *\n");
[all …]
/openbmc/u-boot/board/gdsys/common/
H A Dioep-fpga.c99 printf("Mainchannel"); in ioep_fpga_print_info()
104 printf("Videochannel"); in ioep_fpga_print_info()
108 printf("UnitType %d(not supported)", unit_type); in ioep_fpga_print_info()
115 printf(" Server"); in ioep_fpga_print_info()
117 printf(" UC"); in ioep_fpga_print_info()
122 printf(" User"); in ioep_fpga_print_info()
130 printf(" Fiber"); in ioep_fpga_print_info()
132 printf(" CAT"); in ioep_fpga_print_info()
136 printf(" DVI,"); in ioep_fpga_print_info()
140 printf(" DP 165MPix/s,"); in ioep_fpga_print_info()
[all …]
/openbmc/linux/samples/nitro_enclaves/
H A Dne_ioctl_sample.c173 printf("Error in create VM, no CPUs available in the NE CPU pool\n"); in ne_create_vm()
179 printf("Error in create VM [%m]\n"); in ne_create_vm()
203 printf("Running from poll thread, enclave fd %d\n", enclave_fd); in ne_poll_enclave_fd()
210 printf("[iter %d] Polling ...\n", i); in ne_poll_enclave_fd()
214 printf("Error in poll [%m]\n"); in ne_poll_enclave_fd()
222 printf("Poll: %d seconds elapsed\n", in ne_poll_enclave_fd()
228 printf("Poll received value 0x%x\n", fds[0].revents); in ne_poll_enclave_fd()
231 printf("Received POLLHUP\n"); in ne_poll_enclave_fd()
237 printf("Received POLLNVAL\n"); in ne_poll_enclave_fd()
266 printf("Error in mmap memory [%m]\n"); in ne_alloc_user_mem_region()
[all …]
/openbmc/u-boot/drivers/nvme/
H A Dnvme_show.c16 printf("Blk device %d: Optional Admin Command Support:\n", in print_optional_admin_cmd()
18 printf("\tNamespace Management/Attachment: %s\n", in print_optional_admin_cmd()
20 printf("\tFirmware Commit/Image download: %s\n", in print_optional_admin_cmd()
22 printf("\tFormat NVM: %s\n", in print_optional_admin_cmd()
24 printf("\tSecurity Send/Receive: %s\n", in print_optional_admin_cmd()
30 printf("Blk device %d: Optional NVM Command Support:\n", in print_optional_nvm_cmd()
32 printf("\tReservation: %s\n", in print_optional_nvm_cmd()
34 printf("\tSave/Select field in the Set/Get features: %s\n", in print_optional_nvm_cmd()
36 printf("\tWrite Zeroes: %s\n", in print_optional_nvm_cmd()
38 printf("\tDataset Management: %s\n", in print_optional_nvm_cmd()
[all …]
/openbmc/u-boot/drivers/fpga/
H A Dxilinx.c71 printf(" design filename = \"%s\"\n", dataptr); in fpga_loadbitstream()
76 printf("%s: Part number id not recognized in bitstream\n", in fpga_loadbitstream()
87 printf("%s: Wrong bitstream ID for this device\n", in fpga_loadbitstream()
89 printf("%s: Bitstream ID %s, current device ID %d/%s\n", in fpga_loadbitstream()
94 printf("%s: Please fill correct device ID to xilinx_desc\n", in fpga_loadbitstream()
97 printf(" part number = \"%s\"\n", dataptr); in fpga_loadbitstream()
102 printf("%s: Date identifier not recognized in bitstream\n", in fpga_loadbitstream()
109 printf(" date = \"%s\"\n", dataptr); in fpga_loadbitstream()
114 printf("%s: Time identifier not recognized in bitstream\n", in fpga_loadbitstream()
121 printf(" time = \"%s\"\n", dataptr); in fpga_loadbitstream()
[all …]
/openbmc/linux/tools/power/cpupower/utils/
H A Dcpufreq-info.c32printf(_("Couldn't count the number of CPUs (%s: %s), assuming 1\n"), "/proc/stat", strerror(errno… in count_cpus()
64 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); in proc_cpufreq_output()
78 printf("CPU%3d %9lu kHz (%3d %%) - %9lu kHz (%3d %%) - %s\n", in proc_cpufreq_output()
93 printf("%u.%06u ms", ((unsigned int) duration/1000000), in print_duration()
96 printf("%u us", ((unsigned int) duration/1000)); in print_duration()
98 printf("%u.%03u us", ((unsigned int) duration/1000), in print_duration()
101 printf("%lu ns", duration); in print_duration()
107 printf("%u.%02u ms", ((unsigned int) duration/1000000), in print_duration()
113 printf("%u us", ((unsigned int) duration / 1000)); in print_duration()
118 printf("%u.%01u us", ((unsigned int) duration/1000), in print_duration()
[all …]
/openbmc/qemu/tests/tcg/i386/
H A Dtest-i386-fp-exceptions.c52 printf("FAIL: widen float snan\n"); in main()
59 printf("FAIL: widen double snan\n"); in main()
67 printf("FAIL: narrow float underflow\n"); in main()
74 printf("FAIL: narrow double underflow\n"); in main()
82 printf("FAIL: narrow float overflow\n"); in main()
89 printf("FAIL: narrow double overflow\n"); in main()
97 printf("FAIL: narrow float inexact\n"); in main()
104 printf("FAIL: narrow double inexact\n"); in main()
112 printf("FAIL: narrow float snan\n"); in main()
119 printf("FAIL: narrow double snan\n"); in main()
[all …]
H A Dtest-i386-sse-exceptions.c62 printf("FAIL: widen float snan\n"); in main()
70 printf("FAIL: narrow float underflow\n"); in main()
78 printf("FAIL: narrow float overflow\n"); in main()
86 printf("FAIL: narrow float inexact\n"); in main()
94 printf("FAIL: narrow float snan\n"); in main()
102 printf("FAIL: roundss min\n"); in main()
109 printf("FAIL: roundss no-inexact min\n"); in main()
116 printf("FAIL: roundss snan\n"); in main()
123 printf("FAIL: roundss no-inexact snan\n"); in main()
131 printf("FAIL: roundsd min\n"); in main()
[all …]
/openbmc/u-boot/cmd/
H A Dusb.c63 printf("See Interface"); in usb_display_class_sub()
66 printf("Human Interface, Subclass: "); in usb_display_class_sub()
69 printf("None"); in usb_display_class_sub()
72 printf("Boot "); in usb_display_class_sub()
75 printf("None"); in usb_display_class_sub()
78 printf("Keyboard"); in usb_display_class_sub()
81 printf("Mouse"); in usb_display_class_sub()
84 printf("reserved"); in usb_display_class_sub()
89 printf("reserved"); in usb_display_class_sub()
94 printf("Mass Storage, "); in usb_display_class_sub()
[all …]
/openbmc/u-boot/drivers/ddr/fsl/
H A Dinteractive.c49 printf("%s = 0x%08X\n", in print_option_table()
52 printf("%s = %u\n", in print_option_table()
58 printf("%s = %llu\n", in print_option_table()
62 printf("Unrecognized size!\n"); in print_option_table()
93 printf("Unrecognized size!\n"); in handle_option_table()
112 printf("trying to write past end of data\n"); in fsl_ddr_generic_edit()
127 printf("unexpected element size %u\n", element_size); in fsl_ddr_generic_edit()
206 printf("Error: couldn't find option string %s\n", optname_str); in lowest_common_dimm_parameters_edit()
316 printf("couldn't find option string %s\n", optname_str); in fsl_ddr_dimm_parameters_edit()
411 printf("DIMM not present\n"); in print_dimm_parameters()
[all …]
/openbmc/u-boot/drivers/net/
H A Dmcffec.c104 printf("100Mbps\n"); in setFecDuplexSpeed()
112 printf("10Mbps\n"); in setFecDuplexSpeed()
137 printf("TX not ready\n"); in fec_send()
170 printf("TX timeout\n"); in fec_send()
174 printf("%s[%d] %s: cycles: %d status: %x retry cnt: %d\n", in fec_send()
208 printf("%s[%d] err: %x\n", in fec_recv()
212 printf("%s[%d] err: %x\n", in fec_recv()
251 printf("=====\n"); in dbgFecRegs()
252 printf("ievent %x - %x\n", (int)&fecp->eir, fecp->eir); in dbgFecRegs()
253 printf("imask %x - %x\n", (int)&fecp->eimr, fecp->eimr); in dbgFecRegs()
[all …]

12345678910>>...129