Lines Matching +full:0 +full:x7400

13  * | Module Init and Probe        |       0x0199       |                |
14 * | Mailbox commands | 0x1206 | 0x11a5-0x11ff |
15 * | Device Discovery | 0x2134 | 0x2112-0x2115 |
16 * | | | 0x2127-0x2128 |
17 * | Queue Command and IO tracing | 0x3074 | 0x300b |
18 * | | | 0x3027-0x3028 |
19 * | | | 0x303d-0x3041 |
20 * | | | 0x302e,0x3033 |
21 * | | | 0x3036,0x3038 |
22 * | | | 0x303a |
23 * | DPC Thread | 0x4023 | 0x4002,0x4013 |
24 * | Async Events | 0x509c | |
25 * | Timer Routines | 0x6012 | |
26 * | User Space Interactions | 0x70e3 | 0x7018,0x702e |
27 * | | | 0x7020,0x7024 |
28 * | | | 0x7039,0x7045 |
29 * | | | 0x7073-0x7075 |
30 * | | | 0x70a5-0x70a6 |
31 * | | | 0x70a8,0x70ab |
32 * | | | 0x70ad-0x70ae |
33 * | | | 0x70d0-0x70d6 |
34 * | | | 0x70d7-0x70db |
35 * | Task Management | 0x8042 | 0x8000 |
36 * | | | 0x8019 |
37 * | | | 0x8025,0x8026 |
38 * | | | 0x8031,0x8032 |
39 * | | | 0x8039,0x803c |
40 * | AER/EEH | 0x9011 | |
41 * | Virtual Port | 0xa007 | |
42 * | ISP82XX Specific | 0xb157 | 0xb002,0xb024 |
43 * | | | 0xb09e,0xb0ae |
44 * | | | 0xb0c3,0xb0c6 |
45 * | | | 0xb0e0-0xb0ef |
46 * | | | 0xb085,0xb0dc |
47 * | | | 0xb107,0xb108 |
48 * | | | 0xb111,0xb11e |
49 * | | | 0xb12c,0xb12d |
50 * | | | 0xb13a,0xb142 |
51 * | | | 0xb13c-0xb140 |
52 * | | | 0xb149 |
53 * | MultiQ | 0xc010 | |
54 * | Misc | 0xd303 | 0xd031-0xd0ff |
55 * | | | 0xd101-0xd1fe |
56 * | | | 0xd214-0xd2fe |
57 * | Target Mode | 0xe081 | |
58 * | Target Mode Management | 0xf09b | 0xf002 |
59 * | | | 0xf046-0xf049 |
60 * | Target Mode Task Management | 0x1000d | |
70 static uint32_t ql_dbg_offset = 0x800;
89 struct req_que *req = ha->req_q_map[0]; in qla2xxx_copy_queues()
90 struct rsp_que *rsp = ha->rsp_q_map[0]; in qla2xxx_copy_queues()
121 for (i = 0; i < ram_dwords; i += dwords, addr += dwords) { in qla27xx_dump_mpi_ram()
137 wrt_reg_word(&reg->mailbox9, 0); in qla27xx_dump_mpi_ram()
140 ha->flags.mbox_int = 0; in qla27xx_dump_mpi_ram()
152 stat &= 0xff; in qla27xx_dump_mpi_ram()
153 if (stat != 0x1 && stat != 0x2 && in qla27xx_dump_mpi_ram()
154 stat != 0x10 && stat != 0x11) { in qla27xx_dump_mpi_ram()
179 for (j = 0; j < dwords; j++) { in qla27xx_dump_mpi_ram()
208 for (i = 0; i < ram_dwords; i += dwords, addr += dwords) { in qla24xx_dump_ram()
215 wrt_reg_word(&reg->mailbox10, 0); in qla24xx_dump_ram()
226 ha->flags.mbox_int = 0; in qla24xx_dump_ram()
237 stat &= 0xff; in qla24xx_dump_ram()
238 if (stat != 0x1 && stat != 0x2 && in qla24xx_dump_ram()
239 stat != 0x10 && stat != 0x11) { in qla24xx_dump_ram()
262 for (j = 0; j < dwords; j++) { in qla24xx_dump_ram()
280 rval = qla24xx_dump_ram(ha, 0x20000, code_ram, cram_size / 4, nxt); in qla24xx_dump_memory()
287 rval = qla24xx_dump_ram(ha, 0x100000, *nxt, in qla24xx_dump_memory()
288 ha->fw_memory_size - 0x100000 + 1, nxt); in qla24xx_dump_memory()
334 for (cnt = 0; cnt < 30000; cnt++) { in qla24xx_soft_reset()
335 if ((rd_reg_dword(&reg->ctrl_status) & CSRX_DMA_ACTIVE) == 0) in qla24xx_soft_reset()
350 for (cnt = 0; cnt < 30000; cnt++) { in qla24xx_soft_reset()
352 CSRX_ISP_SOFT_RESET) == 0) in qla24xx_soft_reset()
363 for (cnt = 10000; rd_reg_word(&reg->mailbox0) != 0 && in qla24xx_soft_reset()
388 mb0 = 0; in qla2xxx_dump_ram()
390 WRT_MAILBOX_REG(ha, reg, 0, MBC_DUMP_RISC_RAM_EXTENDED); in qla2xxx_dump_ram()
394 for (cnt = 0; cnt < ram_words && rval == QLA_SUCCESS; in qla2xxx_dump_ram()
414 stat &= 0xff; in qla2xxx_dump_ram()
416 if (stat == 0x1 || stat == 0x2) { in qla2xxx_dump_ram()
420 mb0 = RD_MAILBOX_REG(ha, reg, 0); in qla2xxx_dump_ram()
423 wrt_reg_word(&reg->semaphore, 0); in qla2xxx_dump_ram()
428 } else if (stat == 0x10 || stat == 0x11) { in qla2xxx_dump_ram()
432 mb0 = RD_MAILBOX_REG(ha, reg, 0); in qla2xxx_dump_ram()
449 for (idx = 0; idx < words; idx++) in qla2xxx_dump_ram()
500 for (cnt = 0; cnt < 8; cnt++) in qla25xx_copy_fce()
573 for (que = 0; que < num_queues; que++) { in qla2xxx_copy_atioqueues()
691 for (cnt = 0; cnt < que_cnt; cnt++) { in qla25xx_copy_mq()
713 ql_log(ql_log_warn, vha, 0xd000, in qla2xxx_dump_post_process()
714 "Failed to dump firmware (%x), dump status flags (0x%lx).\n", in qla2xxx_dump_post_process()
718 ql_log(ql_log_info, vha, 0xd001, in qla2xxx_dump_post_process()
719 "Firmware dump saved to temp buffer (%ld/%p), dump status flags (0x%lx).\n", in qla2xxx_dump_post_process()
754 ql_log(ql_log_warn, vha, 0xd002, in qla2300_fw_dump()
760 ql_log(ql_log_warn, vha, 0xd003, in qla2300_fw_dump()
776 (rd_reg_word(&reg->hccr) & HCCR_RISC_PAUSE) == 0 && in qla2300_fw_dump()
790 for (cnt = 0; cnt < ARRAY_SIZE(fw->pbiu_reg); cnt++, dmp_reg++) in qla2300_fw_dump()
794 for (cnt = 0; cnt < ARRAY_SIZE(fw->risc_host_reg); in qla2300_fw_dump()
799 for (cnt = 0; cnt < ARRAY_SIZE(fw->mailbox_reg); in qla2300_fw_dump()
803 wrt_reg_word(&reg->ctrl_status, 0x40); in qla2300_fw_dump()
806 wrt_reg_word(&reg->ctrl_status, 0x50); in qla2300_fw_dump()
809 wrt_reg_word(&reg->ctrl_status, 0x00); in qla2300_fw_dump()
811 for (cnt = 0; cnt < ARRAY_SIZE(fw->risc_hdw_reg); in qla2300_fw_dump()
815 wrt_reg_word(&reg->pcr, 0x2000); in qla2300_fw_dump()
818 wrt_reg_word(&reg->pcr, 0x2200); in qla2300_fw_dump()
821 wrt_reg_word(&reg->pcr, 0x2400); in qla2300_fw_dump()
824 wrt_reg_word(&reg->pcr, 0x2600); in qla2300_fw_dump()
827 wrt_reg_word(&reg->pcr, 0x2800); in qla2300_fw_dump()
830 wrt_reg_word(&reg->pcr, 0x2A00); in qla2300_fw_dump()
833 wrt_reg_word(&reg->pcr, 0x2C00); in qla2300_fw_dump()
836 wrt_reg_word(&reg->pcr, 0x2E00); in qla2300_fw_dump()
839 wrt_reg_word(&reg->ctrl_status, 0x10); in qla2300_fw_dump()
842 wrt_reg_word(&reg->ctrl_status, 0x20); in qla2300_fw_dump()
845 wrt_reg_word(&reg->ctrl_status, 0x30); in qla2300_fw_dump()
850 for (cnt = 0; cnt < 30000; cnt++) { in qla2300_fw_dump()
852 CSR_ISP_SOFT_RESET) == 0) in qla2300_fw_dump()
860 for (cnt = 30000; RD_MAILBOX_REG(ha, reg, 0) != 0 && in qla2300_fw_dump()
871 rval = qla2xxx_dump_ram(ha, 0x800, fw->risc_ram, in qla2300_fw_dump()
876 rval = qla2xxx_dump_ram(ha, 0x10000, fw->stack_ram, in qla2300_fw_dump()
881 rval = qla2xxx_dump_ram(ha, 0x11000, fw->data_ram, in qla2300_fw_dump()
882 ha->fw_memory_size - 0x11000 + 1, &nxt); in qla2300_fw_dump()
899 uint16_t risc_address = 0; in qla2100_fw_dump()
900 uint16_t mb0 = 0, mb2 = 0; in qla2100_fw_dump()
910 ql_log(ql_log_warn, vha, 0xd004, in qla2100_fw_dump()
916 ql_log(ql_log_warn, vha, 0xd005, in qla2100_fw_dump()
930 for (cnt = 30000; (rd_reg_word(&reg->hccr) & HCCR_RISC_PAUSE) == 0 && in qla2100_fw_dump()
939 for (cnt = 0; cnt < ARRAY_SIZE(fw->pbiu_reg); cnt++, dmp_reg++) in qla2100_fw_dump()
943 for (cnt = 0; cnt < ha->mbx_count; cnt++, dmp_reg++) { in qla2100_fw_dump()
950 dmp_reg = &reg->u.isp2100.unused_2[0]; in qla2100_fw_dump()
951 for (cnt = 0; cnt < ARRAY_SIZE(fw->dma_reg); cnt++, dmp_reg++) in qla2100_fw_dump()
954 wrt_reg_word(&reg->ctrl_status, 0x00); in qla2100_fw_dump()
956 for (cnt = 0; cnt < ARRAY_SIZE(fw->risc_hdw_reg); cnt++, dmp_reg++) in qla2100_fw_dump()
959 wrt_reg_word(&reg->pcr, 0x2000); in qla2100_fw_dump()
962 wrt_reg_word(&reg->pcr, 0x2100); in qla2100_fw_dump()
965 wrt_reg_word(&reg->pcr, 0x2200); in qla2100_fw_dump()
968 wrt_reg_word(&reg->pcr, 0x2300); in qla2100_fw_dump()
971 wrt_reg_word(&reg->pcr, 0x2400); in qla2100_fw_dump()
974 wrt_reg_word(&reg->pcr, 0x2500); in qla2100_fw_dump()
977 wrt_reg_word(&reg->pcr, 0x2600); in qla2100_fw_dump()
980 wrt_reg_word(&reg->pcr, 0x2700); in qla2100_fw_dump()
983 wrt_reg_word(&reg->ctrl_status, 0x10); in qla2100_fw_dump()
986 wrt_reg_word(&reg->ctrl_status, 0x20); in qla2100_fw_dump()
989 wrt_reg_word(&reg->ctrl_status, 0x30); in qla2100_fw_dump()
996 for (cnt = 30000; RD_MAILBOX_REG(ha, reg, 0) != 0 && in qla2100_fw_dump()
1006 (rd_reg_word(&reg->mctr) & (BIT_1 | BIT_0)) != 0))) { in qla2100_fw_dump()
1010 (rd_reg_word(&reg->hccr) & HCCR_RISC_PAUSE) == 0 && in qla2100_fw_dump()
1020 wrt_reg_word(&reg->mctr, 0xf1); in qla2100_fw_dump()
1022 wrt_reg_word(&reg->mctr, 0xf2); in qla2100_fw_dump()
1032 risc_address = 0x1000; in qla2100_fw_dump()
1033 WRT_MAILBOX_REG(ha, reg, 0, MBC_READ_RAM_WORD); in qla2100_fw_dump()
1036 for (cnt = 0; cnt < ARRAY_SIZE(fw->risc_ram) && rval == QLA_SUCCESS; in qla2100_fw_dump()
1041 for (timer = 6000000; timer != 0; timer--) { in qla2100_fw_dump()
1048 mb0 = RD_MAILBOX_REG(ha, reg, 0); in qla2100_fw_dump()
1051 wrt_reg_word(&reg->semaphore, 0); in qla2100_fw_dump()
1072 qla2xxx_copy_queues(ha, &fw->queue_dump[0]); in qla2100_fw_dump()
1098 ha->fw_dump_cap_flags = 0; in qla24xx_fw_dump()
1101 ql_log(ql_log_warn, vha, 0xd006, in qla24xx_fw_dump()
1107 ql_log(ql_log_warn, vha, 0xd007, in qla24xx_fw_dump()
1127 for (cnt = 0; cnt < ARRAY_SIZE(fw->host_reg); cnt++, dmp_reg++) in qla24xx_fw_dump()
1131 wrt_reg_dword(&reg->ictrl, 0); in qla24xx_fw_dump()
1135 wrt_reg_dword(&reg->iobase_addr, 0x0F70); in qla24xx_fw_dump()
1137 wrt_reg_dword(&reg->iobase_select, 0xB0000000); in qla24xx_fw_dump()
1138 fw->shadow_reg[0] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla24xx_fw_dump()
1140 wrt_reg_dword(&reg->iobase_select, 0xB0100000); in qla24xx_fw_dump()
1143 wrt_reg_dword(&reg->iobase_select, 0xB0200000); in qla24xx_fw_dump()
1146 wrt_reg_dword(&reg->iobase_select, 0xB0300000); in qla24xx_fw_dump()
1149 wrt_reg_dword(&reg->iobase_select, 0xB0400000); in qla24xx_fw_dump()
1152 wrt_reg_dword(&reg->iobase_select, 0xB0500000); in qla24xx_fw_dump()
1155 wrt_reg_dword(&reg->iobase_select, 0xB0600000); in qla24xx_fw_dump()
1160 for (cnt = 0; cnt < ARRAY_SIZE(fw->mailbox_reg); cnt++, mbx_reg++) in qla24xx_fw_dump()
1165 iter_reg = qla24xx_read_window(reg, 0xBF00, 16, iter_reg); in qla24xx_fw_dump()
1166 iter_reg = qla24xx_read_window(reg, 0xBF10, 16, iter_reg); in qla24xx_fw_dump()
1167 iter_reg = qla24xx_read_window(reg, 0xBF20, 16, iter_reg); in qla24xx_fw_dump()
1168 iter_reg = qla24xx_read_window(reg, 0xBF30, 16, iter_reg); in qla24xx_fw_dump()
1169 iter_reg = qla24xx_read_window(reg, 0xBF40, 16, iter_reg); in qla24xx_fw_dump()
1170 iter_reg = qla24xx_read_window(reg, 0xBF50, 16, iter_reg); in qla24xx_fw_dump()
1171 iter_reg = qla24xx_read_window(reg, 0xBF60, 16, iter_reg); in qla24xx_fw_dump()
1172 qla24xx_read_window(reg, 0xBF70, 16, iter_reg); in qla24xx_fw_dump()
1174 qla24xx_read_window(reg, 0xBFE0, 16, fw->xseq_0_reg); in qla24xx_fw_dump()
1175 qla24xx_read_window(reg, 0xBFF0, 16, fw->xseq_1_reg); in qla24xx_fw_dump()
1179 iter_reg = qla24xx_read_window(reg, 0xFF00, 16, iter_reg); in qla24xx_fw_dump()
1180 iter_reg = qla24xx_read_window(reg, 0xFF10, 16, iter_reg); in qla24xx_fw_dump()
1181 iter_reg = qla24xx_read_window(reg, 0xFF20, 16, iter_reg); in qla24xx_fw_dump()
1182 iter_reg = qla24xx_read_window(reg, 0xFF30, 16, iter_reg); in qla24xx_fw_dump()
1183 iter_reg = qla24xx_read_window(reg, 0xFF40, 16, iter_reg); in qla24xx_fw_dump()
1184 iter_reg = qla24xx_read_window(reg, 0xFF50, 16, iter_reg); in qla24xx_fw_dump()
1185 iter_reg = qla24xx_read_window(reg, 0xFF60, 16, iter_reg); in qla24xx_fw_dump()
1186 qla24xx_read_window(reg, 0xFF70, 16, iter_reg); in qla24xx_fw_dump()
1188 qla24xx_read_window(reg, 0xFFD0, 16, fw->rseq_0_reg); in qla24xx_fw_dump()
1189 qla24xx_read_window(reg, 0xFFE0, 16, fw->rseq_1_reg); in qla24xx_fw_dump()
1190 qla24xx_read_window(reg, 0xFFF0, 16, fw->rseq_2_reg); in qla24xx_fw_dump()
1193 qla24xx_read_window(reg, 0x7100, 16, fw->cmd_dma_reg); in qla24xx_fw_dump()
1197 iter_reg = qla24xx_read_window(reg, 0x7200, 8, iter_reg); in qla24xx_fw_dump()
1199 for (cnt = 0; cnt < 7; cnt++, dmp_reg++) in qla24xx_fw_dump()
1203 iter_reg = qla24xx_read_window(reg, 0x7300, 8, iter_reg); in qla24xx_fw_dump()
1205 for (cnt = 0; cnt < 7; cnt++, dmp_reg++) in qla24xx_fw_dump()
1209 iter_reg = qla24xx_read_window(reg, 0x7400, 8, iter_reg); in qla24xx_fw_dump()
1211 for (cnt = 0; cnt < 7; cnt++, dmp_reg++) in qla24xx_fw_dump()
1216 iter_reg = qla24xx_read_window(reg, 0x7600, 16, iter_reg); in qla24xx_fw_dump()
1217 qla24xx_read_window(reg, 0x7610, 16, iter_reg); in qla24xx_fw_dump()
1220 iter_reg = qla24xx_read_window(reg, 0x7620, 16, iter_reg); in qla24xx_fw_dump()
1221 qla24xx_read_window(reg, 0x7630, 16, iter_reg); in qla24xx_fw_dump()
1224 iter_reg = qla24xx_read_window(reg, 0x7640, 16, iter_reg); in qla24xx_fw_dump()
1225 qla24xx_read_window(reg, 0x7650, 16, iter_reg); in qla24xx_fw_dump()
1228 iter_reg = qla24xx_read_window(reg, 0x7660, 16, iter_reg); in qla24xx_fw_dump()
1229 qla24xx_read_window(reg, 0x7670, 16, iter_reg); in qla24xx_fw_dump()
1232 iter_reg = qla24xx_read_window(reg, 0x7680, 16, iter_reg); in qla24xx_fw_dump()
1233 qla24xx_read_window(reg, 0x7690, 16, iter_reg); in qla24xx_fw_dump()
1235 qla24xx_read_window(reg, 0x76A0, 16, fw->xmt_data_dma_reg); in qla24xx_fw_dump()
1239 iter_reg = qla24xx_read_window(reg, 0x7700, 16, iter_reg); in qla24xx_fw_dump()
1240 qla24xx_read_window(reg, 0x7710, 16, iter_reg); in qla24xx_fw_dump()
1243 iter_reg = qla24xx_read_window(reg, 0x7720, 16, iter_reg); in qla24xx_fw_dump()
1244 qla24xx_read_window(reg, 0x7730, 16, iter_reg); in qla24xx_fw_dump()
1248 iter_reg = qla24xx_read_window(reg, 0x0F00, 16, iter_reg); in qla24xx_fw_dump()
1249 iter_reg = qla24xx_read_window(reg, 0x0F10, 16, iter_reg); in qla24xx_fw_dump()
1250 iter_reg = qla24xx_read_window(reg, 0x0F20, 16, iter_reg); in qla24xx_fw_dump()
1251 iter_reg = qla24xx_read_window(reg, 0x0F30, 16, iter_reg); in qla24xx_fw_dump()
1252 iter_reg = qla24xx_read_window(reg, 0x0F40, 16, iter_reg); in qla24xx_fw_dump()
1253 iter_reg = qla24xx_read_window(reg, 0x0F50, 16, iter_reg); in qla24xx_fw_dump()
1254 iter_reg = qla24xx_read_window(reg, 0x0F60, 16, iter_reg); in qla24xx_fw_dump()
1255 qla24xx_read_window(reg, 0x0F70, 16, iter_reg); in qla24xx_fw_dump()
1259 iter_reg = qla24xx_read_window(reg, 0x3000, 16, iter_reg); in qla24xx_fw_dump()
1260 iter_reg = qla24xx_read_window(reg, 0x3010, 16, iter_reg); in qla24xx_fw_dump()
1261 iter_reg = qla24xx_read_window(reg, 0x3020, 16, iter_reg); in qla24xx_fw_dump()
1262 iter_reg = qla24xx_read_window(reg, 0x3030, 16, iter_reg); in qla24xx_fw_dump()
1263 iter_reg = qla24xx_read_window(reg, 0x3040, 16, iter_reg); in qla24xx_fw_dump()
1264 iter_reg = qla24xx_read_window(reg, 0x3050, 16, iter_reg); in qla24xx_fw_dump()
1265 qla24xx_read_window(reg, 0x3060, 16, iter_reg); in qla24xx_fw_dump()
1269 iter_reg = qla24xx_read_window(reg, 0x4000, 16, iter_reg); in qla24xx_fw_dump()
1270 iter_reg = qla24xx_read_window(reg, 0x4010, 16, iter_reg); in qla24xx_fw_dump()
1271 iter_reg = qla24xx_read_window(reg, 0x4020, 16, iter_reg); in qla24xx_fw_dump()
1272 iter_reg = qla24xx_read_window(reg, 0x4030, 16, iter_reg); in qla24xx_fw_dump()
1273 iter_reg = qla24xx_read_window(reg, 0x4040, 16, iter_reg); in qla24xx_fw_dump()
1274 iter_reg = qla24xx_read_window(reg, 0x4050, 16, iter_reg); in qla24xx_fw_dump()
1275 iter_reg = qla24xx_read_window(reg, 0x4060, 16, iter_reg); in qla24xx_fw_dump()
1276 iter_reg = qla24xx_read_window(reg, 0x4070, 16, iter_reg); in qla24xx_fw_dump()
1277 iter_reg = qla24xx_read_window(reg, 0x4080, 16, iter_reg); in qla24xx_fw_dump()
1278 iter_reg = qla24xx_read_window(reg, 0x4090, 16, iter_reg); in qla24xx_fw_dump()
1279 iter_reg = qla24xx_read_window(reg, 0x40A0, 16, iter_reg); in qla24xx_fw_dump()
1280 qla24xx_read_window(reg, 0x40B0, 16, iter_reg); in qla24xx_fw_dump()
1284 iter_reg = qla24xx_read_window(reg, 0x6000, 16, iter_reg); in qla24xx_fw_dump()
1285 iter_reg = qla24xx_read_window(reg, 0x6010, 16, iter_reg); in qla24xx_fw_dump()
1286 iter_reg = qla24xx_read_window(reg, 0x6020, 16, iter_reg); in qla24xx_fw_dump()
1287 iter_reg = qla24xx_read_window(reg, 0x6030, 16, iter_reg); in qla24xx_fw_dump()
1288 iter_reg = qla24xx_read_window(reg, 0x6040, 16, iter_reg); in qla24xx_fw_dump()
1289 iter_reg = qla24xx_read_window(reg, 0x6100, 16, iter_reg); in qla24xx_fw_dump()
1290 iter_reg = qla24xx_read_window(reg, 0x6130, 16, iter_reg); in qla24xx_fw_dump()
1291 iter_reg = qla24xx_read_window(reg, 0x6150, 16, iter_reg); in qla24xx_fw_dump()
1292 iter_reg = qla24xx_read_window(reg, 0x6170, 16, iter_reg); in qla24xx_fw_dump()
1293 iter_reg = qla24xx_read_window(reg, 0x6190, 16, iter_reg); in qla24xx_fw_dump()
1294 qla24xx_read_window(reg, 0x61B0, 16, iter_reg); in qla24xx_fw_dump()
1340 ha->fw_dump_cap_flags = 0; in qla25xx_fw_dump()
1343 ql_log(ql_log_warn, vha, 0xd008, in qla25xx_fw_dump()
1349 ql_log(ql_log_warn, vha, 0xd009, in qla25xx_fw_dump()
1370 iter_reg = qla24xx_read_window(reg, 0x7000, 16, iter_reg); in qla25xx_fw_dump()
1371 qla24xx_read_window(reg, 0x7010, 16, iter_reg); in qla25xx_fw_dump()
1374 wrt_reg_dword(&reg->iobase_addr, 0x7C00); in qla25xx_fw_dump()
1376 wrt_reg_dword(&reg->iobase_window, 0x01); in qla25xx_fw_dump()
1378 fw->pcie_regs[0] = htonl(rd_reg_dword(dmp_reg)); in qla25xx_fw_dump()
1385 wrt_reg_dword(&reg->iobase_window, 0x00); in qla25xx_fw_dump()
1390 for (cnt = 0; cnt < ARRAY_SIZE(fw->host_reg); cnt++, dmp_reg++) in qla25xx_fw_dump()
1394 wrt_reg_dword(&reg->ictrl, 0); in qla25xx_fw_dump()
1398 wrt_reg_dword(&reg->iobase_addr, 0x0F70); in qla25xx_fw_dump()
1400 wrt_reg_dword(&reg->iobase_select, 0xB0000000); in qla25xx_fw_dump()
1401 fw->shadow_reg[0] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla25xx_fw_dump()
1403 wrt_reg_dword(&reg->iobase_select, 0xB0100000); in qla25xx_fw_dump()
1406 wrt_reg_dword(&reg->iobase_select, 0xB0200000); in qla25xx_fw_dump()
1409 wrt_reg_dword(&reg->iobase_select, 0xB0300000); in qla25xx_fw_dump()
1412 wrt_reg_dword(&reg->iobase_select, 0xB0400000); in qla25xx_fw_dump()
1415 wrt_reg_dword(&reg->iobase_select, 0xB0500000); in qla25xx_fw_dump()
1418 wrt_reg_dword(&reg->iobase_select, 0xB0600000); in qla25xx_fw_dump()
1421 wrt_reg_dword(&reg->iobase_select, 0xB0700000); in qla25xx_fw_dump()
1424 wrt_reg_dword(&reg->iobase_select, 0xB0800000); in qla25xx_fw_dump()
1427 wrt_reg_dword(&reg->iobase_select, 0xB0900000); in qla25xx_fw_dump()
1430 wrt_reg_dword(&reg->iobase_select, 0xB0A00000); in qla25xx_fw_dump()
1434 wrt_reg_dword(&reg->iobase_addr, 0x0010); in qla25xx_fw_dump()
1439 for (cnt = 0; cnt < ARRAY_SIZE(fw->mailbox_reg); cnt++, mbx_reg++) in qla25xx_fw_dump()
1444 iter_reg = qla24xx_read_window(reg, 0xBF00, 16, iter_reg); in qla25xx_fw_dump()
1445 iter_reg = qla24xx_read_window(reg, 0xBF10, 16, iter_reg); in qla25xx_fw_dump()
1446 iter_reg = qla24xx_read_window(reg, 0xBF20, 16, iter_reg); in qla25xx_fw_dump()
1447 iter_reg = qla24xx_read_window(reg, 0xBF30, 16, iter_reg); in qla25xx_fw_dump()
1448 iter_reg = qla24xx_read_window(reg, 0xBF40, 16, iter_reg); in qla25xx_fw_dump()
1449 iter_reg = qla24xx_read_window(reg, 0xBF50, 16, iter_reg); in qla25xx_fw_dump()
1450 iter_reg = qla24xx_read_window(reg, 0xBF60, 16, iter_reg); in qla25xx_fw_dump()
1451 qla24xx_read_window(reg, 0xBF70, 16, iter_reg); in qla25xx_fw_dump()
1454 iter_reg = qla24xx_read_window(reg, 0xBFC0, 16, iter_reg); in qla25xx_fw_dump()
1455 iter_reg = qla24xx_read_window(reg, 0xBFD0, 16, iter_reg); in qla25xx_fw_dump()
1456 qla24xx_read_window(reg, 0xBFE0, 16, iter_reg); in qla25xx_fw_dump()
1458 qla24xx_read_window(reg, 0xBFF0, 16, fw->xseq_1_reg); in qla25xx_fw_dump()
1462 iter_reg = qla24xx_read_window(reg, 0xFF00, 16, iter_reg); in qla25xx_fw_dump()
1463 iter_reg = qla24xx_read_window(reg, 0xFF10, 16, iter_reg); in qla25xx_fw_dump()
1464 iter_reg = qla24xx_read_window(reg, 0xFF20, 16, iter_reg); in qla25xx_fw_dump()
1465 iter_reg = qla24xx_read_window(reg, 0xFF30, 16, iter_reg); in qla25xx_fw_dump()
1466 iter_reg = qla24xx_read_window(reg, 0xFF40, 16, iter_reg); in qla25xx_fw_dump()
1467 iter_reg = qla24xx_read_window(reg, 0xFF50, 16, iter_reg); in qla25xx_fw_dump()
1468 iter_reg = qla24xx_read_window(reg, 0xFF60, 16, iter_reg); in qla25xx_fw_dump()
1469 qla24xx_read_window(reg, 0xFF70, 16, iter_reg); in qla25xx_fw_dump()
1472 iter_reg = qla24xx_read_window(reg, 0xFFC0, 16, iter_reg); in qla25xx_fw_dump()
1473 qla24xx_read_window(reg, 0xFFD0, 16, iter_reg); in qla25xx_fw_dump()
1475 qla24xx_read_window(reg, 0xFFE0, 16, fw->rseq_1_reg); in qla25xx_fw_dump()
1476 qla24xx_read_window(reg, 0xFFF0, 16, fw->rseq_2_reg); in qla25xx_fw_dump()
1480 iter_reg = qla24xx_read_window(reg, 0xB000, 16, iter_reg); in qla25xx_fw_dump()
1481 iter_reg = qla24xx_read_window(reg, 0xB010, 16, iter_reg); in qla25xx_fw_dump()
1482 iter_reg = qla24xx_read_window(reg, 0xB020, 16, iter_reg); in qla25xx_fw_dump()
1483 iter_reg = qla24xx_read_window(reg, 0xB030, 16, iter_reg); in qla25xx_fw_dump()
1484 iter_reg = qla24xx_read_window(reg, 0xB040, 16, iter_reg); in qla25xx_fw_dump()
1485 iter_reg = qla24xx_read_window(reg, 0xB050, 16, iter_reg); in qla25xx_fw_dump()
1486 iter_reg = qla24xx_read_window(reg, 0xB060, 16, iter_reg); in qla25xx_fw_dump()
1487 qla24xx_read_window(reg, 0xB070, 16, iter_reg); in qla25xx_fw_dump()
1490 iter_reg = qla24xx_read_window(reg, 0xB0C0, 16, iter_reg); in qla25xx_fw_dump()
1491 qla24xx_read_window(reg, 0xB0D0, 16, iter_reg); in qla25xx_fw_dump()
1493 qla24xx_read_window(reg, 0xB0E0, 16, fw->aseq_1_reg); in qla25xx_fw_dump()
1494 qla24xx_read_window(reg, 0xB0F0, 16, fw->aseq_2_reg); in qla25xx_fw_dump()
1497 qla24xx_read_window(reg, 0x7100, 16, fw->cmd_dma_reg); in qla25xx_fw_dump()
1501 iter_reg = qla24xx_read_window(reg, 0x7200, 8, iter_reg); in qla25xx_fw_dump()
1503 for (cnt = 0; cnt < 7; cnt++, dmp_reg++) in qla25xx_fw_dump()
1507 iter_reg = qla24xx_read_window(reg, 0x7300, 8, iter_reg); in qla25xx_fw_dump()
1509 for (cnt = 0; cnt < 7; cnt++, dmp_reg++) in qla25xx_fw_dump()
1513 iter_reg = qla24xx_read_window(reg, 0x7400, 8, iter_reg); in qla25xx_fw_dump()
1515 for (cnt = 0; cnt < 7; cnt++, dmp_reg++) in qla25xx_fw_dump()
1520 iter_reg = qla24xx_read_window(reg, 0x7600, 16, iter_reg); in qla25xx_fw_dump()
1521 qla24xx_read_window(reg, 0x7610, 16, iter_reg); in qla25xx_fw_dump()
1524 iter_reg = qla24xx_read_window(reg, 0x7620, 16, iter_reg); in qla25xx_fw_dump()
1525 qla24xx_read_window(reg, 0x7630, 16, iter_reg); in qla25xx_fw_dump()
1528 iter_reg = qla24xx_read_window(reg, 0x7640, 16, iter_reg); in qla25xx_fw_dump()
1529 qla24xx_read_window(reg, 0x7650, 16, iter_reg); in qla25xx_fw_dump()
1532 iter_reg = qla24xx_read_window(reg, 0x7660, 16, iter_reg); in qla25xx_fw_dump()
1533 qla24xx_read_window(reg, 0x7670, 16, iter_reg); in qla25xx_fw_dump()
1536 iter_reg = qla24xx_read_window(reg, 0x7680, 16, iter_reg); in qla25xx_fw_dump()
1537 qla24xx_read_window(reg, 0x7690, 16, iter_reg); in qla25xx_fw_dump()
1539 qla24xx_read_window(reg, 0x76A0, 16, fw->xmt_data_dma_reg); in qla25xx_fw_dump()
1543 iter_reg = qla24xx_read_window(reg, 0x7700, 16, iter_reg); in qla25xx_fw_dump()
1544 qla24xx_read_window(reg, 0x7710, 16, iter_reg); in qla25xx_fw_dump()
1547 iter_reg = qla24xx_read_window(reg, 0x7720, 16, iter_reg); in qla25xx_fw_dump()
1548 qla24xx_read_window(reg, 0x7730, 16, iter_reg); in qla25xx_fw_dump()
1552 iter_reg = qla24xx_read_window(reg, 0x0F00, 16, iter_reg); in qla25xx_fw_dump()
1553 iter_reg = qla24xx_read_window(reg, 0x0F10, 16, iter_reg); in qla25xx_fw_dump()
1554 iter_reg = qla24xx_read_window(reg, 0x0F20, 16, iter_reg); in qla25xx_fw_dump()
1555 iter_reg = qla24xx_read_window(reg, 0x0F30, 16, iter_reg); in qla25xx_fw_dump()
1556 iter_reg = qla24xx_read_window(reg, 0x0F40, 16, iter_reg); in qla25xx_fw_dump()
1557 iter_reg = qla24xx_read_window(reg, 0x0F50, 16, iter_reg); in qla25xx_fw_dump()
1558 iter_reg = qla24xx_read_window(reg, 0x0F60, 16, iter_reg); in qla25xx_fw_dump()
1559 qla24xx_read_window(reg, 0x0F70, 16, iter_reg); in qla25xx_fw_dump()
1563 iter_reg = qla24xx_read_window(reg, 0x3000, 16, iter_reg); in qla25xx_fw_dump()
1564 iter_reg = qla24xx_read_window(reg, 0x3010, 16, iter_reg); in qla25xx_fw_dump()
1565 iter_reg = qla24xx_read_window(reg, 0x3020, 16, iter_reg); in qla25xx_fw_dump()
1566 iter_reg = qla24xx_read_window(reg, 0x3030, 16, iter_reg); in qla25xx_fw_dump()
1567 iter_reg = qla24xx_read_window(reg, 0x3040, 16, iter_reg); in qla25xx_fw_dump()
1568 iter_reg = qla24xx_read_window(reg, 0x3050, 16, iter_reg); in qla25xx_fw_dump()
1569 iter_reg = qla24xx_read_window(reg, 0x3060, 16, iter_reg); in qla25xx_fw_dump()
1570 qla24xx_read_window(reg, 0x3070, 16, iter_reg); in qla25xx_fw_dump()
1574 iter_reg = qla24xx_read_window(reg, 0x4000, 16, iter_reg); in qla25xx_fw_dump()
1575 iter_reg = qla24xx_read_window(reg, 0x4010, 16, iter_reg); in qla25xx_fw_dump()
1576 iter_reg = qla24xx_read_window(reg, 0x4020, 16, iter_reg); in qla25xx_fw_dump()
1577 iter_reg = qla24xx_read_window(reg, 0x4030, 16, iter_reg); in qla25xx_fw_dump()
1578 iter_reg = qla24xx_read_window(reg, 0x4040, 16, iter_reg); in qla25xx_fw_dump()
1579 iter_reg = qla24xx_read_window(reg, 0x4050, 16, iter_reg); in qla25xx_fw_dump()
1580 iter_reg = qla24xx_read_window(reg, 0x4060, 16, iter_reg); in qla25xx_fw_dump()
1581 iter_reg = qla24xx_read_window(reg, 0x4070, 16, iter_reg); in qla25xx_fw_dump()
1582 iter_reg = qla24xx_read_window(reg, 0x4080, 16, iter_reg); in qla25xx_fw_dump()
1583 iter_reg = qla24xx_read_window(reg, 0x4090, 16, iter_reg); in qla25xx_fw_dump()
1584 iter_reg = qla24xx_read_window(reg, 0x40A0, 16, iter_reg); in qla25xx_fw_dump()
1585 qla24xx_read_window(reg, 0x40B0, 16, iter_reg); in qla25xx_fw_dump()
1589 iter_reg = qla24xx_read_window(reg, 0x6000, 16, iter_reg); in qla25xx_fw_dump()
1590 iter_reg = qla24xx_read_window(reg, 0x6010, 16, iter_reg); in qla25xx_fw_dump()
1591 iter_reg = qla24xx_read_window(reg, 0x6020, 16, iter_reg); in qla25xx_fw_dump()
1592 iter_reg = qla24xx_read_window(reg, 0x6030, 16, iter_reg); in qla25xx_fw_dump()
1593 iter_reg = qla24xx_read_window(reg, 0x6040, 16, iter_reg); in qla25xx_fw_dump()
1594 iter_reg = qla24xx_read_window(reg, 0x6100, 16, iter_reg); in qla25xx_fw_dump()
1595 iter_reg = qla24xx_read_window(reg, 0x6130, 16, iter_reg); in qla25xx_fw_dump()
1596 iter_reg = qla24xx_read_window(reg, 0x6150, 16, iter_reg); in qla25xx_fw_dump()
1597 iter_reg = qla24xx_read_window(reg, 0x6170, 16, iter_reg); in qla25xx_fw_dump()
1598 iter_reg = qla24xx_read_window(reg, 0x6190, 16, iter_reg); in qla25xx_fw_dump()
1599 iter_reg = qla24xx_read_window(reg, 0x61B0, 16, iter_reg); in qla25xx_fw_dump()
1600 qla24xx_read_window(reg, 0x6F00, 16, iter_reg); in qla25xx_fw_dump()
1653 ha->fw_dump_cap_flags = 0; in qla81xx_fw_dump()
1656 ql_log(ql_log_warn, vha, 0xd00a, in qla81xx_fw_dump()
1662 ql_log(ql_log_warn, vha, 0xd00b, in qla81xx_fw_dump()
1681 iter_reg = qla24xx_read_window(reg, 0x7000, 16, iter_reg); in qla81xx_fw_dump()
1682 qla24xx_read_window(reg, 0x7010, 16, iter_reg); in qla81xx_fw_dump()
1685 wrt_reg_dword(&reg->iobase_addr, 0x7C00); in qla81xx_fw_dump()
1687 wrt_reg_dword(&reg->iobase_window, 0x01); in qla81xx_fw_dump()
1689 fw->pcie_regs[0] = htonl(rd_reg_dword(dmp_reg)); in qla81xx_fw_dump()
1696 wrt_reg_dword(&reg->iobase_window, 0x00); in qla81xx_fw_dump()
1701 for (cnt = 0; cnt < ARRAY_SIZE(fw->host_reg); cnt++, dmp_reg++) in qla81xx_fw_dump()
1705 wrt_reg_dword(&reg->ictrl, 0); in qla81xx_fw_dump()
1709 wrt_reg_dword(&reg->iobase_addr, 0x0F70); in qla81xx_fw_dump()
1711 wrt_reg_dword(&reg->iobase_select, 0xB0000000); in qla81xx_fw_dump()
1712 fw->shadow_reg[0] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla81xx_fw_dump()
1714 wrt_reg_dword(&reg->iobase_select, 0xB0100000); in qla81xx_fw_dump()
1717 wrt_reg_dword(&reg->iobase_select, 0xB0200000); in qla81xx_fw_dump()
1720 wrt_reg_dword(&reg->iobase_select, 0xB0300000); in qla81xx_fw_dump()
1723 wrt_reg_dword(&reg->iobase_select, 0xB0400000); in qla81xx_fw_dump()
1726 wrt_reg_dword(&reg->iobase_select, 0xB0500000); in qla81xx_fw_dump()
1729 wrt_reg_dword(&reg->iobase_select, 0xB0600000); in qla81xx_fw_dump()
1732 wrt_reg_dword(&reg->iobase_select, 0xB0700000); in qla81xx_fw_dump()
1735 wrt_reg_dword(&reg->iobase_select, 0xB0800000); in qla81xx_fw_dump()
1738 wrt_reg_dword(&reg->iobase_select, 0xB0900000); in qla81xx_fw_dump()
1741 wrt_reg_dword(&reg->iobase_select, 0xB0A00000); in qla81xx_fw_dump()
1745 wrt_reg_dword(&reg->iobase_addr, 0x0010); in qla81xx_fw_dump()
1750 for (cnt = 0; cnt < ARRAY_SIZE(fw->mailbox_reg); cnt++, mbx_reg++) in qla81xx_fw_dump()
1755 iter_reg = qla24xx_read_window(reg, 0xBF00, 16, iter_reg); in qla81xx_fw_dump()
1756 iter_reg = qla24xx_read_window(reg, 0xBF10, 16, iter_reg); in qla81xx_fw_dump()
1757 iter_reg = qla24xx_read_window(reg, 0xBF20, 16, iter_reg); in qla81xx_fw_dump()
1758 iter_reg = qla24xx_read_window(reg, 0xBF30, 16, iter_reg); in qla81xx_fw_dump()
1759 iter_reg = qla24xx_read_window(reg, 0xBF40, 16, iter_reg); in qla81xx_fw_dump()
1760 iter_reg = qla24xx_read_window(reg, 0xBF50, 16, iter_reg); in qla81xx_fw_dump()
1761 iter_reg = qla24xx_read_window(reg, 0xBF60, 16, iter_reg); in qla81xx_fw_dump()
1762 qla24xx_read_window(reg, 0xBF70, 16, iter_reg); in qla81xx_fw_dump()
1765 iter_reg = qla24xx_read_window(reg, 0xBFC0, 16, iter_reg); in qla81xx_fw_dump()
1766 iter_reg = qla24xx_read_window(reg, 0xBFD0, 16, iter_reg); in qla81xx_fw_dump()
1767 qla24xx_read_window(reg, 0xBFE0, 16, iter_reg); in qla81xx_fw_dump()
1769 qla24xx_read_window(reg, 0xBFF0, 16, fw->xseq_1_reg); in qla81xx_fw_dump()
1773 iter_reg = qla24xx_read_window(reg, 0xFF00, 16, iter_reg); in qla81xx_fw_dump()
1774 iter_reg = qla24xx_read_window(reg, 0xFF10, 16, iter_reg); in qla81xx_fw_dump()
1775 iter_reg = qla24xx_read_window(reg, 0xFF20, 16, iter_reg); in qla81xx_fw_dump()
1776 iter_reg = qla24xx_read_window(reg, 0xFF30, 16, iter_reg); in qla81xx_fw_dump()
1777 iter_reg = qla24xx_read_window(reg, 0xFF40, 16, iter_reg); in qla81xx_fw_dump()
1778 iter_reg = qla24xx_read_window(reg, 0xFF50, 16, iter_reg); in qla81xx_fw_dump()
1779 iter_reg = qla24xx_read_window(reg, 0xFF60, 16, iter_reg); in qla81xx_fw_dump()
1780 qla24xx_read_window(reg, 0xFF70, 16, iter_reg); in qla81xx_fw_dump()
1783 iter_reg = qla24xx_read_window(reg, 0xFFC0, 16, iter_reg); in qla81xx_fw_dump()
1784 qla24xx_read_window(reg, 0xFFD0, 16, iter_reg); in qla81xx_fw_dump()
1786 qla24xx_read_window(reg, 0xFFE0, 16, fw->rseq_1_reg); in qla81xx_fw_dump()
1787 qla24xx_read_window(reg, 0xFFF0, 16, fw->rseq_2_reg); in qla81xx_fw_dump()
1791 iter_reg = qla24xx_read_window(reg, 0xB000, 16, iter_reg); in qla81xx_fw_dump()
1792 iter_reg = qla24xx_read_window(reg, 0xB010, 16, iter_reg); in qla81xx_fw_dump()
1793 iter_reg = qla24xx_read_window(reg, 0xB020, 16, iter_reg); in qla81xx_fw_dump()
1794 iter_reg = qla24xx_read_window(reg, 0xB030, 16, iter_reg); in qla81xx_fw_dump()
1795 iter_reg = qla24xx_read_window(reg, 0xB040, 16, iter_reg); in qla81xx_fw_dump()
1796 iter_reg = qla24xx_read_window(reg, 0xB050, 16, iter_reg); in qla81xx_fw_dump()
1797 iter_reg = qla24xx_read_window(reg, 0xB060, 16, iter_reg); in qla81xx_fw_dump()
1798 qla24xx_read_window(reg, 0xB070, 16, iter_reg); in qla81xx_fw_dump()
1801 iter_reg = qla24xx_read_window(reg, 0xB0C0, 16, iter_reg); in qla81xx_fw_dump()
1802 qla24xx_read_window(reg, 0xB0D0, 16, iter_reg); in qla81xx_fw_dump()
1804 qla24xx_read_window(reg, 0xB0E0, 16, fw->aseq_1_reg); in qla81xx_fw_dump()
1805 qla24xx_read_window(reg, 0xB0F0, 16, fw->aseq_2_reg); in qla81xx_fw_dump()
1808 qla24xx_read_window(reg, 0x7100, 16, fw->cmd_dma_reg); in qla81xx_fw_dump()
1812 iter_reg = qla24xx_read_window(reg, 0x7200, 8, iter_reg); in qla81xx_fw_dump()
1814 for (cnt = 0; cnt < 7; cnt++, dmp_reg++) in qla81xx_fw_dump()
1818 iter_reg = qla24xx_read_window(reg, 0x7300, 8, iter_reg); in qla81xx_fw_dump()
1820 for (cnt = 0; cnt < 7; cnt++, dmp_reg++) in qla81xx_fw_dump()
1824 iter_reg = qla24xx_read_window(reg, 0x7400, 8, iter_reg); in qla81xx_fw_dump()
1826 for (cnt = 0; cnt < 7; cnt++, dmp_reg++) in qla81xx_fw_dump()
1831 iter_reg = qla24xx_read_window(reg, 0x7600, 16, iter_reg); in qla81xx_fw_dump()
1832 qla24xx_read_window(reg, 0x7610, 16, iter_reg); in qla81xx_fw_dump()
1835 iter_reg = qla24xx_read_window(reg, 0x7620, 16, iter_reg); in qla81xx_fw_dump()
1836 qla24xx_read_window(reg, 0x7630, 16, iter_reg); in qla81xx_fw_dump()
1839 iter_reg = qla24xx_read_window(reg, 0x7640, 16, iter_reg); in qla81xx_fw_dump()
1840 qla24xx_read_window(reg, 0x7650, 16, iter_reg); in qla81xx_fw_dump()
1843 iter_reg = qla24xx_read_window(reg, 0x7660, 16, iter_reg); in qla81xx_fw_dump()
1844 qla24xx_read_window(reg, 0x7670, 16, iter_reg); in qla81xx_fw_dump()
1847 iter_reg = qla24xx_read_window(reg, 0x7680, 16, iter_reg); in qla81xx_fw_dump()
1848 qla24xx_read_window(reg, 0x7690, 16, iter_reg); in qla81xx_fw_dump()
1850 qla24xx_read_window(reg, 0x76A0, 16, fw->xmt_data_dma_reg); in qla81xx_fw_dump()
1854 iter_reg = qla24xx_read_window(reg, 0x7700, 16, iter_reg); in qla81xx_fw_dump()
1855 qla24xx_read_window(reg, 0x7710, 16, iter_reg); in qla81xx_fw_dump()
1858 iter_reg = qla24xx_read_window(reg, 0x7720, 16, iter_reg); in qla81xx_fw_dump()
1859 qla24xx_read_window(reg, 0x7730, 16, iter_reg); in qla81xx_fw_dump()
1863 iter_reg = qla24xx_read_window(reg, 0x0F00, 16, iter_reg); in qla81xx_fw_dump()
1864 iter_reg = qla24xx_read_window(reg, 0x0F10, 16, iter_reg); in qla81xx_fw_dump()
1865 iter_reg = qla24xx_read_window(reg, 0x0F20, 16, iter_reg); in qla81xx_fw_dump()
1866 iter_reg = qla24xx_read_window(reg, 0x0F30, 16, iter_reg); in qla81xx_fw_dump()
1867 iter_reg = qla24xx_read_window(reg, 0x0F40, 16, iter_reg); in qla81xx_fw_dump()
1868 iter_reg = qla24xx_read_window(reg, 0x0F50, 16, iter_reg); in qla81xx_fw_dump()
1869 iter_reg = qla24xx_read_window(reg, 0x0F60, 16, iter_reg); in qla81xx_fw_dump()
1870 qla24xx_read_window(reg, 0x0F70, 16, iter_reg); in qla81xx_fw_dump()
1874 iter_reg = qla24xx_read_window(reg, 0x3000, 16, iter_reg); in qla81xx_fw_dump()
1875 iter_reg = qla24xx_read_window(reg, 0x3010, 16, iter_reg); in qla81xx_fw_dump()
1876 iter_reg = qla24xx_read_window(reg, 0x3020, 16, iter_reg); in qla81xx_fw_dump()
1877 iter_reg = qla24xx_read_window(reg, 0x3030, 16, iter_reg); in qla81xx_fw_dump()
1878 iter_reg = qla24xx_read_window(reg, 0x3040, 16, iter_reg); in qla81xx_fw_dump()
1879 iter_reg = qla24xx_read_window(reg, 0x3050, 16, iter_reg); in qla81xx_fw_dump()
1880 iter_reg = qla24xx_read_window(reg, 0x3060, 16, iter_reg); in qla81xx_fw_dump()
1881 qla24xx_read_window(reg, 0x3070, 16, iter_reg); in qla81xx_fw_dump()
1885 iter_reg = qla24xx_read_window(reg, 0x4000, 16, iter_reg); in qla81xx_fw_dump()
1886 iter_reg = qla24xx_read_window(reg, 0x4010, 16, iter_reg); in qla81xx_fw_dump()
1887 iter_reg = qla24xx_read_window(reg, 0x4020, 16, iter_reg); in qla81xx_fw_dump()
1888 iter_reg = qla24xx_read_window(reg, 0x4030, 16, iter_reg); in qla81xx_fw_dump()
1889 iter_reg = qla24xx_read_window(reg, 0x4040, 16, iter_reg); in qla81xx_fw_dump()
1890 iter_reg = qla24xx_read_window(reg, 0x4050, 16, iter_reg); in qla81xx_fw_dump()
1891 iter_reg = qla24xx_read_window(reg, 0x4060, 16, iter_reg); in qla81xx_fw_dump()
1892 iter_reg = qla24xx_read_window(reg, 0x4070, 16, iter_reg); in qla81xx_fw_dump()
1893 iter_reg = qla24xx_read_window(reg, 0x4080, 16, iter_reg); in qla81xx_fw_dump()
1894 iter_reg = qla24xx_read_window(reg, 0x4090, 16, iter_reg); in qla81xx_fw_dump()
1895 iter_reg = qla24xx_read_window(reg, 0x40A0, 16, iter_reg); in qla81xx_fw_dump()
1896 iter_reg = qla24xx_read_window(reg, 0x40B0, 16, iter_reg); in qla81xx_fw_dump()
1897 iter_reg = qla24xx_read_window(reg, 0x40C0, 16, iter_reg); in qla81xx_fw_dump()
1898 qla24xx_read_window(reg, 0x40D0, 16, iter_reg); in qla81xx_fw_dump()
1902 iter_reg = qla24xx_read_window(reg, 0x6000, 16, iter_reg); in qla81xx_fw_dump()
1903 iter_reg = qla24xx_read_window(reg, 0x6010, 16, iter_reg); in qla81xx_fw_dump()
1904 iter_reg = qla24xx_read_window(reg, 0x6020, 16, iter_reg); in qla81xx_fw_dump()
1905 iter_reg = qla24xx_read_window(reg, 0x6030, 16, iter_reg); in qla81xx_fw_dump()
1906 iter_reg = qla24xx_read_window(reg, 0x6040, 16, iter_reg); in qla81xx_fw_dump()
1907 iter_reg = qla24xx_read_window(reg, 0x6100, 16, iter_reg); in qla81xx_fw_dump()
1908 iter_reg = qla24xx_read_window(reg, 0x6130, 16, iter_reg); in qla81xx_fw_dump()
1909 iter_reg = qla24xx_read_window(reg, 0x6150, 16, iter_reg); in qla81xx_fw_dump()
1910 iter_reg = qla24xx_read_window(reg, 0x6170, 16, iter_reg); in qla81xx_fw_dump()
1911 iter_reg = qla24xx_read_window(reg, 0x6190, 16, iter_reg); in qla81xx_fw_dump()
1912 iter_reg = qla24xx_read_window(reg, 0x61B0, 16, iter_reg); in qla81xx_fw_dump()
1913 iter_reg = qla24xx_read_window(reg, 0x61C0, 16, iter_reg); in qla81xx_fw_dump()
1914 qla24xx_read_window(reg, 0x6F00, 16, iter_reg); in qla81xx_fw_dump()
1968 ha->fw_dump_cap_flags = 0; in qla83xx_fw_dump()
1971 ql_log(ql_log_warn, vha, 0xd00c, in qla83xx_fw_dump()
1977 ql_log(ql_log_warn, vha, 0xd00d, in qla83xx_fw_dump()
1994 wrt_reg_dword(&reg->iobase_addr, 0x6000); in qla83xx_fw_dump()
1997 wrt_reg_dword(dmp_reg, 0); in qla83xx_fw_dump()
1999 dmp_reg = &reg->unused_4_1[0]; in qla83xx_fw_dump()
2001 wrt_reg_dword(dmp_reg, 0); in qla83xx_fw_dump()
2003 wrt_reg_dword(&reg->iobase_addr, 0x6010); in qla83xx_fw_dump()
2006 wrt_reg_dword(dmp_reg, 0); in qla83xx_fw_dump()
2009 wrt_reg_dword(&reg->iobase_addr, 0x0F70); in qla83xx_fw_dump()
2011 wrt_reg_dword(&reg->iobase_select, 0x60000000); /* write to F0h = PCR */ in qla83xx_fw_dump()
2015 iter_reg = qla24xx_read_window(reg, 0x7000, 16, iter_reg); in qla83xx_fw_dump()
2016 iter_reg = qla24xx_read_window(reg, 0x7010, 16, iter_reg); in qla83xx_fw_dump()
2017 qla24xx_read_window(reg, 0x7040, 16, iter_reg); in qla83xx_fw_dump()
2020 wrt_reg_dword(&reg->iobase_addr, 0x7C00); in qla83xx_fw_dump()
2022 wrt_reg_dword(&reg->iobase_window, 0x01); in qla83xx_fw_dump()
2024 fw->pcie_regs[0] = htonl(rd_reg_dword(dmp_reg)); in qla83xx_fw_dump()
2031 wrt_reg_dword(&reg->iobase_window, 0x00); in qla83xx_fw_dump()
2036 for (cnt = 0; cnt < ARRAY_SIZE(fw->host_reg); cnt++, dmp_reg++) in qla83xx_fw_dump()
2040 wrt_reg_dword(&reg->ictrl, 0); in qla83xx_fw_dump()
2044 wrt_reg_dword(&reg->iobase_addr, 0x0F70); in qla83xx_fw_dump()
2046 wrt_reg_dword(&reg->iobase_select, 0xB0000000); in qla83xx_fw_dump()
2047 fw->shadow_reg[0] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla83xx_fw_dump()
2049 wrt_reg_dword(&reg->iobase_select, 0xB0100000); in qla83xx_fw_dump()
2052 wrt_reg_dword(&reg->iobase_select, 0xB0200000); in qla83xx_fw_dump()
2055 wrt_reg_dword(&reg->iobase_select, 0xB0300000); in qla83xx_fw_dump()
2058 wrt_reg_dword(&reg->iobase_select, 0xB0400000); in qla83xx_fw_dump()
2061 wrt_reg_dword(&reg->iobase_select, 0xB0500000); in qla83xx_fw_dump()
2064 wrt_reg_dword(&reg->iobase_select, 0xB0600000); in qla83xx_fw_dump()
2067 wrt_reg_dword(&reg->iobase_select, 0xB0700000); in qla83xx_fw_dump()
2070 wrt_reg_dword(&reg->iobase_select, 0xB0800000); in qla83xx_fw_dump()
2073 wrt_reg_dword(&reg->iobase_select, 0xB0900000); in qla83xx_fw_dump()
2076 wrt_reg_dword(&reg->iobase_select, 0xB0A00000); in qla83xx_fw_dump()
2080 wrt_reg_dword(&reg->iobase_addr, 0x0010); in qla83xx_fw_dump()
2085 for (cnt = 0; cnt < ARRAY_SIZE(fw->mailbox_reg); cnt++, mbx_reg++) in qla83xx_fw_dump()
2090 iter_reg = qla24xx_read_window(reg, 0xBE00, 16, iter_reg); in qla83xx_fw_dump()
2091 iter_reg = qla24xx_read_window(reg, 0xBE10, 16, iter_reg); in qla83xx_fw_dump()
2092 iter_reg = qla24xx_read_window(reg, 0xBE20, 16, iter_reg); in qla83xx_fw_dump()
2093 iter_reg = qla24xx_read_window(reg, 0xBE30, 16, iter_reg); in qla83xx_fw_dump()
2094 iter_reg = qla24xx_read_window(reg, 0xBE40, 16, iter_reg); in qla83xx_fw_dump()
2095 iter_reg = qla24xx_read_window(reg, 0xBE50, 16, iter_reg); in qla83xx_fw_dump()
2096 iter_reg = qla24xx_read_window(reg, 0xBE60, 16, iter_reg); in qla83xx_fw_dump()
2097 iter_reg = qla24xx_read_window(reg, 0xBE70, 16, iter_reg); in qla83xx_fw_dump()
2098 iter_reg = qla24xx_read_window(reg, 0xBF00, 16, iter_reg); in qla83xx_fw_dump()
2099 iter_reg = qla24xx_read_window(reg, 0xBF10, 16, iter_reg); in qla83xx_fw_dump()
2100 iter_reg = qla24xx_read_window(reg, 0xBF20, 16, iter_reg); in qla83xx_fw_dump()
2101 iter_reg = qla24xx_read_window(reg, 0xBF30, 16, iter_reg); in qla83xx_fw_dump()
2102 iter_reg = qla24xx_read_window(reg, 0xBF40, 16, iter_reg); in qla83xx_fw_dump()
2103 iter_reg = qla24xx_read_window(reg, 0xBF50, 16, iter_reg); in qla83xx_fw_dump()
2104 iter_reg = qla24xx_read_window(reg, 0xBF60, 16, iter_reg); in qla83xx_fw_dump()
2105 qla24xx_read_window(reg, 0xBF70, 16, iter_reg); in qla83xx_fw_dump()
2108 iter_reg = qla24xx_read_window(reg, 0xBFC0, 16, iter_reg); in qla83xx_fw_dump()
2109 iter_reg = qla24xx_read_window(reg, 0xBFD0, 16, iter_reg); in qla83xx_fw_dump()
2110 qla24xx_read_window(reg, 0xBFE0, 16, iter_reg); in qla83xx_fw_dump()
2112 qla24xx_read_window(reg, 0xBFF0, 16, fw->xseq_1_reg); in qla83xx_fw_dump()
2114 qla24xx_read_window(reg, 0xBEF0, 16, fw->xseq_2_reg); in qla83xx_fw_dump()
2118 iter_reg = qla24xx_read_window(reg, 0xFE00, 16, iter_reg); in qla83xx_fw_dump()
2119 iter_reg = qla24xx_read_window(reg, 0xFE10, 16, iter_reg); in qla83xx_fw_dump()
2120 iter_reg = qla24xx_read_window(reg, 0xFE20, 16, iter_reg); in qla83xx_fw_dump()
2121 iter_reg = qla24xx_read_window(reg, 0xFE30, 16, iter_reg); in qla83xx_fw_dump()
2122 iter_reg = qla24xx_read_window(reg, 0xFE40, 16, iter_reg); in qla83xx_fw_dump()
2123 iter_reg = qla24xx_read_window(reg, 0xFE50, 16, iter_reg); in qla83xx_fw_dump()
2124 iter_reg = qla24xx_read_window(reg, 0xFE60, 16, iter_reg); in qla83xx_fw_dump()
2125 iter_reg = qla24xx_read_window(reg, 0xFE70, 16, iter_reg); in qla83xx_fw_dump()
2126 iter_reg = qla24xx_read_window(reg, 0xFF00, 16, iter_reg); in qla83xx_fw_dump()
2127 iter_reg = qla24xx_read_window(reg, 0xFF10, 16, iter_reg); in qla83xx_fw_dump()
2128 iter_reg = qla24xx_read_window(reg, 0xFF20, 16, iter_reg); in qla83xx_fw_dump()
2129 iter_reg = qla24xx_read_window(reg, 0xFF30, 16, iter_reg); in qla83xx_fw_dump()
2130 iter_reg = qla24xx_read_window(reg, 0xFF40, 16, iter_reg); in qla83xx_fw_dump()
2131 iter_reg = qla24xx_read_window(reg, 0xFF50, 16, iter_reg); in qla83xx_fw_dump()
2132 iter_reg = qla24xx_read_window(reg, 0xFF60, 16, iter_reg); in qla83xx_fw_dump()
2133 qla24xx_read_window(reg, 0xFF70, 16, iter_reg); in qla83xx_fw_dump()
2136 iter_reg = qla24xx_read_window(reg, 0xFFC0, 16, iter_reg); in qla83xx_fw_dump()
2137 qla24xx_read_window(reg, 0xFFD0, 16, iter_reg); in qla83xx_fw_dump()
2139 qla24xx_read_window(reg, 0xFFE0, 16, fw->rseq_1_reg); in qla83xx_fw_dump()
2140 qla24xx_read_window(reg, 0xFFF0, 16, fw->rseq_2_reg); in qla83xx_fw_dump()
2141 qla24xx_read_window(reg, 0xFEF0, 16, fw->rseq_3_reg); in qla83xx_fw_dump()
2145 iter_reg = qla24xx_read_window(reg, 0xB000, 16, iter_reg); in qla83xx_fw_dump()
2146 iter_reg = qla24xx_read_window(reg, 0xB010, 16, iter_reg); in qla83xx_fw_dump()
2147 iter_reg = qla24xx_read_window(reg, 0xB020, 16, iter_reg); in qla83xx_fw_dump()
2148 iter_reg = qla24xx_read_window(reg, 0xB030, 16, iter_reg); in qla83xx_fw_dump()
2149 iter_reg = qla24xx_read_window(reg, 0xB040, 16, iter_reg); in qla83xx_fw_dump()
2150 iter_reg = qla24xx_read_window(reg, 0xB050, 16, iter_reg); in qla83xx_fw_dump()
2151 iter_reg = qla24xx_read_window(reg, 0xB060, 16, iter_reg); in qla83xx_fw_dump()
2152 iter_reg = qla24xx_read_window(reg, 0xB070, 16, iter_reg); in qla83xx_fw_dump()
2153 iter_reg = qla24xx_read_window(reg, 0xB100, 16, iter_reg); in qla83xx_fw_dump()
2154 iter_reg = qla24xx_read_window(reg, 0xB110, 16, iter_reg); in qla83xx_fw_dump()
2155 iter_reg = qla24xx_read_window(reg, 0xB120, 16, iter_reg); in qla83xx_fw_dump()
2156 iter_reg = qla24xx_read_window(reg, 0xB130, 16, iter_reg); in qla83xx_fw_dump()
2157 iter_reg = qla24xx_read_window(reg, 0xB140, 16, iter_reg); in qla83xx_fw_dump()
2158 iter_reg = qla24xx_read_window(reg, 0xB150, 16, iter_reg); in qla83xx_fw_dump()
2159 iter_reg = qla24xx_read_window(reg, 0xB160, 16, iter_reg); in qla83xx_fw_dump()
2160 qla24xx_read_window(reg, 0xB170, 16, iter_reg); in qla83xx_fw_dump()
2163 iter_reg = qla24xx_read_window(reg, 0xB0C0, 16, iter_reg); in qla83xx_fw_dump()
2164 qla24xx_read_window(reg, 0xB0D0, 16, iter_reg); in qla83xx_fw_dump()
2166 qla24xx_read_window(reg, 0xB0E0, 16, fw->aseq_1_reg); in qla83xx_fw_dump()
2167 qla24xx_read_window(reg, 0xB0F0, 16, fw->aseq_2_reg); in qla83xx_fw_dump()
2168 qla24xx_read_window(reg, 0xB1F0, 16, fw->aseq_3_reg); in qla83xx_fw_dump()
2172 iter_reg = qla24xx_read_window(reg, 0x7100, 16, iter_reg); in qla83xx_fw_dump()
2173 iter_reg = qla24xx_read_window(reg, 0x7120, 16, iter_reg); in qla83xx_fw_dump()
2174 iter_reg = qla24xx_read_window(reg, 0x7130, 16, iter_reg); in qla83xx_fw_dump()
2175 qla24xx_read_window(reg, 0x71F0, 16, iter_reg); in qla83xx_fw_dump()
2179 iter_reg = qla24xx_read_window(reg, 0x7200, 8, iter_reg); in qla83xx_fw_dump()
2181 for (cnt = 0; cnt < 7; cnt++, dmp_reg++) in qla83xx_fw_dump()
2185 iter_reg = qla24xx_read_window(reg, 0x7300, 8, iter_reg); in qla83xx_fw_dump()
2187 for (cnt = 0; cnt < 7; cnt++, dmp_reg++) in qla83xx_fw_dump()
2191 iter_reg = qla24xx_read_window(reg, 0x7400, 8, iter_reg); in qla83xx_fw_dump()
2193 for (cnt = 0; cnt < 7; cnt++, dmp_reg++) in qla83xx_fw_dump()
2198 iter_reg = qla24xx_read_window(reg, 0x7600, 16, iter_reg); in qla83xx_fw_dump()
2199 qla24xx_read_window(reg, 0x7610, 16, iter_reg); in qla83xx_fw_dump()
2202 iter_reg = qla24xx_read_window(reg, 0x7620, 16, iter_reg); in qla83xx_fw_dump()
2203 qla24xx_read_window(reg, 0x7630, 16, iter_reg); in qla83xx_fw_dump()
2206 iter_reg = qla24xx_read_window(reg, 0x7640, 16, iter_reg); in qla83xx_fw_dump()
2207 qla24xx_read_window(reg, 0x7650, 16, iter_reg); in qla83xx_fw_dump()
2210 iter_reg = qla24xx_read_window(reg, 0x7660, 16, iter_reg); in qla83xx_fw_dump()
2211 qla24xx_read_window(reg, 0x7670, 16, iter_reg); in qla83xx_fw_dump()
2214 iter_reg = qla24xx_read_window(reg, 0x7680, 16, iter_reg); in qla83xx_fw_dump()
2215 qla24xx_read_window(reg, 0x7690, 16, iter_reg); in qla83xx_fw_dump()
2217 qla24xx_read_window(reg, 0x76A0, 16, fw->xmt_data_dma_reg); in qla83xx_fw_dump()
2221 iter_reg = qla24xx_read_window(reg, 0x7700, 16, iter_reg); in qla83xx_fw_dump()
2222 qla24xx_read_window(reg, 0x7710, 16, iter_reg); in qla83xx_fw_dump()
2225 iter_reg = qla24xx_read_window(reg, 0x7720, 16, iter_reg); in qla83xx_fw_dump()
2226 qla24xx_read_window(reg, 0x7730, 16, iter_reg); in qla83xx_fw_dump()
2230 iter_reg = qla24xx_read_window(reg, 0x0F00, 16, iter_reg); in qla83xx_fw_dump()
2231 iter_reg = qla24xx_read_window(reg, 0x0F10, 16, iter_reg); in qla83xx_fw_dump()
2232 iter_reg = qla24xx_read_window(reg, 0x0F20, 16, iter_reg); in qla83xx_fw_dump()
2233 iter_reg = qla24xx_read_window(reg, 0x0F30, 16, iter_reg); in qla83xx_fw_dump()
2234 iter_reg = qla24xx_read_window(reg, 0x0F40, 16, iter_reg); in qla83xx_fw_dump()
2235 iter_reg = qla24xx_read_window(reg, 0x0F50, 16, iter_reg); in qla83xx_fw_dump()
2236 iter_reg = qla24xx_read_window(reg, 0x0F60, 16, iter_reg); in qla83xx_fw_dump()
2237 qla24xx_read_window(reg, 0x0F70, 16, iter_reg); in qla83xx_fw_dump()
2241 iter_reg = qla24xx_read_window(reg, 0x3000, 16, iter_reg); in qla83xx_fw_dump()
2242 iter_reg = qla24xx_read_window(reg, 0x3010, 16, iter_reg); in qla83xx_fw_dump()
2243 iter_reg = qla24xx_read_window(reg, 0x3020, 16, iter_reg); in qla83xx_fw_dump()
2244 iter_reg = qla24xx_read_window(reg, 0x3030, 16, iter_reg); in qla83xx_fw_dump()
2245 iter_reg = qla24xx_read_window(reg, 0x3040, 16, iter_reg); in qla83xx_fw_dump()
2246 iter_reg = qla24xx_read_window(reg, 0x3050, 16, iter_reg); in qla83xx_fw_dump()
2247 iter_reg = qla24xx_read_window(reg, 0x3060, 16, iter_reg); in qla83xx_fw_dump()
2248 qla24xx_read_window(reg, 0x3070, 16, iter_reg); in qla83xx_fw_dump()
2252 iter_reg = qla24xx_read_window(reg, 0x4000, 16, iter_reg); in qla83xx_fw_dump()
2253 iter_reg = qla24xx_read_window(reg, 0x4010, 16, iter_reg); in qla83xx_fw_dump()
2254 iter_reg = qla24xx_read_window(reg, 0x4020, 16, iter_reg); in qla83xx_fw_dump()
2255 iter_reg = qla24xx_read_window(reg, 0x4030, 16, iter_reg); in qla83xx_fw_dump()
2256 iter_reg = qla24xx_read_window(reg, 0x4040, 16, iter_reg); in qla83xx_fw_dump()
2257 iter_reg = qla24xx_read_window(reg, 0x4050, 16, iter_reg); in qla83xx_fw_dump()
2258 iter_reg = qla24xx_read_window(reg, 0x4060, 16, iter_reg); in qla83xx_fw_dump()
2259 iter_reg = qla24xx_read_window(reg, 0x4070, 16, iter_reg); in qla83xx_fw_dump()
2260 iter_reg = qla24xx_read_window(reg, 0x4080, 16, iter_reg); in qla83xx_fw_dump()
2261 iter_reg = qla24xx_read_window(reg, 0x4090, 16, iter_reg); in qla83xx_fw_dump()
2262 iter_reg = qla24xx_read_window(reg, 0x40A0, 16, iter_reg); in qla83xx_fw_dump()
2263 iter_reg = qla24xx_read_window(reg, 0x40B0, 16, iter_reg); in qla83xx_fw_dump()
2264 iter_reg = qla24xx_read_window(reg, 0x40C0, 16, iter_reg); in qla83xx_fw_dump()
2265 iter_reg = qla24xx_read_window(reg, 0x40D0, 16, iter_reg); in qla83xx_fw_dump()
2266 iter_reg = qla24xx_read_window(reg, 0x40E0, 16, iter_reg); in qla83xx_fw_dump()
2267 qla24xx_read_window(reg, 0x40F0, 16, iter_reg); in qla83xx_fw_dump()
2271 iter_reg = qla24xx_read_window(reg, 0x5C00, 16, iter_reg); in qla83xx_fw_dump()
2272 iter_reg = qla24xx_read_window(reg, 0x5C10, 16, iter_reg); in qla83xx_fw_dump()
2273 iter_reg = qla24xx_read_window(reg, 0x5C20, 16, iter_reg); in qla83xx_fw_dump()
2274 iter_reg = qla24xx_read_window(reg, 0x5C30, 16, iter_reg); in qla83xx_fw_dump()
2275 iter_reg = qla24xx_read_window(reg, 0x5C40, 16, iter_reg); in qla83xx_fw_dump()
2276 iter_reg = qla24xx_read_window(reg, 0x5C50, 16, iter_reg); in qla83xx_fw_dump()
2277 iter_reg = qla24xx_read_window(reg, 0x5C60, 16, iter_reg); in qla83xx_fw_dump()
2278 iter_reg = qla24xx_read_window(reg, 0x5C70, 16, iter_reg); in qla83xx_fw_dump()
2279 iter_reg = qla24xx_read_window(reg, 0x5C80, 16, iter_reg); in qla83xx_fw_dump()
2280 iter_reg = qla24xx_read_window(reg, 0x5C90, 16, iter_reg); in qla83xx_fw_dump()
2281 iter_reg = qla24xx_read_window(reg, 0x5CA0, 16, iter_reg); in qla83xx_fw_dump()
2282 iter_reg = qla24xx_read_window(reg, 0x5CB0, 16, iter_reg); in qla83xx_fw_dump()
2283 iter_reg = qla24xx_read_window(reg, 0x5CC0, 16, iter_reg); in qla83xx_fw_dump()
2284 iter_reg = qla24xx_read_window(reg, 0x5CD0, 16, iter_reg); in qla83xx_fw_dump()
2285 iter_reg = qla24xx_read_window(reg, 0x5CE0, 16, iter_reg); in qla83xx_fw_dump()
2286 qla24xx_read_window(reg, 0x5CF0, 16, iter_reg); in qla83xx_fw_dump()
2290 iter_reg = qla24xx_read_window(reg, 0x5D00, 16, iter_reg); in qla83xx_fw_dump()
2291 iter_reg = qla24xx_read_window(reg, 0x5D10, 16, iter_reg); in qla83xx_fw_dump()
2292 iter_reg = qla24xx_read_window(reg, 0x5D20, 16, iter_reg); in qla83xx_fw_dump()
2293 iter_reg = qla24xx_read_window(reg, 0x5D30, 16, iter_reg); in qla83xx_fw_dump()
2294 iter_reg = qla24xx_read_window(reg, 0x5D40, 16, iter_reg); in qla83xx_fw_dump()
2295 iter_reg = qla24xx_read_window(reg, 0x5D50, 16, iter_reg); in qla83xx_fw_dump()
2296 iter_reg = qla24xx_read_window(reg, 0x5D60, 16, iter_reg); in qla83xx_fw_dump()
2297 iter_reg = qla24xx_read_window(reg, 0x5D70, 16, iter_reg); in qla83xx_fw_dump()
2298 iter_reg = qla24xx_read_window(reg, 0x5D80, 16, iter_reg); in qla83xx_fw_dump()
2299 iter_reg = qla24xx_read_window(reg, 0x5D90, 16, iter_reg); in qla83xx_fw_dump()
2300 iter_reg = qla24xx_read_window(reg, 0x5DA0, 16, iter_reg); in qla83xx_fw_dump()
2301 iter_reg = qla24xx_read_window(reg, 0x5DB0, 16, iter_reg); in qla83xx_fw_dump()
2302 iter_reg = qla24xx_read_window(reg, 0x5DC0, 16, iter_reg); in qla83xx_fw_dump()
2303 iter_reg = qla24xx_read_window(reg, 0x5DD0, 16, iter_reg); in qla83xx_fw_dump()
2304 iter_reg = qla24xx_read_window(reg, 0x5DE0, 16, iter_reg); in qla83xx_fw_dump()
2305 qla24xx_read_window(reg, 0x5DF0, 16, iter_reg); in qla83xx_fw_dump()
2309 iter_reg = qla24xx_read_window(reg, 0x5E00, 16, iter_reg); in qla83xx_fw_dump()
2310 iter_reg = qla24xx_read_window(reg, 0x5E10, 16, iter_reg); in qla83xx_fw_dump()
2311 iter_reg = qla24xx_read_window(reg, 0x5E20, 16, iter_reg); in qla83xx_fw_dump()
2312 iter_reg = qla24xx_read_window(reg, 0x5E30, 16, iter_reg); in qla83xx_fw_dump()
2313 iter_reg = qla24xx_read_window(reg, 0x5E40, 16, iter_reg); in qla83xx_fw_dump()
2314 iter_reg = qla24xx_read_window(reg, 0x5E50, 16, iter_reg); in qla83xx_fw_dump()
2315 iter_reg = qla24xx_read_window(reg, 0x5E60, 16, iter_reg); in qla83xx_fw_dump()
2316 iter_reg = qla24xx_read_window(reg, 0x5E70, 16, iter_reg); in qla83xx_fw_dump()
2317 iter_reg = qla24xx_read_window(reg, 0x5E80, 16, iter_reg); in qla83xx_fw_dump()
2318 iter_reg = qla24xx_read_window(reg, 0x5E90, 16, iter_reg); in qla83xx_fw_dump()
2319 iter_reg = qla24xx_read_window(reg, 0x5EA0, 16, iter_reg); in qla83xx_fw_dump()
2320 iter_reg = qla24xx_read_window(reg, 0x5EB0, 16, iter_reg); in qla83xx_fw_dump()
2321 iter_reg = qla24xx_read_window(reg, 0x5EC0, 16, iter_reg); in qla83xx_fw_dump()
2322 iter_reg = qla24xx_read_window(reg, 0x5ED0, 16, iter_reg); in qla83xx_fw_dump()
2323 iter_reg = qla24xx_read_window(reg, 0x5EE0, 16, iter_reg); in qla83xx_fw_dump()
2324 qla24xx_read_window(reg, 0x5EF0, 16, iter_reg); in qla83xx_fw_dump()
2328 iter_reg = qla24xx_read_window(reg, 0x5F00, 16, iter_reg); in qla83xx_fw_dump()
2329 iter_reg = qla24xx_read_window(reg, 0x5F10, 16, iter_reg); in qla83xx_fw_dump()
2330 iter_reg = qla24xx_read_window(reg, 0x5F20, 16, iter_reg); in qla83xx_fw_dump()
2331 iter_reg = qla24xx_read_window(reg, 0x5F30, 16, iter_reg); in qla83xx_fw_dump()
2332 iter_reg = qla24xx_read_window(reg, 0x5F40, 16, iter_reg); in qla83xx_fw_dump()
2333 iter_reg = qla24xx_read_window(reg, 0x5F50, 16, iter_reg); in qla83xx_fw_dump()
2334 iter_reg = qla24xx_read_window(reg, 0x5F60, 16, iter_reg); in qla83xx_fw_dump()
2335 iter_reg = qla24xx_read_window(reg, 0x5F70, 16, iter_reg); in qla83xx_fw_dump()
2336 iter_reg = qla24xx_read_window(reg, 0x5F80, 16, iter_reg); in qla83xx_fw_dump()
2337 iter_reg = qla24xx_read_window(reg, 0x5F90, 16, iter_reg); in qla83xx_fw_dump()
2338 iter_reg = qla24xx_read_window(reg, 0x5FA0, 16, iter_reg); in qla83xx_fw_dump()
2339 iter_reg = qla24xx_read_window(reg, 0x5FB0, 16, iter_reg); in qla83xx_fw_dump()
2340 iter_reg = qla24xx_read_window(reg, 0x5FC0, 16, iter_reg); in qla83xx_fw_dump()
2341 iter_reg = qla24xx_read_window(reg, 0x5FD0, 16, iter_reg); in qla83xx_fw_dump()
2342 iter_reg = qla24xx_read_window(reg, 0x5FE0, 16, iter_reg); in qla83xx_fw_dump()
2343 qla24xx_read_window(reg, 0x5FF0, 16, iter_reg); in qla83xx_fw_dump()
2346 iter_reg = qla24xx_read_window(reg, 0x7080, 16, iter_reg); in qla83xx_fw_dump()
2347 iter_reg = qla24xx_read_window(reg, 0x7090, 16, iter_reg); in qla83xx_fw_dump()
2348 iter_reg = qla24xx_read_window(reg, 0x70A0, 16, iter_reg); in qla83xx_fw_dump()
2349 iter_reg = qla24xx_read_window(reg, 0x70B0, 16, iter_reg); in qla83xx_fw_dump()
2350 iter_reg = qla24xx_read_window(reg, 0x70C0, 16, iter_reg); in qla83xx_fw_dump()
2351 iter_reg = qla24xx_read_window(reg, 0x70D0, 16, iter_reg); in qla83xx_fw_dump()
2352 iter_reg = qla24xx_read_window(reg, 0x70E0, 16, iter_reg); in qla83xx_fw_dump()
2353 qla24xx_read_window(reg, 0x70F0, 16, iter_reg); in qla83xx_fw_dump()
2356 qla24xx_read_window(reg, 0x7800, 16, fw->queue_control_reg); in qla83xx_fw_dump()
2360 iter_reg = qla24xx_read_window(reg, 0x6000, 16, iter_reg); in qla83xx_fw_dump()
2361 iter_reg = qla24xx_read_window(reg, 0x6010, 16, iter_reg); in qla83xx_fw_dump()
2362 iter_reg = qla24xx_read_window(reg, 0x6020, 16, iter_reg); in qla83xx_fw_dump()
2363 iter_reg = qla24xx_read_window(reg, 0x6030, 16, iter_reg); in qla83xx_fw_dump()
2364 iter_reg = qla24xx_read_window(reg, 0x6040, 16, iter_reg); in qla83xx_fw_dump()
2365 iter_reg = qla24xx_read_window(reg, 0x6060, 16, iter_reg); in qla83xx_fw_dump()
2366 iter_reg = qla24xx_read_window(reg, 0x6070, 16, iter_reg); in qla83xx_fw_dump()
2367 iter_reg = qla24xx_read_window(reg, 0x6100, 16, iter_reg); in qla83xx_fw_dump()
2368 iter_reg = qla24xx_read_window(reg, 0x6130, 16, iter_reg); in qla83xx_fw_dump()
2369 iter_reg = qla24xx_read_window(reg, 0x6150, 16, iter_reg); in qla83xx_fw_dump()
2370 iter_reg = qla24xx_read_window(reg, 0x6170, 16, iter_reg); in qla83xx_fw_dump()
2371 iter_reg = qla24xx_read_window(reg, 0x6190, 16, iter_reg); in qla83xx_fw_dump()
2372 iter_reg = qla24xx_read_window(reg, 0x61B0, 16, iter_reg); in qla83xx_fw_dump()
2373 iter_reg = qla24xx_read_window(reg, 0x61C0, 16, iter_reg); in qla83xx_fw_dump()
2374 iter_reg = qla24xx_read_window(reg, 0x6530, 16, iter_reg); in qla83xx_fw_dump()
2375 iter_reg = qla24xx_read_window(reg, 0x6540, 16, iter_reg); in qla83xx_fw_dump()
2376 iter_reg = qla24xx_read_window(reg, 0x6550, 16, iter_reg); in qla83xx_fw_dump()
2377 iter_reg = qla24xx_read_window(reg, 0x6560, 16, iter_reg); in qla83xx_fw_dump()
2378 iter_reg = qla24xx_read_window(reg, 0x6570, 16, iter_reg); in qla83xx_fw_dump()
2379 iter_reg = qla24xx_read_window(reg, 0x6580, 16, iter_reg); in qla83xx_fw_dump()
2380 iter_reg = qla24xx_read_window(reg, 0x6590, 16, iter_reg); in qla83xx_fw_dump()
2381 iter_reg = qla24xx_read_window(reg, 0x65A0, 16, iter_reg); in qla83xx_fw_dump()
2382 iter_reg = qla24xx_read_window(reg, 0x65B0, 16, iter_reg); in qla83xx_fw_dump()
2383 iter_reg = qla24xx_read_window(reg, 0x65C0, 16, iter_reg); in qla83xx_fw_dump()
2384 iter_reg = qla24xx_read_window(reg, 0x65D0, 16, iter_reg); in qla83xx_fw_dump()
2385 iter_reg = qla24xx_read_window(reg, 0x65E0, 16, iter_reg); in qla83xx_fw_dump()
2386 qla24xx_read_window(reg, 0x6F00, 16, iter_reg); in qla83xx_fw_dump()
2394 ql_log(ql_log_warn, vha, 0xd00e, in qla83xx_fw_dump()
2398 ql_log(ql_log_warn, vha, 0xd00f, "try a bigger hammer!!!\n"); in qla83xx_fw_dump()
2415 nxt += (ha->fw_memory_size - 0x100000 + 1); in qla83xx_fw_dump()
2419 ql_log(ql_log_warn, vha, 0xd010, in qla83xx_fw_dump()
2501 if (!pbuf[0]) /* set by ql_ktrace */ in ql_dbg()
2549 if (!pbuf[0]) /* set by ql_ktrace */ in ql_dbg_pci()
2580 ql_ktrace(0, level, pbuf, NULL, vha, id, fmt); in ql_log()
2582 if (!pbuf[0]) /* set by ql_ktrace */ in ql_log()
2634 ql_ktrace(0, level, pbuf, pdev, NULL, id, fmt); in ql_log_pci()
2636 if (!pbuf[0]) /* set by ql_ktrace */ in ql_log_pci()
2676 mbx_reg = &reg82->mailbox_in[0]; in ql_dump_regs()
2680 mbx_reg = MAILBOX_REG(ha, reg, 0); in ql_dump_regs()
2683 for (i = 0; i < 6; i++, mbx_reg++) in ql_dump_regs()
2698 "%-+5d 0 1 2 3 4 5 6 7 8 9 A B C D E F\n", size); in ql_dump_buffer()
2701 for (cnt = 0; cnt < size; cnt += 16) { in ql_dump_buffer()
2732 ql_ktrace(0, level, pbuf, NULL, qpair ? qpair->vha : NULL, id, fmt); in ql_log_qp()
2734 if (!pbuf[0]) /* set by ql_ktrace */ in ql_log_qp()
2792 if (!pbuf[0]) /* set by ql_ktrace */ in ql_dbg_qp()