Home
last modified time | relevance | path

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

12345678

/arch/mips/pnx8550/common/
Dproc.c34 len += sprintf(&page[len], "Timer: count, compare, tc, status\n"); in pnx8550_timers_read()
35 len += sprintf(&page[len], " 1: %11i, %8i, %1i, %s\n", in pnx8550_timers_read()
38 len += sprintf(&page[len], " 2: %11i, %8i, %1i, %s\n", in pnx8550_timers_read()
41 len += sprintf(&page[len], " 3: %11i, %8i, %1i, %s\n", in pnx8550_timers_read()
54 len += sprintf(&page[len], "config1: %#10.8x\n", read_c0_config1()); in pnx8550_registers_read()
55 len += sprintf(&page[len], "config2: %#10.8x\n", read_c0_config2()); in pnx8550_registers_read()
56 len += sprintf(&page[len], "config3: %#10.8x\n", read_c0_config3()); in pnx8550_registers_read()
57 len += sprintf(&page[len], "configPR: %#10.8x\n", read_c0_config7()); in pnx8550_registers_read()
58 len += sprintf(&page[len], "status: %#10.8x\n", read_c0_status()); in pnx8550_registers_read()
59 len += sprintf(&page[len], "cause: %#10.8x\n", read_c0_cause()); in pnx8550_registers_read()
[all …]
/arch/s390/kernel/
Dsysinfo.c44 len += sprintf(page + len, "Manufacturer: %-16.16s\n", in stsi_1_1_1()
46 len += sprintf(page + len, "Type: %-4.4s\n", in stsi_1_1_1()
56 len += sprintf(page + len, in stsi_1_1_1()
60 len += sprintf(page + len, "Model: %-16.16s\n", in stsi_1_1_1()
62 len += sprintf(page + len, "Sequence Code: %-16.16s\n", in stsi_1_1_1()
64 len += sprintf(page + len, "Plant: %-4.4s\n", in stsi_1_1_1()
66 len += sprintf(page + len, "Model Capacity: %-16.16s %08u\n", in stsi_1_1_1()
69 len += sprintf(page + len, in stsi_1_1_1()
74 len += sprintf(page + len, in stsi_1_1_1()
79 len += sprintf(page + len, in stsi_1_1_1()
[all …]
Dtime.c1147 return sprintf(buf, "%i\n", etr_port0.esw.p); in etr_stepping_port_show()
1164 return sprintf(buf, "%s\n", mode_str); in etr_stepping_mode_show()
1187 return sprintf(buf, "%i\n", online); in etr_online_show()
1234 return sprintf(buf, "%i\n", (dev == &etr_port0_dev) ? in etr_stepping_control_show()
1246 return sprintf(buf, "%i\n", (dev == &etr_port0_dev) ? in etr_mode_code_show()
1259 return sprintf(buf, "%i\n", aib->edf1.u); in etr_untuned_show()
1271 return sprintf(buf, "%i\n", aib->edf1.net_id); in etr_network_id_show()
1283 return sprintf(buf, "%i\n", aib->edf1.etr_id); in etr_id_show()
1295 return sprintf(buf, "%i\n", aib->edf1.etr_pn); in etr_port_number_show()
1307 return sprintf(buf, "%i\n", aib->edf3.c); in etr_coupled_show()
[all …]
Dtopology.c376 count = sprintf(buf, "%d\n", cpu_management); in dispatching_show()
420 count = sprintf(buf, "horizontal\n"); in cpu_polarization_show()
423 count = sprintf(buf, "vertical:low\n"); in cpu_polarization_show()
426 count = sprintf(buf, "vertical:medium\n"); in cpu_polarization_show()
429 count = sprintf(buf, "vertical:high\n"); in cpu_polarization_show()
432 count = sprintf(buf, "unknown\n"); in cpu_polarization_show()
/arch/mips/kernel/
Dsmtc-proc.c45 len = sprintf(page, "SMTC Status Word: 0x%08x\n", smtc_status); in proc_read_smtc()
48 len = sprintf(page, "Config7: 0x%08x\n", read_c0_config7()); in proc_read_smtc()
51 len = sprintf(page, "EBASE: 0x%08lx\n", ebase); in proc_read_smtc()
54 len = sprintf(page, "Counter Interrupts taken per CPU (TC)\n"); in proc_read_smtc()
58 len = sprintf(page, "%d: %ld\n", i, smtc_cpu_stats[i].timerints); in proc_read_smtc()
62 len = sprintf(page, "Self-IPIs by CPU:\n"); in proc_read_smtc()
66 len = sprintf(page, "%d: %ld\n", i, smtc_cpu_stats[i].selfipis); in proc_read_smtc()
70 len = sprintf(page, "%d Recoveries of \"stolen\" FPU\n", in proc_read_smtc()
/arch/ia64/kernel/
Dpalinfo.c133 p += sprintf(p, "%d%s ", 1 << (i-j*10), units[j]); in bitvector_process()
166 p += sprintf(p, "%d-%d ", begin, i-1); in bitregister_process()
168 p += sprintf(p, "%d ", i-1); in bitregister_process()
179 p += sprintf(p, "%d-127", begin); in bitregister_process()
181 p += sprintf(p, "127"); in bitregister_process()
201 p += sprintf(p, "Power level %d:\n" in power_info()
211 p += sprintf(p,"Power level %d: not implemented\n",i); in power_info()
231 p += sprintf(p, "Cache levels : %ld\nUnique caches : %ld\n\n", levels, unique_caches); in cache_info()
241 p += sprintf(p, in cache_info()
248 if (cci.pcci_unified) p += sprintf(p, "Unified "); in cache_info()
[all …]
Dtopology.c188 return sprintf(buf, "%u\n", 1 << this_leaf->cci.pcci_line_size); in show_coherency_line_size()
194 return sprintf(buf, "%u\n", this_leaf->cci.pcci_assoc); in show_ways_of_associativity()
199 return sprintf(buf, in show_attributes()
206 return sprintf(buf, "%uK\n", this_leaf->cci.pcci_cache_size / 1024); in show_size()
215 return sprintf(buf, "%u\n", number_of_sets); in show_number_of_sets()
226 len += sprintf(buf+len, "\n"); in show_shared_cpu_map()
233 return sprintf(buf, "%s\n", cache_types[type]); in show_type()
238 return sprintf(buf, "%u\n", this_leaf->level); in show_level()
Dtraps.c414 sprintf(buf, "IA-64 Illegal operation fault"); in ia64_illegal_op_fault()
461 sprintf(buf, "General Exception: %s%s", reason[code], in ia64_fault()
479 sprintf(buf, "Disabled FPL fault---not supposed to happen!"); in ia64_fault()
509 sprintf(buf, "NaT consumption"); in ia64_fault()
524 sprintf(buf, "Unsupported data reference"); in ia64_fault()
624 sprintf(buf, "Unimplemented Instruction Address fault"); in ia64_fault()
643 sprintf(buf, "IA-32 Interruption Fault (int 0x%lx)", isr >> 16); in ia64_fault()
647 sprintf(buf, "Fault %lu", vector); in ia64_fault()
/arch/mips/sibyte/sb1250/
Dbus_watcher.c106 len = sprintf(page, "SiByte Bus Watcher statistics\n"); in bw_print_buffer()
107 len += sprintf(page+len, "-----------------------------\n"); in bw_print_buffer()
108 len += sprintf(page+len, "L2-d-cor %8ld\nL2-d-bad %8ld\n", in bw_print_buffer()
110 len += sprintf(page+len, "L2-t-cor %8ld\nL2-t-bad %8ld\n", in bw_print_buffer()
112 len += sprintf(page+len, "MC-d-cor %8ld\nMC-d-bad %8ld\n", in bw_print_buffer()
114 len += sprintf(page+len, "IO-err %8ld\n", stats->bus_error); in bw_print_buffer()
115 len += sprintf(page+len, "\nLast recorded signature:\n"); in bw_print_buffer()
116 len += sprintf(page+len, "Request %02x from %d, answered by %d with Dcode %d\n", in bw_print_buffer()
124 len += sprintf(page+len, "Multiple errors observed since last check.\n"); in bw_print_buffer()
126 len += sprintf(page+len, "(no change since last printing)\n"); in bw_print_buffer()
/arch/sparc/kernel/
Dprom_64.c84 sprintf(tmp_buf, "%s@%x,%x", in sun4v_path_component()
99 sprintf(tmp_buf, "%s@%s%x,%x", in sun4v_path_component()
103 sprintf(tmp_buf, "%s@%s%x", in sun4v_path_component()
108 sprintf(tmp_buf, "%s@%x", in sun4v_path_component()
124 sprintf(tmp_buf, "%s@%x,%x", in sun4u_path_component()
140 sprintf(tmp_buf, "%s@%x,%x", in sun4u_path_component()
158 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component()
178 sprintf(tmp_buf, "%s@%x,%x", in pci_path_component()
183 sprintf(tmp_buf, "%s@%x", in pci_path_component()
205 sprintf(tmp_buf, "%s@%x,%x", in upa_path_component()
[all …]
Dprom_32.c71 sprintf(tmp_buf, "%s@%x,%x", in sparc32_path_component()
87 sprintf(tmp_buf, "%s@%x,%x", in sbus_path_component()
107 sprintf(tmp_buf, "%s@%x,%x", in pci_path_component()
112 sprintf(tmp_buf, "%s@%x", in pci_path_component()
130 sprintf(tmp_buf, "%s@%x,%x", in ebus_path_component()
170 sprintf(tmp_buf, "%s:%d:%d@%x,%x", in ambapp_path_component()
/arch/cris/arch-v32/kernel/
Dfasttimer.c501 used += sprintf(bigbuf + used, "Fast timers added: %i\n", in proc_fasttimer_read()
503 used += sprintf(bigbuf + used, "Fast timers started: %i\n", in proc_fasttimer_read()
505 used += sprintf(bigbuf + used, "Fast timer interrupts: %i\n", in proc_fasttimer_read()
507 used += sprintf(bigbuf + used, "Fast timers expired: %i\n", in proc_fasttimer_read()
509 used += sprintf(bigbuf + used, "Fast timers deleted: %i\n", in proc_fasttimer_read()
511 used += sprintf(bigbuf + used, "Fast timer running: %s\n", in proc_fasttimer_read()
513 used += sprintf(bigbuf + used, "Current time: %lu.%06lu\n", in proc_fasttimer_read()
517 used += sprintf(bigbuf + used, "Sanity failed: %i\n", in proc_fasttimer_read()
520 used += sprintf(bigbuf + used, "\n"); in proc_fasttimer_read()
533 used += sprintf(bigbuf + used, debug_log_string[i], in proc_fasttimer_read()
[all …]
/arch/cris/arch-v10/kernel/
Dfasttimer.c528 used += sprintf(bigbuf + used, "Fast timers added: %i\n", in proc_fasttimer_read()
530 used += sprintf(bigbuf + used, "Fast timers started: %i\n", in proc_fasttimer_read()
532 used += sprintf(bigbuf + used, "Fast timer interrupts: %i\n", in proc_fasttimer_read()
534 used += sprintf(bigbuf + used, "Fast timers expired: %i\n", in proc_fasttimer_read()
536 used += sprintf(bigbuf + used, "Fast timers deleted: %i\n", in proc_fasttimer_read()
538 used += sprintf(bigbuf + used, "Fast timer running: %s\n", in proc_fasttimer_read()
540 used += sprintf(bigbuf + used, "Current time: %lu.%06lu\n", in proc_fasttimer_read()
544 used += sprintf(bigbuf + used, "Sanity failed: %i\n", in proc_fasttimer_read()
547 used += sprintf(bigbuf + used, "\n"); in proc_fasttimer_read()
562 used += sprintf(bigbuf + used, debug_log_string[i], in proc_fasttimer_read()
[all …]
/arch/avr32/boards/merisc/
Dmerisc_sysfs.c25 sprintf(buf, "%s\n", merisc_model()); in merisc_model_show()
35 sprintf(buf, "%s\n", merisc_revision()); in merisc_revision_show()
/arch/arm/mach-bcmring/
Ddma.c92 sprintf(buf + len, "%d:%d ", controllerIdx, in dma_proc_read_channels()
98 sprintf(buf + len, "Dedicated for %s ", in dma_proc_read_channels()
102 len += sprintf(buf + len, "Shared "); in dma_proc_read_channels()
106 len += sprintf(buf + len, "No ISR "); in dma_proc_read_channels()
110 len += sprintf(buf + len, "Fifo: 128 "); in dma_proc_read_channels()
112 len += sprintf(buf + len, "Fifo: 64 "); in dma_proc_read_channels()
117 sprintf(buf + len, "InUse by %s", in dma_proc_read_channels()
122 sprintf(buf + len, " (%s:%d)", in dma_proc_read_channels()
127 len += sprintf(buf + len, "Avail "); in dma_proc_read_channels()
132 sprintf(buf + len, "Last use: %s ", in dma_proc_read_channels()
[all …]
/arch/parisc/kernel/
Dpdc_chassis.c262 …out += sprintf(out, "Chassis component failure! (eg fan or PSU): 0x%.2x\n", ((warnreg >> 24) & 0xF… in pdc_chassis_warn_pread()
264 out += sprintf(out, "Battery: %s\n", (warnreg & 0x04) ? "Low!" : "OK"); in pdc_chassis_warn_pread()
265 out += sprintf(out, "Temp low: %s\n", (warnreg & 0x02) ? "Exceeded!" : "OK"); in pdc_chassis_warn_pread()
266 out += sprintf(out, "Temp mid: %s\n", (warnreg & 0x01) ? "Exceeded!" : "OK"); in pdc_chassis_warn_pread()
/arch/mips/alchemy/devboards/
Dpm.c129 return sprintf(buf, "%lu\n", db1x_pm_sleep_secs); in db1x_pmattr_show()
132 return sprintf(buf, "%u\n", in db1x_pmattr_show()
136 return sprintf(buf, "%lu\n", db1x_pm_last_wakesrc); in db1x_pmattr_show()
142 return sprintf(buf, "%d\n", in db1x_pmattr_show()
146 return sprintf(buf, "%08lx\n", db1x_pm_wakemsk); in db1x_pmattr_show()
/arch/mips/cavium-octeon/executive/
Docteon-model.c108 sprintf(pass, "%d.%d", (int)((chip_id >> 3) & 7) + 1, (int)chip_id & 7); in octeon_model_get_string_buffer()
392 sprintf(fuse_model, "%d%c", model, 'A' + suffix - 1); in octeon_model_get_string_buffer()
397 sprintf(fuse_model, "%s%c", core_model, 'A' + suffix - 1); in octeon_model_get_string_buffer()
401 sprintf(fuse_model, "%d", model); in octeon_model_get_string_buffer()
407 sprintf(buffer, "CN%s%sp%s-%d-%s", family, core_model, pass, clock_mhz, suffix); in octeon_model_get_string_buffer()
/arch/arm/mach-omap2/
Di2c.c45 sprintf(mux_name, "i2c%i_scl.i2c%i_scl", bus_id, bus_id); in omap2_i2c_mux_pins()
47 sprintf(mux_name, "i2c%i_sda.i2c%i_sda", bus_id, bus_id); in omap2_i2c_mux_pins()
/arch/alpha/kernel/
Derr_marvel.c259 sprintf(starvation_message, in marvel_print_po7_uncrr_sym()
263 sprintf(starvation_message, in marvel_print_po7_uncrr_sym()
295 sprintf(opcode_str, "Wr32"); in marvel_print_po7_ugbge_sym()
298 sprintf(opcode_str, "WrQW"); in marvel_print_po7_ugbge_sym()
301 sprintf(opcode_str, "WrIPR"); in marvel_print_po7_ugbge_sym()
304 sprintf(opcode_str, "Victim"); in marvel_print_po7_ugbge_sym()
307 sprintf(opcode_str, "BlkIO"); in marvel_print_po7_ugbge_sym()
310 sprintf(opcode_str, "0x%llx\n", in marvel_print_po7_ugbge_sym()
564 sprintf(message, "Normal completion"); in marvel_print_pox_spl_cmplt()
567 sprintf(message, "Bridge - Master Abort"); in marvel_print_pox_spl_cmplt()
[all …]
/arch/sh/drivers/dma/
Ddma-sysfs.c39 len += sprintf(buf + len, "%2d: %14s %s\n", in dma_show_devices()
65 return sprintf(buf, "%s\n", channel->dev_id); in dma_show_dev_id()
98 return sprintf(buf, "0x%08x\n", channel->mode); in dma_show_mode()
117 return sprintf(buf, fmt, channel->field); \
/arch/arm/kernel/
Dswp_emulate.c88 p += sprintf(p, "Emulated SWP:\t\t%lu\n", swpcounter); in proc_read_status()
89 p += sprintf(p, "Emulated SWPB:\t\t%lu\n", swpbcounter); in proc_read_status()
90 p += sprintf(p, "Aborted SWP{B}:\t\t%lu\n", abtcounter); in proc_read_status()
92 p += sprintf(p, "Last process:\t\t%d\n", previous_pid); in proc_read_status()
/arch/ia64/sn/kernel/sn2/
Dprominfo_proc.c109 return sprintf(page, "%02x %-25s %x.%02x %016lx %u\n", in dump_fit_entry()
161 len = sprintf(page, "%x.%02x\n", FIT_MAJOR(fentry[1]), in dump_version()
244 sprintf(name, "node%d", cnodeid); in prominfo_init()
267 sprintf(name, "node%d", cnodeid); in prominfo_exit()
/arch/arm/mach-ux500/
Dcpu.c98 return sprintf(buf, "Standard\n"); in ux500_get_process()
100 return sprintf(buf, "%02xnm\n", dbx500_id.process); in ux500_get_process()
/arch/unicore32/kernel/
Dtraps.c93 sprintf(str + i * 9, " %08lx", val); in dump_mem()
95 sprintf(str + i * 9, " ????????"); in dump_mem()
126 p += sprintf(p, i == 0 ? "(%0*x) " : "%0*x ", in dump_instr()
129 p += sprintf(p, "bad PC value"); in dump_instr()

12345678