Lines Matching +full:x +full:-
1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2003-2012 QLogic Corporation
19 printk("------------------------------------------------------------" in qla4xxx_dump_buffer()
20 "--\n"); in qla4xxx_dump_buffer()
22 printk("%02x", *c); in qla4xxx_dump_buffer()
38 printk(KERN_INFO "mailbox[%d] = 0x%08X\n", in qla4xxx_dump_registers()
39 i, readl(&ha->qla4_82xx_reg->mailbox_in[i])); in qla4xxx_dump_registers()
44 printk(KERN_INFO "0x%02X mailbox[%d] = 0x%08X\n", in qla4xxx_dump_registers()
46 readw(&ha->reg->mailbox[i])); in qla4xxx_dump_registers()
49 printk(KERN_INFO "0x%02X flash_address = 0x%08X\n", in qla4xxx_dump_registers()
51 readw(&ha->reg->flash_address)); in qla4xxx_dump_registers()
52 printk(KERN_INFO "0x%02X flash_data = 0x%08X\n", in qla4xxx_dump_registers()
54 readw(&ha->reg->flash_data)); in qla4xxx_dump_registers()
55 printk(KERN_INFO "0x%02X ctrl_status = 0x%08X\n", in qla4xxx_dump_registers()
57 readw(&ha->reg->ctrl_status)); in qla4xxx_dump_registers()
60 printk(KERN_INFO "0x%02X nvram = 0x%08X\n", in qla4xxx_dump_registers()
62 readw(&ha->reg->u1.isp4010.nvram)); in qla4xxx_dump_registers()
64 printk(KERN_INFO "0x%02X intr_mask = 0x%08X\n", in qla4xxx_dump_registers()
66 readw(&ha->reg->u1.isp4022.intr_mask)); in qla4xxx_dump_registers()
67 printk(KERN_INFO "0x%02X nvram = 0x%08X\n", in qla4xxx_dump_registers()
69 readw(&ha->reg->u1.isp4022.nvram)); in qla4xxx_dump_registers()
70 printk(KERN_INFO "0x%02X semaphore = 0x%08X\n", in qla4xxx_dump_registers()
72 readw(&ha->reg->u1.isp4022.semaphore)); in qla4xxx_dump_registers()
74 printk(KERN_INFO "0x%02X req_q_in = 0x%08X\n", in qla4xxx_dump_registers()
76 readw(&ha->reg->req_q_in)); in qla4xxx_dump_registers()
77 printk(KERN_INFO "0x%02X rsp_q_out = 0x%08X\n", in qla4xxx_dump_registers()
79 readw(&ha->reg->rsp_q_out)); in qla4xxx_dump_registers()
82 printk(KERN_INFO "0x%02X ext_hw_conf = 0x%08X\n", in qla4xxx_dump_registers()
84 readw(&ha->reg->u2.isp4010.ext_hw_conf)); in qla4xxx_dump_registers()
85 printk(KERN_INFO "0x%02X port_ctrl = 0x%08X\n", in qla4xxx_dump_registers()
87 readw(&ha->reg->u2.isp4010.port_ctrl)); in qla4xxx_dump_registers()
88 printk(KERN_INFO "0x%02X port_status = 0x%08X\n", in qla4xxx_dump_registers()
90 readw(&ha->reg->u2.isp4010.port_status)); in qla4xxx_dump_registers()
91 printk(KERN_INFO "0x%02X req_q_out = 0x%08X\n", in qla4xxx_dump_registers()
93 readw(&ha->reg->u2.isp4010.req_q_out)); in qla4xxx_dump_registers()
94 printk(KERN_INFO "0x%02X gp_out = 0x%08X\n", in qla4xxx_dump_registers()
96 readw(&ha->reg->u2.isp4010.gp_out)); in qla4xxx_dump_registers()
97 printk(KERN_INFO "0x%02X gp_in = 0x%08X\n", in qla4xxx_dump_registers()
99 readw(&ha->reg->u2.isp4010.gp_in)); in qla4xxx_dump_registers()
100 printk(KERN_INFO "0x%02X port_err_status = 0x%08X\n", (uint8_t) in qla4xxx_dump_registers()
102 readw(&ha->reg->u2.isp4010.port_err_status)); in qla4xxx_dump_registers()
105 printk(KERN_INFO "0x%02X ext_hw_conf = 0x%08X\n", (uint8_t) in qla4xxx_dump_registers()
107 readw(&ha->reg->u2.isp4022.p0.ext_hw_conf)); in qla4xxx_dump_registers()
108 printk(KERN_INFO "0x%02X port_ctrl = 0x%08X\n", (uint8_t) in qla4xxx_dump_registers()
110 readw(&ha->reg->u2.isp4022.p0.port_ctrl)); in qla4xxx_dump_registers()
111 printk(KERN_INFO "0x%02X port_status = 0x%08X\n", (uint8_t) in qla4xxx_dump_registers()
113 readw(&ha->reg->u2.isp4022.p0.port_status)); in qla4xxx_dump_registers()
114 printk(KERN_INFO "0x%02X gp_out = 0x%08X\n", in qla4xxx_dump_registers()
116 readw(&ha->reg->u2.isp4022.p0.gp_out)); in qla4xxx_dump_registers()
117 printk(KERN_INFO "0x%02X gp_in = 0x%08X\n", in qla4xxx_dump_registers()
119 readw(&ha->reg->u2.isp4022.p0.gp_in)); in qla4xxx_dump_registers()
120 printk(KERN_INFO "0x%02X port_err_status = 0x%08X\n", (uint8_t) in qla4xxx_dump_registers()
122 readw(&ha->reg->u2.isp4022.p0.port_err_status)); in qla4xxx_dump_registers()
125 &ha->reg->ctrl_status); in qla4xxx_dump_registers()
126 printk(KERN_INFO "0x%02X req_q_out = 0x%08X\n", in qla4xxx_dump_registers()
128 readw(&ha->reg->u2.isp4022.p1.req_q_out)); in qla4xxx_dump_registers()
130 &ha->reg->ctrl_status); in qla4xxx_dump_registers()
143 "scsi(%ld): %s, ISP%04x Dumping hw/fw registers:\n" in qla4_8xxx_dump_peg_reg()
144 " PEG_HALT_STATUS1: 0x%x, PEG_HALT_STATUS2: 0x%x,\n" in qla4_8xxx_dump_peg_reg()
145 " PEG_NET_0_PC: 0x%x, PEG_NET_1_PC: 0x%x,\n" in qla4_8xxx_dump_peg_reg()
146 " PEG_NET_2_PC: 0x%x, PEG_NET_3_PC: 0x%x,\n" in qla4_8xxx_dump_peg_reg()
147 " PEG_NET_4_PC: 0x%x\n", ha->host_no, __func__, in qla4_8xxx_dump_peg_reg()
148 ha->pdev->device, halt_status1, halt_status2, in qla4_8xxx_dump_peg_reg()
156 "scsi(%ld): %s, ISP%04x Dumping hw/fw registers:\n" in qla4_8xxx_dump_peg_reg()
157 " PEG_HALT_STATUS1: 0x%x, PEG_HALT_STATUS2: 0x%x,\n", in qla4_8xxx_dump_peg_reg()
158 ha->host_no, __func__, ha->pdev->device, in qla4_8xxx_dump_peg_reg()