Home
last modified time | relevance | path

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

12345678910>>...176

/linux/drivers/scsi/
A Dnsp32_debug.c137 printk("\n"); in print_commandk()
180 printk(" cmd"); in show_autophase()
183 printk(" din"); in show_autophase()
195 printk(" ill"); in show_autophase()
210 printk(" m0"); in show_autophase()
213 printk(" m2"); in show_autophase()
216 printk(" m3"); in show_autophase()
219 printk(" m4"); in show_autophase()
225 printk("\n"); in show_autophase()
254 printk("\n"); in nsp32_print_register()
[all …]
/linux/arch/mips/math-emu/
A Dieee754d.c26 printk("%s", m); in ieee754dp_dump()
29 printk("\t="); in ieee754dp_dump()
44 printk("%c0.", DPSIGN(x) ? '-' : '+'); in ieee754dp_dump()
47 printk("e%d", DPBEXP(x) - DP_EBIAS); in ieee754dp_dump()
53 printk("e%d", DPBEXP(x) - DP_EBIAS); in ieee754dp_dump()
58 printk("\n"); in ieee754dp_dump()
66 printk("%s=", m); in ieee754sp_dump()
68 printk("\t="); in ieee754sp_dump()
86 printk("e%d", SPBEXP(x) - SP_EBIAS); in ieee754sp_dump()
92 printk("e%d", SPBEXP(x) - SP_EBIAS); in ieee754sp_dump()
[all …]
/linux/drivers/firmware/efi/
A Dcper-arm.c112 printk("%stransaction type: %s\n", pfx, in cper_print_arm_err_info()
123 printk("%soperation type: %s\n", pfx, in cper_print_arm_err_info()
129 printk("%soperation type: %s\n", pfx, in cper_print_arm_err_info()
135 printk("%soperation type: %s\n", pfx, in cper_print_arm_err_info()
150 printk("%sTLB level: %d\n", pfx, level); in cper_print_arm_err_info()
181 printk("%sPC is precise\n", pfx); in cper_print_arm_err_info()
183 printk("%sPC is imprecise\n", pfx); in cper_print_arm_err_info()
210 printk("%srequest timed out\n", pfx); in cper_print_arm_err_info()
217 printk("%saddress space: %s\n", pfx, in cper_print_arm_err_info()
232 printk("%saccess mode: normal\n", pfx); in cper_print_arm_err_info()
[all …]
A Dcper.c96 printk("%s\n", buf); in cper_print_bits()
105 printk("%s\n", buf); in cper_print_bits()
176 printk("%s""target_address: 0x%016llx\n", in cper_print_proc_generic()
179 printk("%s""requestor_id: 0x%016llx\n", in cper_print_proc_generic()
182 printk("%s""responder_id: 0x%016llx\n", in cper_print_proc_generic()
346 printk("%s%s\n", pfx, rcd_decode_str); in cper_print_mem()
353 printk("%s%s\n", pfx, rcd_decode_str); in cper_print_mem()
378 printk("%s""version: %d.%d\n", pfx, in cper_print_pcie()
388 printk("%s""slot: %d\n", pfx, in cper_print_pcie()
401 printk( in cper_print_pcie()
[all …]
/linux/arch/mips/mm/
A Dcerr-sb1.c69 printk(" dcache"); in breakout_errctl()
71 printk(" icache"); in breakout_errctl()
74 printk("\n"); in breakout_errctl()
84 printk(" external"); in breakout_cerri()
85 printk("\n"); in breakout_cerri()
92 printk(" load,"); in breakout_cerrd()
95 printk(" store,"); in breakout_cerrd()
111 printk(" NO TYPE"); in breakout_cerrd()
126 printk("\n"); in breakout_cerrd()
416 printk("\n"); in extract_ic()
[all …]
/linux/arch/alpha/kernel/
A Dcore_wildfire.c31 # define DBG_CFG(args) printk args
471 printk(KERN_ERR "\n"); in wildfire_dump_pci_regs()
498 printk(KERN_ERR "\n"); in wildfire_dump_pca_regs()
521 printk(KERN_ERR "\n"); in wildfire_dump_qsa_regs()
546 printk(KERN_ERR "\n"); in wildfire_dump_qsd_regs()
571 printk(KERN_ERR "\n"); in wildfire_dump_iop_regs()
593 printk(KERN_ERR "\n"); in wildfire_dump_gp_regs()
620 printk("--- "); in wildfire_dump_hardware_config()
623 printk("\n"); in wildfire_dump_hardware_config()
628 printk("--- "); in wildfire_dump_hardware_config()
[all …]
A Derr_marvel.c112 printk("%s Packet In Error: %s\n" in marvel_print_err_cyc()
132 printk("%s Correctable Error Symptoms:\n" in marvel_print_po7_crrct_sym()
190 printk("%s Syndrome: 0x%llx\n", in marvel_print_po7_uncrr_sym()
201 printk("%s Clock %s: %s\n", in marvel_print_po7_uncrr_sym()
229 printk("%s FWD Buffer Overflow\n", in marvel_print_po7_uncrr_sym()
250 printk("%s Error Reported by %s", in marvel_print_po7_uncrr_sym()
316 printk("%s Up Hose Garbage Symptom:\n" in marvel_print_po7_ugbge_sym()
483 printk("%s Failing Packet:\n" in marvel_print_po7_err_sum()
555 printk("%s Split Completion Error:\n" in marvel_print_pox_spl_cmplt()
624 printk("%s Transaction Summary:\n" in marvel_print_pox_trans_sum()
[all …]
A Dcore_mcpcia.c39 # define DBG_CFG(args) printk args
454 printk(" paltmp[%d-%d] = %16lx %16lx\n", in mcpcia_print_uncorrectable()
458 printk(" shadow[%d-%d] = %16lx %16lx\n", in mcpcia_print_uncorrectable()
483 printk(" Data error in bank 1\n"); in mcpcia_print_uncorrectable()
486 printk(" Data error in bank 0\n"); in mcpcia_print_uncorrectable()
489 printk(" Tag error in bank 1\n"); in mcpcia_print_uncorrectable()
492 printk(" Tag error in bank 0\n"); in mcpcia_print_uncorrectable()
555 printk(" WHOAMI = %8x\n", iodpp->whoami); in mcpcia_print_system_area()
556 printk(" PCI_REV = %8x\n", iodpp->pci_rev); in mcpcia_print_system_area()
558 printk(" HAE_MEM = %8x\n", iodpp->hae_mem); in mcpcia_print_system_area()
[all …]
A Derr_titan.c115 printk("%s PChip %d SERROR: %016llx\n", in titan_parse_p_serror()
118 printk("%s %sorrectable ECC Error:\n" in titan_parse_p_serror()
131 printk("%s Lost Uncorrectable ECC Error\n", in titan_parse_p_serror()
232 printk("%s PChip %d %cPERROR: %016llx\n", in titan_parse_p_perror()
259 printk("%s Lost Error\n", err_print_prefix); in titan_parse_p_perror()
260 printk("%s Command: 0x%x - %s\n" in titan_parse_p_perror()
328 printk("%s No Window\n", err_print_prefix); in titan_parse_p_agperror()
443 printk("%s" in titan_machine_check()
550 printk("%s ** Occurred on CPU %d:\n", in el_process_regatta_subpacket()
557 printk("%s ** REGATTA TYPE %d SUBPACKET\n", in el_process_regatta_subpacket()
[all …]
/linux/arch/openrisc/kernel/
A Dtraps.c69 printk("CPU #: %d\n" in show_registers()
99 printk("\nStack: "); in show_registers()
102 printk("\nCode: "); in show_registers()
120 printk("\n"); in show_registers()
131 printk("CPU #: %d\n" in nommu_dump_state()
158 printk("\nStack: "); in nommu_dump_state()
168 printk("\n"); in nommu_dump_state()
178 printk("\n "); in nommu_dump_state()
183 printk("\n"); in nommu_dump_state()
185 printk("\nCode: "); in nommu_dump_state()
[all …]
/linux/arch/powerpc/platforms/44x/
A Dmachine_check.c16 printk("Machine check in kernel mode.\n"); in machine_check_440A()
24 printk("Instruction Read PLB Error\n"); in machine_check_440A()
26 printk("Data Read PLB Error\n"); in machine_check_440A()
28 printk("Data Write PLB Error\n"); in machine_check_440A()
30 printk("TLB Parity Error\n"); in machine_check_440A()
33 printk("I-Cache Parity Error\n"); in machine_check_440A()
36 printk("D-Cache Search Parity Error\n"); in machine_check_440A()
38 printk("D-Cache Flush Parity Error\n"); in machine_check_440A()
68 printk(KERN_ERR "TLB Parity Error\n"); in machine_check_47x()
76 printk(KERN_ERR "GPR Parity Error\n"); in machine_check_47x()
[all …]
/linux/arch/mips/kernel/
A Dmips-mt.c64 printk("=== MIPS MT State Dump ===\n"); in mips_mt_regdump()
65 printk("-- Global State --\n"); in mips_mt_regdump()
71 printk("-- per-VPE State --\n"); in mips_mt_regdump()
76 printk(" VPE %d\n", i); in mips_mt_regdump()
77 printk(" VPEControl : %08lx\n", in mips_mt_regdump()
79 printk(" VPEConf0 : %08lx\n", in mips_mt_regdump()
81 printk(" VPE%d.Status : %08lx\n", in mips_mt_regdump()
86 printk(" VPE%d.Cause : %08lx\n", in mips_mt_regdump()
94 printk("-- per-TC State --\n"); in mips_mt_regdump()
106 printk(" TC %d\n", tc); in mips_mt_regdump()
[all …]
/linux/drivers/scsi/pcmcia/
A Dnsp_debug.c77 printk("%s[%02x] ", vendor, opcode); in print_opcodek()
83 printk("%s[%02x] ", unknown, opcode); in print_opcodek()
91 printk(KERN_DEBUG); in print_commandk()
101 printk("%02x ", command[i]); in print_commandk()
106 printk("LBA=%d len=%d", in print_commandk()
114 printk("LBA=%d len=%d", in print_commandk()
124 printk("LBA=%d len=%d", in print_commandk()
138 printk("\n"); in print_commandk()
208 printk(KERN_DEBUG "msg:"); in show_message()
210 printk(" %02x", data->MsgBuffer[i]); in show_message()
[all …]
/linux/fs/jffs2/
A Ddebug.c413 printk(JFFS2_DBG); in __jffs2_dbg_dump_node_refs_nolock()
415 printk("%#08x", ref_offset(ref)); in __jffs2_dbg_dump_node_refs_nolock()
417 printk("(%x)", ref->__totlen); in __jffs2_dbg_dump_node_refs_nolock()
420 printk("->"); in __jffs2_dbg_dump_node_refs_nolock()
425 printk("\n" JFFS2_DBG); in __jffs2_dbg_dump_node_refs_nolock()
428 printk("\n"); in __jffs2_dbg_dump_node_refs_nolock()
748 printk(JFFS2_DBG "%#08x: ", offs); in __jffs2_dbg_dump_buffer()
751 printk(" "); in __jffs2_dbg_dump_buffer()
756 printk("\n"); in __jffs2_dbg_dump_buffer()
761 printk("%02x ", buf[i]); in __jffs2_dbg_dump_buffer()
[all …]
/linux/arch/x86/kernel/
A Dnmi_selftest.c123 printk(KERN_CONT "FAILED |"); in dotest()
125 printk(KERN_CONT "TIMEOUT|"); in dotest()
127 printk(KERN_CONT "ERROR |"); in dotest()
131 printk(KERN_CONT " ok |"); in dotest()
140 printk("%12s:", testname); in print_testname()
150 printk("----------------\n"); in nmi_selftest()
151 printk("| NMI testsuite:\n"); in nmi_selftest()
152 printk("--------------------\n"); in nmi_selftest()
156 printk(KERN_CONT "\n"); in nmi_selftest()
159 printk(KERN_CONT "\n"); in nmi_selftest()
[all …]
/linux/drivers/mtd/chips/
A Dcfi_probe.c101 printk(KERN_NOTICE in cfi_probe_chip()
107 printk(KERN_NOTICE in cfi_probe_chip()
343 printk("Invalid CFI ident structure.\n"); in print_cfi_ident()
351 printk("No Primary Algorithm Table\n"); in print_cfi_ident()
357 printk("No Alternate Algorithm Table\n"); in print_cfi_ident()
367 printk("No Vpp line\n"); in print_cfi_ident()
377 printk("Full buffer write not supported\n"); in print_cfi_ident()
386 printk("Chip erase not supported\n"); in print_cfi_ident()
392 printk(" - x8-only asynchronous interface\n"); in print_cfi_ident()
412 printk(" - Not Allowed / Reserved\n"); in print_cfi_ident()
[all …]
/linux/drivers/scsi/qla4xxx/
A Dql4_dbg.c22 printk("%02x", *c); in qla4xxx_dump_buffer()
24 printk("\n"); in qla4xxx_dump_buffer()
27 printk(" "); in qla4xxx_dump_buffer()
29 printk(KERN_INFO "\n"); in qla4xxx_dump_buffer()
38 printk(KERN_INFO "mailbox[%d] = 0x%08X\n", in qla4xxx_dump_registers()
44 printk(KERN_INFO "0x%02X mailbox[%d] = 0x%08X\n", in qla4xxx_dump_registers()
60 printk(KERN_INFO "0x%02X nvram = 0x%08X\n", in qla4xxx_dump_registers()
64 printk(KERN_INFO "0x%02X intr_mask = 0x%08X\n", in qla4xxx_dump_registers()
70 printk(KERN_INFO "0x%02X semaphore = 0x%08X\n", in qla4xxx_dump_registers()
104 printk(KERN_INFO "Page 0 Registers:\n"); in qla4xxx_dump_registers()
[all …]
/linux/include/linux/
A Dparport_pc.h94 if (ecr & 0x08) printk (",dmaEn"); in dump_parport_state()
96 if (ecr & 0x02) printk (",f_full"); in dump_parport_state()
103 printk ("rev"); in dump_parport_state()
105 printk ("fwd"); in dump_parport_state()
113 printk ("] dsr=["); in dump_parport_state()
114 if (!(dsr & 0x80)) printk ("BUSY"); in dump_parport_state()
115 if (dsr & 0x40) printk (",N-ACK"); in dump_parport_state()
116 if (dsr & 0x20) printk (",PERROR"); in dump_parport_state()
117 if (dsr & 0x10) printk (",SELECT"); in dump_parport_state()
119 printk ("]\n"); in dump_parport_state()
[all …]
/linux/Documentation/translations/zh_CN/core-api/
A Dprintk-basics.rst4 :Original: Documentation/core-api/printk-basics.rst
13 使用printk记录消息
16 printk()是Linux内核中最广为人知的函数之一。它是我们打印消息的标准工具,通常也是追踪和调试
20 - printk() 消息可以指定日志级别。
23 有 ``%n`` 或浮点转换指定符)。参见:ref: `如何正确地获得printk格式指定符<printk-specifiers>` 。
28 printk()的用法通常是这样的::
30 printk(KERN_INFO "Message: %s\n", arg);
69 $ cat /proc/sys/kernel/printk
77 # echo 8 > /proc/sys/kernel/printk
110 kernel/printk/printk.c
[all …]
/linux/drivers/media/pci/saa7164/
A Dsaa7164-fw.c244 printk(KERN_ERR in saa7164_downloadfirmware()
252 printk(KERN_ERR in saa7164_downloadfirmware()
260 printk(KERN_ERR in saa7164_downloadfirmware()
286 printk(KERN_ERR in saa7164_downloadfirmware()
292 printk(KERN_ERR in saa7164_downloadfirmware()
305 printk(KERN_ERR in saa7164_downloadfirmware()
314 printk(KERN_ERR in saa7164_downloadfirmware()
322 printk(KERN_ERR in saa7164_downloadfirmware()
366 printk(KERN_ERR in saa7164_downloadfirmware()
383 printk(KERN_ERR in saa7164_downloadfirmware()
[all …]
/linux/arch/mips/jazz/
A Djazzdma.c160 printk("LADDR: "); in vdma_alloc()
163 printk("\nPADDR: "); in vdma_alloc()
166 printk("\nOWNER: "); in vdma_alloc()
169 printk("\n"); in vdma_alloc()
191 printk in vdma_free()
271 printk("%04x ", in vdma_stats()
274 printk("\n"); in vdma_stats()
277 printk("%04x ", in vdma_stats()
280 printk("\n"); in vdma_stats()
402 printk in vdma_set_mode()
[all …]
/linux/drivers/input/joystick/
A Djoydump.c42 printk(KERN_INFO "joydump: ,------------------ START ----------------.\n"); in joydump_connect()
43 printk(KERN_INFO "joydump: | Dumping: %30s |\n", gameport->phys); in joydump_connect()
44 printk(KERN_INFO "joydump: | Speed: %28d kHz |\n", gameport->speed); in joydump_connect()
62 printk(KERN_INFO "joydump: `------------------- END -----------------'\n"); in joydump_connect()
69 printk(KERN_INFO "joydump: no memory for testing\n"); in joydump_connect()
110 printk(KERN_INFO "joydump: | index: %3d delta: %3d us data: ", 0, 0); in joydump_connect()
112 printk("%d", (dump->data >> j) & 1); in joydump_connect()
113 printk(" |\n"); in joydump_connect()
117 printk(KERN_INFO "joydump: | index: %3d delta: %3d us data: ", in joydump_connect()
120 printk("%d", (dump->data >> j) & 1); in joydump_connect()
[all …]
/linux/drivers/message/fusion/
A Dmptdebug.h159 printk("\n"); in DBG_DUMP_FW_DOWNLOAD()
176 printk("\n"); in DBG_DUMP_PUT_MSG_FRAME()
179 printk("\n"); in DBG_DUMP_PUT_MSG_FRAME()
193 printk("\n"); in DBG_DUMP_FW_REQUEST_FRAME()
206 printk("\n"); in DBG_DUMP_REQUEST_FRAME()
209 printk("\n"); in DBG_DUMP_REQUEST_FRAME()
223 printk("\n"); in DBG_DUMP_REPLY_FRAME()
237 printk("\n"); in DBG_DUMP_REQUEST_FRAME_HDR()
251 printk("\n"); in DBG_DUMP_TM_REQUEST_FRAME()
254 printk("\n"); in DBG_DUMP_TM_REQUEST_FRAME()
[all …]
/linux/arch/hexagon/kernel/
A Dvm_events.c26 printk(KERN_EMERG "restart_r0: \t0x%08lx syscall_nr: %ld\n", in show_regs()
28 printk(KERN_EMERG "preds: \t\t0x%08lx\n", regs->preds); in show_regs()
29 printk(KERN_EMERG "lc0: \t0x%08lx sa0: 0x%08lx m0: 0x%08lx\n", in show_regs()
31 printk(KERN_EMERG "lc1: \t0x%08lx sa1: 0x%08lx m1: 0x%08lx\n", in show_regs()
33 printk(KERN_EMERG "gp: \t0x%08lx ugp: 0x%08lx usr: 0x%08lx\n", in show_regs()
35 printk(KERN_EMERG "cs0: \t0x%08lx cs1: 0x%08lx\n", in show_regs()
37 printk(KERN_EMERG "r0: \t0x%08lx %08lx %08lx %08lx\n", regs->r00, in show_regs()
41 printk(KERN_EMERG "r4: \t0x%08lx %08lx %08lx %08lx\n", regs->r04, in show_regs()
45 printk(KERN_EMERG "r8: \t0x%08lx %08lx %08lx %08lx\n", regs->r08, in show_regs()
49 printk(KERN_EMERG "r12: \t0x%08lx %08lx %08lx %08lx\n", regs->r12, in show_regs()
[all …]
/linux/drivers/soc/fsl/qe/
A Ducc_fast.c31 printk(KERN_INFO "gumr : addr=0x%p, val=0x%08x\n", in ucc_fast_dump_regs()
33 printk(KERN_INFO "upsmr : addr=0x%p, val=0x%08x\n", in ucc_fast_dump_regs()
35 printk(KERN_INFO "utodr : addr=0x%p, val=0x%04x\n", in ucc_fast_dump_regs()
37 printk(KERN_INFO "udsr : addr=0x%p, val=0x%04x\n", in ucc_fast_dump_regs()
39 printk(KERN_INFO "ucce : addr=0x%p, val=0x%08x\n", in ucc_fast_dump_regs()
41 printk(KERN_INFO "uccm : addr=0x%p, val=0x%08x\n", in ucc_fast_dump_regs()
43 printk(KERN_INFO "uccs : addr=0x%p, val=0x%02x\n", in ucc_fast_dump_regs()
45 printk(KERN_INFO "urfb : addr=0x%p, val=0x%08x\n", in ucc_fast_dump_regs()
47 printk(KERN_INFO "urfs : addr=0x%p, val=0x%04x\n", in ucc_fast_dump_regs()
49 printk(KERN_INFO "urfet : addr=0x%p, val=0x%04x\n", in ucc_fast_dump_regs()
[all …]

Completed in 43 milliseconds

12345678910>>...176