/linux/drivers/scsi/ |
H A D | nsp32_debug.c | 69 printk("%s[%02x] ", reserved, opcode); in print_opcodek() 72 printk("%s(notext)[%02x] ", unknown, opcode); in print_opcodek() 75 printk("%s[%02x] ", vendor, opcode); in print_opcodek() 79 printk("%s[%02x] ", table[opcode & 0x1f], opcode); in print_opcodek() 81 printk("%s[%02x] ", unknown, opcode); in print_opcodek() 89 // printk(KERN_DEBUG); in print_commandk() 91 /*printk(KERN_DEBUG "%s ", __func__);*/ in print_commandk() 100 printk("%02x ", command[i]); in print_commandk() 105 printk("LBA=%d len=%d", in print_commandk() 113 printk("LBA=%d len=%d", in print_commandk() [all …]
|
/linux/arch/mips/math-emu/ |
H A D | ieee754d.c | 17 #include <linux/printk.h> 26 printk("%s", m); in ieee754dp_dump() 27 printk("<%08x,%08x>\n", (unsigned) (x.bits >> 32), in ieee754dp_dump() 29 printk("\t="); in ieee754dp_dump() 33 printk("Nan %c", DPSIGN(x) ? '-' : '+'); in ieee754dp_dump() 35 printk("%c", DPMANT(x) & DP_MBIT(i) ? '1' : '0'); in ieee754dp_dump() 38 printk("%cInfinity", DPSIGN(x) ? '-' : '+'); in ieee754dp_dump() 41 printk("%cZero", DPSIGN(x) ? '-' : '+'); in ieee754dp_dump() 44 printk("%c0.", DPSIGN(x) ? '-' : '+'); in ieee754dp_dump() 46 printk("%c", DPMANT(x) & DP_MBIT(i) ? '1' : '0'); in ieee754dp_dump() [all …]
|
/linux/arch/alpha/kernel/ |
H A D | core_wildfire.c | 31 # define DBG_CFG(args) printk args 92 printk(KERN_ERR "Failed to request IO on qbb %d hose %d\n", in wildfire_init_hose() 95 printk(KERN_ERR "Failed to request MEM on qbb %d hose %d\n", in wildfire_init_hose() 195 printk(KERN_ERR "fast QSD_WHAMI at base %p is 0x%lx\n", fast, temp); in wildfire_hardware_probe() 222 printk(KERN_ERR "QSA_QBB_ID at base %p is 0x%lx\n", qsa, temp); in wildfire_hardware_probe() 234 printk(KERN_ERR "GPA_QBB_MAP[%d] at base %p is 0x%lx\n", in wildfire_hardware_probe() 256 printk(KERN_ERR "QSD_WHAMI at base %p is 0x%lx\n", qsd, temp); in wildfire_hardware_probe() 265 printk(KERN_ERR "QSA_QBB_POP_0 at base %p is 0x%lx\n", qsa, temp); in wildfire_hardware_probe() 272 printk(KERN_ERR "QSA_QBB_POP_1 at base %p is 0x%lx\n", qsa, temp); in wildfire_hardware_probe() 279 printk(KERN_ERR "QSA_QBB_ID at %p is 0x%lx\n", qsa, temp); in wildfire_hardware_probe() [all …]
|
H A D | err_marvel.c | 53 printk("%s**%s event (cabinet %d, drawer %d)\n", in marvel_print_680_frame() 58 printk("%s Module Type: 0x%x - Unit ID 0x%x - " in marvel_print_680_frame() 112 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() 186 printk("%s Uncorrectable Error Symptoms:\n", err_print_prefix); in marvel_print_po7_uncrr_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() 207 printk("%s REQ Credit Timeout or Overflow\n", in marvel_print_po7_uncrr_sym() 210 printk("%s RIO Credit Timeout or Overflow\n", in marvel_print_po7_uncrr_sym() 213 printk("%s WIO Credit Timeout or Overflow\n", in marvel_print_po7_uncrr_sym() [all …]
|
H A D | core_mcpcia.c | 39 # define DBG_CFG(args) printk args 327 printk(KERN_ERR "Failed to request IO on hose %d\n", h); in mcpcia_new_hose() 329 printk(KERN_ERR "Failed to request MEM on hose %d\n", h); in mcpcia_new_hose() 331 printk(KERN_ERR "Failed to request HAE_MEM on hose %d\n", h); in mcpcia_new_hose() 437 printk("mcpcia_init_hoses: found %d hoses\n", hose_count); in mcpcia_init_hoses() 454 printk(" paltmp[%d-%d] = %16lx %16lx\n", in mcpcia_print_uncorrectable() 458 printk(" shadow[%d-%d] = %16lx %16lx\n", in mcpcia_print_uncorrectable() 462 printk(" Addr of excepting instruction = %16lx\n", in mcpcia_print_uncorrectable() 464 printk(" Summary of arithmetic traps = %16lx\n", in mcpcia_print_uncorrectable() 466 printk(" Exception mask = %16lx\n", in mcpcia_print_uncorrectable() [all …]
|
/linux/arch/powerpc/platforms/44x/ |
H A D | machine_check.c | 6 #include <linux/printk.h> 17 printk("Instruction"); in machine_check_4xx() 20 printk("Data"); in machine_check_4xx() 22 printk(" machine check in kernel mode.\n"); in machine_check_4xx() 31 printk("Machine check in kernel mode.\n"); in machine_check_440A() 33 printk("Instruction Synchronous Machine Check exception\n"); in machine_check_440A() 39 printk("Instruction Read PLB Error\n"); in machine_check_440A() 41 printk("Data Read PLB Error\n"); in machine_check_440A() 43 printk("Data Write PLB Error\n"); in machine_check_440A() 45 printk("TLB Parity Error\n"); in machine_check_440A() [all …]
|
/linux/drivers/firmware/efi/ |
H A D | cper-arm.c | 15 #include <linux/printk.h> 111 printk("%stransaction type: %s\n", pfx, in cper_print_arm_err_info() 122 printk("%soperation type: %s\n", pfx, in cper_print_arm_err_info() 128 printk("%soperation type: %s\n", pfx, in cper_print_arm_err_info() 134 printk("%soperation type: %s\n", pfx, in cper_print_arm_err_info() 146 printk("%scache level: %d\n", pfx, level); in cper_print_arm_err_info() 149 printk("%sTLB level: %d\n", pfx, level); in cper_print_arm_err_info() 152 printk("%saffinity level at which the bus error occurred: %d\n", in cper_print_arm_err_info() 162 printk("%sprocessor context corrupted\n", pfx); in cper_print_arm_err_info() 164 printk("%sprocessor context not corrupted\n", pfx); in cper_print_arm_err_info() [all …]
|
H A D | cper.c | 23 #include <linux/printk.h> 97 printk("%s\n", buf); in cper_print_bits() 106 printk("%s\n", buf); in cper_print_bits() 148 printk("%s""processor_type: %d, %s\n", pfx, proc->proc_type, in cper_print_proc_generic() 152 printk("%s""processor_isa: %d, %s\n", pfx, proc->proc_isa, in cper_print_proc_generic() 156 printk("%s""error_type: 0x%02x\n", pfx, proc->proc_error_type); in cper_print_proc_generic() 162 printk("%s""operation: %d, %s\n", pfx, proc->operation, in cper_print_proc_generic() 166 printk("%s""flags: 0x%02x\n", pfx, proc->flags); in cper_print_proc_generic() 171 printk("%s""level: %d\n", pfx, proc->level); in cper_print_proc_generic() 173 printk("%s""version_info: 0x%016llx\n", pfx, proc->cpu_version); in cper_print_proc_generic() [all …]
|
/linux/Documentation/core-api/ |
H A D | printk-index.rst | 4 Printk Index 24 This is where the printk index feature might become useful. It provides 25 a dump of printk formats used all over the source code used for the kernel 28 The printk index helps to find changes in the message formats. Also it helps 35 The index of printk formats are split in into separate files. The files are 36 named according to the binaries where the printk formats are built-in. There 39 /sys/kernel/debug/printk/index/vmlinux 40 /sys/kernel/debug/printk/index/ext4 41 /sys/kernel/debug/printk/index/scsi_mod 43 Note that only loaded modules are shown. Also printk formats from a module [all …]
|
/linux/fs/jffs2/ |
H A D | debug.c | 407 printk(JFFS2_DBG_MSG_PREFIX " Dump node_refs of the eraseblock %#08x\n", jeb->offset); in __jffs2_dbg_dump_node_refs_nolock() 409 printk(JFFS2_DBG_MSG_PREFIX " no nodes in the eraseblock %#08x\n", jeb->offset); in __jffs2_dbg_dump_node_refs_nolock() 413 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() 448 printk(JFFS2_DBG_MSG_PREFIX " dump space accounting for the eraseblock at %#08x:\n", in __jffs2_dbg_dump_jeb_nolock() 451 printk(JFFS2_DBG "used_size: %#08x\n", jeb->used_size); in __jffs2_dbg_dump_jeb_nolock() [all …]
|
/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_dbg.c | 17 printk(" 0 1 2 3 4 5 6 7 8 9 Ah Bh Ch Dh Eh " in qla4xxx_dump_buffer() 19 printk("------------------------------------------------------------" in qla4xxx_dump_buffer() 22 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() 49 printk(KERN_INFO "0x%02X flash_address = 0x%08X\n", in qla4xxx_dump_registers() 52 printk(KERN_INFO "0x%02X flash_data = 0x%08X\n", in qla4xxx_dump_registers() [all …]
|
/linux/arch/mips/mm/ |
H A D | cerr-sb1.c | 67 printk(" recoverable"); in breakout_errctl() 69 printk(" dcache"); in breakout_errctl() 71 printk(" icache"); in breakout_errctl() 73 printk(" multiple-buserr"); in breakout_errctl() 74 printk("\n"); in breakout_errctl() 80 printk(" tag-parity"); in breakout_cerri() 82 printk(" data-parity"); in breakout_cerri() 84 printk(" external"); in breakout_cerri() 85 printk("\n"); in breakout_cerri() 92 printk(" load,"); in breakout_cerrd() [all …]
|
/linux/arch/x86/kernel/ |
H A D | nmi_selftest.c | 123 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/include/linux/ |
H A D | parport_pc.h | 69 printk (KERN_DEBUG "parport_pc_write_data(%p,0x%02x)\n", p, d); in parport_pc_write_data() 78 printk (KERN_DEBUG "parport_pc_read_data(%p) = 0x%02x\n", in parport_pc_read_data() 95 printk (KERN_DEBUG "*** parport state (%s): ecr=[%s", str, ecr_modes[(ecr & 0xe0) >> 5]); in dump_parport_state() 96 if (ecr & 0x10) printk (",nErrIntrEn"); in dump_parport_state() 97 if (ecr & 0x08) printk (",dmaEn"); in dump_parport_state() 98 if (ecr & 0x04) printk (",serviceIntr"); in dump_parport_state() 99 if (ecr & 0x02) printk (",f_full"); in dump_parport_state() 100 if (ecr & 0x01) printk (",f_empty"); in dump_parport_state() 102 printk ("] dcr(%s)=[", i ? "soft" : "hard"); in dump_parport_state() 106 printk ("rev"); in dump_parport_state() [all …]
|
/linux/drivers/message/fusion/ |
H A D | mptdebug.h | 156 printk(KERN_DEBUG "F/W download request:\n"); in DBG_DUMP_FW_DOWNLOAD() 158 printk(" %08x", le32_to_cpu(mfp[i])); in DBG_DUMP_FW_DOWNLOAD() 159 printk("\n"); in DBG_DUMP_FW_DOWNLOAD() 169 printk(KERN_DEBUG "%s: About to Put msg frame @ %p:\n", in DBG_DUMP_PUT_MSG_FRAME() 176 printk("\n"); in DBG_DUMP_PUT_MSG_FRAME() 177 printk(" %08x", le32_to_cpu(mfp[ii])); in DBG_DUMP_PUT_MSG_FRAME() 179 printk("\n"); in DBG_DUMP_PUT_MSG_FRAME() 190 printk(KERN_INFO " "); in DBG_DUMP_FW_REQUEST_FRAME() 192 printk(" %08x", le32_to_cpu(mfp[i])); in DBG_DUMP_FW_REQUEST_FRAME() 193 printk("\n"); in DBG_DUMP_FW_REQUEST_FRAME() [all …]
|
/linux/drivers/mtd/chips/ |
H A D | cfi_probe.c | 102 printk(KERN_NOTICE in cfi_probe_chip() 108 printk(KERN_NOTICE in cfi_probe_chip() 144 printk(KERN_DEBUG "%s: Found an alias at 0x%x for the chip at 0x%lx\n", in cfi_probe_chip() 156 printk(KERN_DEBUG "%s: Found an alias at 0x%x for the chip at 0x%lx\n", in cfi_probe_chip() 172 printk(KERN_INFO "%s: Found %d x%d devices at 0x%x in %d-bit bank\n", in cfi_probe_chip() 206 printk("Number of erase regions: %d\n", num_erase_regions); in cfi_chip_setup() 244 printk(" Erase Region #%d: BlockSize 0x%4.4X bytes, %d blocks\n", in cfi_chip_setup() 281 …printk(KERN_INFO "%s: Found %d x%d devices at 0x%x in %d-bit bank. Manufacturer ID %#08x Chip ID %… in cfi_chip_setup() 344 printk("Invalid CFI ident structure.\n"); in print_cfi_ident() 348 printk("Primary Vendor Command Set: %4.4X (%s)\n", cfip->P_ID, vendorname(cfip->P_ID)); in print_cfi_ident() [all …]
|
/linux/drivers/soc/fsl/qe/ |
H A D | ucc_fast.c | 28 printk(KERN_INFO "UCC%u Fast registers:\n", uccf->uf_info->ucc_num); in ucc_fast_dump_regs() 29 printk(KERN_INFO "Base address: 0x%p\n", uccf->uf_regs); in ucc_fast_dump_regs() 31 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() [all …]
|
/linux/drivers/scsi/pcmcia/ |
H A D | nsp_debug.c | 71 printk("%s[%02x] ", reserved, opcode); in print_opcodek() 74 printk("%s(notext)[%02x] ", unknown, opcode); in print_opcodek() 77 printk("%s[%02x] ", vendor, opcode); in print_opcodek() 81 printk("%s[%02x] ", table[opcode & 0x1f], opcode); in print_opcodek() 83 printk("%s[%02x] ", unknown, opcode); in print_opcodek() 91 printk(KERN_DEBUG); in print_commandk() 93 /*printk(KERN_DEBUG "%s ", __func__);*/ 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() [all …]
|
/linux/drivers/media/pci/saa7164/ |
H A D | saa7164-fw.c | 32 printk(KERN_ERR "%s() timeout (no d/l ack)\n", in saa7164_dl_wait_ack() 48 printk(KERN_ERR "%s() timeout (no d/l clr)\n", in saa7164_dl_wait_clr() 155 printk(KERN_ERR "%s() image corrupt\n", __func__); in saa7164_downloadimage() 161 printk(KERN_ERR "%s() device memory corrupt\n", in saa7164_downloadimage() 172 printk(KERN_INFO "%s() Image downloaded, booting...\n", __func__); in saa7164_downloadimage() 178 printk(KERN_INFO "%s() Image booted successfully.\n", __func__); in saa7164_downloadimage() 227 printk(KERN_ERR "%s() firmware corrupt\n", in saa7164_downloadfirmware() 232 printk(KERN_ERR "%s() device memory corrupt\n", in saa7164_downloadfirmware() 237 printk(KERN_ERR "%s() no first image\n", in saa7164_downloadfirmware() 244 printk(KERN_ERR in saa7164_downloadfirmware() [all …]
|
/linux/drivers/input/joystick/ |
H A D | joydump.c | 39 printk(KERN_INFO "joydump: ,------------------ START ----------------.\n"); in joydump_connect() 40 printk(KERN_INFO "joydump: | Dumping: %30s |\n", gameport->phys); in joydump_connect() 41 printk(KERN_INFO "joydump: | Speed: %28d kHz |\n", gameport->speed); in joydump_connect() 45 printk(KERN_INFO "joydump: | Raw mode not available - trying cooked. |\n"); in joydump_connect() 49 printk(KERN_INFO "joydump: | Cooked not available either. Failing. |\n"); in joydump_connect() 50 printk(KERN_INFO "joydump: `------------------- END -----------------'\n"); in joydump_connect() 57 printk(KERN_INFO "joydump: | Axis %d: %4d. |\n", i, axes[i]); in joydump_connect() 58 printk(KERN_INFO "joydump: | Buttons %02x. |\n", buttons); in joydump_connect() 59 printk(KERN_INFO "joydump: `------------------- END -----------------'\n"); in joydump_connect() 66 printk(KERN_INFO "joydump: no memory for testing\n"); in joydump_connect() [all …]
|
/linux/arch/mips/sgi-ip32/ |
H A D | crime.c | 40 printk(KERN_INFO "CRIME id %1x rev %d at 0x%0*lx\n", in crime_init() 52 printk("CRIME memory error at 0x%08lx ST 0x%08lx<", addr, stat); in crime_memerr_intr() 55 printk("INV,"); in crime_memerr_intr() 61 printk("ECC,SYN=0x%08lx,GEN=0x%08lx,", ecc_syn, ecc_gen); in crime_memerr_intr() 65 printk("MULTIPLE,"); in crime_memerr_intr() 69 printk("HARD,"); in crime_memerr_intr() 72 printk("SOFT,"); in crime_memerr_intr() 74 printk("CPU,"); in crime_memerr_intr() 76 printk("VICE,"); in crime_memerr_intr() 78 printk("GBE,"); in crime_memerr_intr() [all …]
|
/linux/arch/hexagon/kernel/ |
H A D | vm_events.c | 26 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/fs/freevxfs/ |
H A D | vxfs_fshead.c | 26 printk("\n\ndumping fileset header:\n"); in vxfs_dumpfsh() 27 printk("----------------------------\n"); in vxfs_dumpfsh() 28 printk("version: %u\n", fhp->fsh_version); in vxfs_dumpfsh() 29 printk("fsindex: %u\n", fhp->fsh_fsindex); in vxfs_dumpfsh() 30 printk("iauino: %u\tninodes:%u\n", in vxfs_dumpfsh() 32 printk("maxinode: %u\tlctino: %u\n", in vxfs_dumpfsh() 34 printk("nau: %u\n", fhp->fsh_nau); in vxfs_dumpfsh() 35 printk("ilistino[0]: %u\tilistino[1]: %u\n", in vxfs_dumpfsh() 92 printk(KERN_ERR "vxfs: unable to read fsh inode\n"); in vxfs_read_fshead() 98 printk(KERN_ERR "vxfs: fsh list inode is of wrong type (%x)\n", in vxfs_read_fshead() [all …]
|
/linux/scripts/coccinelle/misc/ |
H A D | warn.cocci | 2 /// Use WARN(1,...) rather than printk followed by WARN_ON(1) 20 printk(...); 21 printk@p(...); 28 printk@p(...); 35 cocci.print_main("printk + WARN_ON can be just WARN",p) 41 msg = "SUGGESTION: printk + WARN_ON can be just WARN" 49 -printk@p( 69 printk(...); 70 printk@p(...); 77 printk@p(...); [all …]
|
/linux/samples/bpf/ |
H A D | test_lwt_bpf.c | 18 # define printk(fmt, ...) \ macro 39 printk("len %d hash %d protocol %d", skb->len, skb->hash, in do_test_ctx() 41 printk("cb %d ingress_ifindex %d ifindex %d", skb->cb[0], in do_test_ctx() 51 printk("cb0: %x cb1: %x cb2: %x", skb->cb[0], skb->cb[1], in do_test_cb() 53 printk("cb3: %x cb4: %x", skb->cb[3], skb->cb[4]); in do_test_cb() 67 printk("packet truncated"); in do_test_data() 71 printk("src: %x dst: %x", iph->saddr, iph->daddr); in do_test_data() 92 printk("bpf_l4_csum_replace failed: %d", ret); in rewrite() 115 printk("bpf_l4_csum_replace failed: %d"); in rewrite() 122 printk("bpf_l3_csum_replace failed: %d", ret); in rewrite() [all …]
|