• Home
  • Raw
  • Download

Lines Matching refs:reg

116 	struct device_reg_24xx __iomem *reg = &ha->iobase->isp24;  in qla27xx_dump_mpi_ram()  local
123 WRT_REG_WORD(&reg->mailbox0, MBC_LOAD_DUMP_MPI_RAM); in qla27xx_dump_mpi_ram()
132 WRT_REG_WORD(&reg->mailbox1, LSW(addr)); in qla27xx_dump_mpi_ram()
133 WRT_REG_WORD(&reg->mailbox8, MSW(addr)); in qla27xx_dump_mpi_ram()
135 WRT_REG_WORD(&reg->mailbox2, MSW(dump_dma)); in qla27xx_dump_mpi_ram()
136 WRT_REG_WORD(&reg->mailbox3, LSW(dump_dma)); in qla27xx_dump_mpi_ram()
137 WRT_REG_WORD(&reg->mailbox6, MSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram()
138 WRT_REG_WORD(&reg->mailbox7, LSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram()
140 WRT_REG_WORD(&reg->mailbox4, MSW(dwords)); in qla27xx_dump_mpi_ram()
141 WRT_REG_WORD(&reg->mailbox5, LSW(dwords)); in qla27xx_dump_mpi_ram()
143 WRT_REG_WORD(&reg->mailbox9, 0); in qla27xx_dump_mpi_ram()
144 WRT_REG_DWORD(&reg->hccr, HCCRX_SET_HOST_INT); in qla27xx_dump_mpi_ram()
149 stat = RD_REG_DWORD(&reg->host_status); in qla27xx_dump_mpi_ram()
158 mb0 = RD_REG_WORD(&reg->mailbox0); in qla27xx_dump_mpi_ram()
159 RD_REG_WORD(&reg->mailbox1); in qla27xx_dump_mpi_ram()
161 WRT_REG_DWORD(&reg->hccr, in qla27xx_dump_mpi_ram()
163 RD_REG_DWORD(&reg->hccr); in qla27xx_dump_mpi_ram()
168 WRT_REG_DWORD(&reg->hccr, HCCRX_CLR_RISC_INT); in qla27xx_dump_mpi_ram()
169 RD_REG_DWORD(&reg->hccr); in qla27xx_dump_mpi_ram()
196 struct device_reg_24xx __iomem *reg = &ha->iobase->isp24; in qla24xx_dump_ram() local
203 WRT_REG_WORD(&reg->mailbox0, MBC_DUMP_RISC_RAM_EXTENDED); in qla24xx_dump_ram()
212 WRT_REG_WORD(&reg->mailbox1, LSW(addr)); in qla24xx_dump_ram()
213 WRT_REG_WORD(&reg->mailbox8, MSW(addr)); in qla24xx_dump_ram()
215 WRT_REG_WORD(&reg->mailbox2, MSW(dump_dma)); in qla24xx_dump_ram()
216 WRT_REG_WORD(&reg->mailbox3, LSW(dump_dma)); in qla24xx_dump_ram()
217 WRT_REG_WORD(&reg->mailbox6, MSW(MSD(dump_dma))); in qla24xx_dump_ram()
218 WRT_REG_WORD(&reg->mailbox7, LSW(MSD(dump_dma))); in qla24xx_dump_ram()
220 WRT_REG_WORD(&reg->mailbox4, MSW(dwords)); in qla24xx_dump_ram()
221 WRT_REG_WORD(&reg->mailbox5, LSW(dwords)); in qla24xx_dump_ram()
222 WRT_REG_DWORD(&reg->hccr, HCCRX_SET_HOST_INT); in qla24xx_dump_ram()
227 stat = RD_REG_DWORD(&reg->host_status); in qla24xx_dump_ram()
236 mb0 = RD_REG_WORD(&reg->mailbox0); in qla24xx_dump_ram()
238 WRT_REG_DWORD(&reg->hccr, in qla24xx_dump_ram()
240 RD_REG_DWORD(&reg->hccr); in qla24xx_dump_ram()
245 WRT_REG_DWORD(&reg->hccr, HCCRX_CLR_RISC_INT); in qla24xx_dump_ram()
246 RD_REG_DWORD(&reg->hccr); in qla24xx_dump_ram()
289 qla24xx_read_window(struct device_reg_24xx __iomem *reg, uint32_t iobase, in qla24xx_read_window() argument
294 WRT_REG_DWORD(&reg->iobase_addr, iobase); in qla24xx_read_window()
295 dmp_reg = &reg->iobase_window; in qla24xx_read_window()
303 qla24xx_pause_risc(struct device_reg_24xx __iomem *reg, struct qla_hw_data *ha) in qla24xx_pause_risc() argument
305 WRT_REG_DWORD(&reg->hccr, HCCRX_SET_RISC_PAUSE); in qla24xx_pause_risc()
309 if (RD_REG_DWORD(&reg->host_status) & HSRX_RISC_PAUSED) in qla24xx_pause_risc()
319 struct device_reg_24xx __iomem *reg = &ha->iobase->isp24; in qla24xx_soft_reset() local
326 WRT_REG_DWORD(&reg->ctrl_status, CSRX_DMA_SHUTDOWN|MWB_4096_BYTES); in qla24xx_soft_reset()
328 if ((RD_REG_DWORD(&reg->ctrl_status) & CSRX_DMA_ACTIVE) == 0) in qla24xx_soft_reset()
333 if (!(RD_REG_DWORD(&reg->ctrl_status) & CSRX_DMA_ACTIVE)) in qla24xx_soft_reset()
336 WRT_REG_DWORD(&reg->ctrl_status, in qla24xx_soft_reset()
344 if ((RD_REG_DWORD(&reg->ctrl_status) & in qla24xx_soft_reset()
350 if (!(RD_REG_DWORD(&reg->ctrl_status) & CSRX_ISP_SOFT_RESET)) in qla24xx_soft_reset()
353 WRT_REG_DWORD(&reg->hccr, HCCRX_CLR_RISC_RESET); in qla24xx_soft_reset()
354 RD_REG_DWORD(&reg->hccr); /* PCI Posting. */ in qla24xx_soft_reset()
356 for (cnt = 10000; RD_REG_WORD(&reg->mailbox0) != 0 && in qla24xx_soft_reset()
376 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp; in qla2xxx_dump_ram() local
383 WRT_MAILBOX_REG(ha, reg, 0, MBC_DUMP_RISC_RAM_EXTENDED); in qla2xxx_dump_ram()
392 WRT_MAILBOX_REG(ha, reg, 1, LSW(addr)); in qla2xxx_dump_ram()
393 WRT_MAILBOX_REG(ha, reg, 8, MSW(addr)); in qla2xxx_dump_ram()
395 WRT_MAILBOX_REG(ha, reg, 2, MSW(dump_dma)); in qla2xxx_dump_ram()
396 WRT_MAILBOX_REG(ha, reg, 3, LSW(dump_dma)); in qla2xxx_dump_ram()
397 WRT_MAILBOX_REG(ha, reg, 6, MSW(MSD(dump_dma))); in qla2xxx_dump_ram()
398 WRT_MAILBOX_REG(ha, reg, 7, LSW(MSD(dump_dma))); in qla2xxx_dump_ram()
400 WRT_MAILBOX_REG(ha, reg, 4, words); in qla2xxx_dump_ram()
401 WRT_REG_WORD(&reg->hccr, HCCR_SET_HOST_INT); in qla2xxx_dump_ram()
405 stat = RD_REG_DWORD(&reg->u.isp2300.host_status); in qla2xxx_dump_ram()
413 mb0 = RD_MAILBOX_REG(ha, reg, 0); in qla2xxx_dump_ram()
416 WRT_REG_WORD(&reg->semaphore, 0); in qla2xxx_dump_ram()
417 WRT_REG_WORD(&reg->hccr, in qla2xxx_dump_ram()
419 RD_REG_WORD(&reg->hccr); in qla2xxx_dump_ram()
425 mb0 = RD_MAILBOX_REG(ha, reg, 0); in qla2xxx_dump_ram()
427 WRT_REG_WORD(&reg->hccr, in qla2xxx_dump_ram()
429 RD_REG_WORD(&reg->hccr); in qla2xxx_dump_ram()
434 WRT_REG_WORD(&reg->hccr, HCCR_CLR_RISC_INT); in qla2xxx_dump_ram()
435 RD_REG_WORD(&reg->hccr); in qla2xxx_dump_ram()
454 qla2xxx_read_window(struct device_reg_2xxx __iomem *reg, uint32_t count, in qla2xxx_read_window() argument
457 uint16_t __iomem *dmp_reg = &reg->u.isp2300.fb_cmd; in qla2xxx_read_window()
625 device_reg_t *reg; in qla25xx_copy_mq() local
639 reg = ISP_QUE_REG(ha, cnt); in qla25xx_copy_mq()
642 htonl(RD_REG_DWORD(&reg->isp25mq.req_q_in)); in qla25xx_copy_mq()
644 htonl(RD_REG_DWORD(&reg->isp25mq.req_q_out)); in qla25xx_copy_mq()
646 htonl(RD_REG_DWORD(&reg->isp25mq.rsp_q_in)); in qla25xx_copy_mq()
648 htonl(RD_REG_DWORD(&reg->isp25mq.rsp_q_out)); in qla25xx_copy_mq()
684 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp; in qla2300_fw_dump() local
715 fw->hccr = htons(RD_REG_WORD(&reg->hccr)); in qla2300_fw_dump()
718 WRT_REG_WORD(&reg->hccr, HCCR_PAUSE_RISC); in qla2300_fw_dump()
721 (RD_REG_WORD(&reg->hccr) & HCCR_RISC_PAUSE) == 0 && in qla2300_fw_dump()
729 RD_REG_WORD(&reg->hccr); /* PCI Posting. */ in qla2300_fw_dump()
734 dmp_reg = &reg->flash_address; in qla2300_fw_dump()
738 dmp_reg = &reg->u.isp2300.req_q_in; in qla2300_fw_dump()
743 dmp_reg = &reg->u.isp2300.mailbox0; in qla2300_fw_dump()
748 WRT_REG_WORD(&reg->ctrl_status, 0x40); in qla2300_fw_dump()
749 qla2xxx_read_window(reg, 32, fw->resp_dma_reg); in qla2300_fw_dump()
751 WRT_REG_WORD(&reg->ctrl_status, 0x50); in qla2300_fw_dump()
752 qla2xxx_read_window(reg, 48, fw->dma_reg); in qla2300_fw_dump()
754 WRT_REG_WORD(&reg->ctrl_status, 0x00); in qla2300_fw_dump()
755 dmp_reg = &reg->risc_hw; in qla2300_fw_dump()
760 WRT_REG_WORD(&reg->pcr, 0x2000); in qla2300_fw_dump()
761 qla2xxx_read_window(reg, 16, fw->risc_gp0_reg); in qla2300_fw_dump()
763 WRT_REG_WORD(&reg->pcr, 0x2200); in qla2300_fw_dump()
764 qla2xxx_read_window(reg, 16, fw->risc_gp1_reg); in qla2300_fw_dump()
766 WRT_REG_WORD(&reg->pcr, 0x2400); in qla2300_fw_dump()
767 qla2xxx_read_window(reg, 16, fw->risc_gp2_reg); in qla2300_fw_dump()
769 WRT_REG_WORD(&reg->pcr, 0x2600); in qla2300_fw_dump()
770 qla2xxx_read_window(reg, 16, fw->risc_gp3_reg); in qla2300_fw_dump()
772 WRT_REG_WORD(&reg->pcr, 0x2800); in qla2300_fw_dump()
773 qla2xxx_read_window(reg, 16, fw->risc_gp4_reg); in qla2300_fw_dump()
775 WRT_REG_WORD(&reg->pcr, 0x2A00); in qla2300_fw_dump()
776 qla2xxx_read_window(reg, 16, fw->risc_gp5_reg); in qla2300_fw_dump()
778 WRT_REG_WORD(&reg->pcr, 0x2C00); in qla2300_fw_dump()
779 qla2xxx_read_window(reg, 16, fw->risc_gp6_reg); in qla2300_fw_dump()
781 WRT_REG_WORD(&reg->pcr, 0x2E00); in qla2300_fw_dump()
782 qla2xxx_read_window(reg, 16, fw->risc_gp7_reg); in qla2300_fw_dump()
784 WRT_REG_WORD(&reg->ctrl_status, 0x10); in qla2300_fw_dump()
785 qla2xxx_read_window(reg, 64, fw->frame_buf_hdw_reg); in qla2300_fw_dump()
787 WRT_REG_WORD(&reg->ctrl_status, 0x20); in qla2300_fw_dump()
788 qla2xxx_read_window(reg, 64, fw->fpm_b0_reg); in qla2300_fw_dump()
790 WRT_REG_WORD(&reg->ctrl_status, 0x30); in qla2300_fw_dump()
791 qla2xxx_read_window(reg, 64, fw->fpm_b1_reg); in qla2300_fw_dump()
794 WRT_REG_WORD(&reg->ctrl_status, CSR_ISP_SOFT_RESET); in qla2300_fw_dump()
796 if ((RD_REG_WORD(&reg->ctrl_status) & in qla2300_fw_dump()
805 for (cnt = 30000; RD_MAILBOX_REG(ha, reg, 0) != 0 && in qla2300_fw_dump()
856 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp; in qla2100_fw_dump() local
888 fw->hccr = htons(RD_REG_WORD(&reg->hccr)); in qla2100_fw_dump()
891 WRT_REG_WORD(&reg->hccr, HCCR_PAUSE_RISC); in qla2100_fw_dump()
892 for (cnt = 30000; (RD_REG_WORD(&reg->hccr) & HCCR_RISC_PAUSE) == 0 && in qla2100_fw_dump()
900 dmp_reg = &reg->flash_address; in qla2100_fw_dump()
904 dmp_reg = &reg->u.isp2100.mailbox0; in qla2100_fw_dump()
907 dmp_reg = &reg->u_end.isp2200.mailbox8; in qla2100_fw_dump()
912 dmp_reg = &reg->u.isp2100.unused_2[0]; in qla2100_fw_dump()
916 WRT_REG_WORD(&reg->ctrl_status, 0x00); in qla2100_fw_dump()
917 dmp_reg = &reg->risc_hw; in qla2100_fw_dump()
921 WRT_REG_WORD(&reg->pcr, 0x2000); in qla2100_fw_dump()
922 qla2xxx_read_window(reg, 16, fw->risc_gp0_reg); in qla2100_fw_dump()
924 WRT_REG_WORD(&reg->pcr, 0x2100); in qla2100_fw_dump()
925 qla2xxx_read_window(reg, 16, fw->risc_gp1_reg); in qla2100_fw_dump()
927 WRT_REG_WORD(&reg->pcr, 0x2200); in qla2100_fw_dump()
928 qla2xxx_read_window(reg, 16, fw->risc_gp2_reg); in qla2100_fw_dump()
930 WRT_REG_WORD(&reg->pcr, 0x2300); in qla2100_fw_dump()
931 qla2xxx_read_window(reg, 16, fw->risc_gp3_reg); in qla2100_fw_dump()
933 WRT_REG_WORD(&reg->pcr, 0x2400); in qla2100_fw_dump()
934 qla2xxx_read_window(reg, 16, fw->risc_gp4_reg); in qla2100_fw_dump()
936 WRT_REG_WORD(&reg->pcr, 0x2500); in qla2100_fw_dump()
937 qla2xxx_read_window(reg, 16, fw->risc_gp5_reg); in qla2100_fw_dump()
939 WRT_REG_WORD(&reg->pcr, 0x2600); in qla2100_fw_dump()
940 qla2xxx_read_window(reg, 16, fw->risc_gp6_reg); in qla2100_fw_dump()
942 WRT_REG_WORD(&reg->pcr, 0x2700); in qla2100_fw_dump()
943 qla2xxx_read_window(reg, 16, fw->risc_gp7_reg); in qla2100_fw_dump()
945 WRT_REG_WORD(&reg->ctrl_status, 0x10); in qla2100_fw_dump()
946 qla2xxx_read_window(reg, 16, fw->frame_buf_hdw_reg); in qla2100_fw_dump()
948 WRT_REG_WORD(&reg->ctrl_status, 0x20); in qla2100_fw_dump()
949 qla2xxx_read_window(reg, 64, fw->fpm_b0_reg); in qla2100_fw_dump()
951 WRT_REG_WORD(&reg->ctrl_status, 0x30); in qla2100_fw_dump()
952 qla2xxx_read_window(reg, 64, fw->fpm_b1_reg); in qla2100_fw_dump()
955 WRT_REG_WORD(&reg->ctrl_status, CSR_ISP_SOFT_RESET); in qla2100_fw_dump()
958 for (cnt = 30000; RD_MAILBOX_REG(ha, reg, 0) != 0 && in qla2100_fw_dump()
968 (RD_REG_WORD(&reg->mctr) & (BIT_1 | BIT_0)) != 0))) { in qla2100_fw_dump()
970 WRT_REG_WORD(&reg->hccr, HCCR_PAUSE_RISC); in qla2100_fw_dump()
972 (RD_REG_WORD(&reg->hccr) & HCCR_RISC_PAUSE) == 0 && in qla2100_fw_dump()
982 WRT_REG_WORD(&reg->mctr, 0xf1); in qla2100_fw_dump()
984 WRT_REG_WORD(&reg->mctr, 0xf2); in qla2100_fw_dump()
985 RD_REG_WORD(&reg->mctr); /* PCI Posting. */ in qla2100_fw_dump()
988 WRT_REG_WORD(&reg->hccr, HCCR_RELEASE_RISC); in qla2100_fw_dump()
995 WRT_MAILBOX_REG(ha, reg, 0, MBC_READ_RAM_WORD); in qla2100_fw_dump()
1000 WRT_MAILBOX_REG(ha, reg, 1, risc_address); in qla2100_fw_dump()
1001 WRT_REG_WORD(&reg->hccr, HCCR_SET_HOST_INT); in qla2100_fw_dump()
1005 if (RD_REG_WORD(&reg->istatus) & ISR_RISC_INT) { in qla2100_fw_dump()
1006 if (RD_REG_WORD(&reg->semaphore) & BIT_0) { in qla2100_fw_dump()
1010 mb0 = RD_MAILBOX_REG(ha, reg, 0); in qla2100_fw_dump()
1011 mb2 = RD_MAILBOX_REG(ha, reg, 2); in qla2100_fw_dump()
1013 WRT_REG_WORD(&reg->semaphore, 0); in qla2100_fw_dump()
1014 WRT_REG_WORD(&reg->hccr, in qla2100_fw_dump()
1016 RD_REG_WORD(&reg->hccr); in qla2100_fw_dump()
1019 WRT_REG_WORD(&reg->hccr, HCCR_CLR_RISC_INT); in qla2100_fw_dump()
1020 RD_REG_WORD(&reg->hccr); in qla2100_fw_dump()
1053 struct device_reg_24xx __iomem *reg = &ha->iobase->isp24; in qla24xx_fw_dump() local
1091 fw->host_status = htonl(RD_REG_DWORD(&reg->host_status)); in qla24xx_fw_dump()
1097 qla24xx_pause_risc(reg, ha); in qla24xx_fw_dump()
1100 dmp_reg = &reg->flash_addr; in qla24xx_fw_dump()
1105 WRT_REG_DWORD(&reg->ictrl, 0); in qla24xx_fw_dump()
1106 RD_REG_DWORD(&reg->ictrl); in qla24xx_fw_dump()
1109 WRT_REG_DWORD(&reg->iobase_addr, 0x0F70); in qla24xx_fw_dump()
1110 RD_REG_DWORD(&reg->iobase_addr); in qla24xx_fw_dump()
1111 WRT_REG_DWORD(&reg->iobase_select, 0xB0000000); in qla24xx_fw_dump()
1112 fw->shadow_reg[0] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla24xx_fw_dump()
1114 WRT_REG_DWORD(&reg->iobase_select, 0xB0100000); in qla24xx_fw_dump()
1115 fw->shadow_reg[1] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla24xx_fw_dump()
1117 WRT_REG_DWORD(&reg->iobase_select, 0xB0200000); in qla24xx_fw_dump()
1118 fw->shadow_reg[2] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla24xx_fw_dump()
1120 WRT_REG_DWORD(&reg->iobase_select, 0xB0300000); in qla24xx_fw_dump()
1121 fw->shadow_reg[3] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla24xx_fw_dump()
1123 WRT_REG_DWORD(&reg->iobase_select, 0xB0400000); in qla24xx_fw_dump()
1124 fw->shadow_reg[4] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla24xx_fw_dump()
1126 WRT_REG_DWORD(&reg->iobase_select, 0xB0500000); in qla24xx_fw_dump()
1127 fw->shadow_reg[5] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla24xx_fw_dump()
1129 WRT_REG_DWORD(&reg->iobase_select, 0xB0600000); in qla24xx_fw_dump()
1130 fw->shadow_reg[6] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla24xx_fw_dump()
1133 mbx_reg = &reg->mailbox0; in qla24xx_fw_dump()
1139 iter_reg = qla24xx_read_window(reg, 0xBF00, 16, iter_reg); in qla24xx_fw_dump()
1140 iter_reg = qla24xx_read_window(reg, 0xBF10, 16, iter_reg); in qla24xx_fw_dump()
1141 iter_reg = qla24xx_read_window(reg, 0xBF20, 16, iter_reg); in qla24xx_fw_dump()
1142 iter_reg = qla24xx_read_window(reg, 0xBF30, 16, iter_reg); in qla24xx_fw_dump()
1143 iter_reg = qla24xx_read_window(reg, 0xBF40, 16, iter_reg); in qla24xx_fw_dump()
1144 iter_reg = qla24xx_read_window(reg, 0xBF50, 16, iter_reg); in qla24xx_fw_dump()
1145 iter_reg = qla24xx_read_window(reg, 0xBF60, 16, iter_reg); in qla24xx_fw_dump()
1146 qla24xx_read_window(reg, 0xBF70, 16, iter_reg); in qla24xx_fw_dump()
1148 qla24xx_read_window(reg, 0xBFE0, 16, fw->xseq_0_reg); in qla24xx_fw_dump()
1149 qla24xx_read_window(reg, 0xBFF0, 16, fw->xseq_1_reg); in qla24xx_fw_dump()
1153 iter_reg = qla24xx_read_window(reg, 0xFF00, 16, iter_reg); in qla24xx_fw_dump()
1154 iter_reg = qla24xx_read_window(reg, 0xFF10, 16, iter_reg); in qla24xx_fw_dump()
1155 iter_reg = qla24xx_read_window(reg, 0xFF20, 16, iter_reg); in qla24xx_fw_dump()
1156 iter_reg = qla24xx_read_window(reg, 0xFF30, 16, iter_reg); in qla24xx_fw_dump()
1157 iter_reg = qla24xx_read_window(reg, 0xFF40, 16, iter_reg); in qla24xx_fw_dump()
1158 iter_reg = qla24xx_read_window(reg, 0xFF50, 16, iter_reg); in qla24xx_fw_dump()
1159 iter_reg = qla24xx_read_window(reg, 0xFF60, 16, iter_reg); in qla24xx_fw_dump()
1160 qla24xx_read_window(reg, 0xFF70, 16, iter_reg); in qla24xx_fw_dump()
1162 qla24xx_read_window(reg, 0xFFD0, 16, fw->rseq_0_reg); in qla24xx_fw_dump()
1163 qla24xx_read_window(reg, 0xFFE0, 16, fw->rseq_1_reg); in qla24xx_fw_dump()
1164 qla24xx_read_window(reg, 0xFFF0, 16, fw->rseq_2_reg); in qla24xx_fw_dump()
1167 qla24xx_read_window(reg, 0x7100, 16, fw->cmd_dma_reg); in qla24xx_fw_dump()
1171 iter_reg = qla24xx_read_window(reg, 0x7200, 8, iter_reg); in qla24xx_fw_dump()
1172 dmp_reg = &reg->iobase_q; in qla24xx_fw_dump()
1177 iter_reg = qla24xx_read_window(reg, 0x7300, 8, iter_reg); in qla24xx_fw_dump()
1178 dmp_reg = &reg->iobase_q; in qla24xx_fw_dump()
1183 iter_reg = qla24xx_read_window(reg, 0x7400, 8, iter_reg); in qla24xx_fw_dump()
1184 dmp_reg = &reg->iobase_q; in qla24xx_fw_dump()
1190 iter_reg = qla24xx_read_window(reg, 0x7600, 16, iter_reg); in qla24xx_fw_dump()
1191 qla24xx_read_window(reg, 0x7610, 16, iter_reg); in qla24xx_fw_dump()
1194 iter_reg = qla24xx_read_window(reg, 0x7620, 16, iter_reg); in qla24xx_fw_dump()
1195 qla24xx_read_window(reg, 0x7630, 16, iter_reg); in qla24xx_fw_dump()
1198 iter_reg = qla24xx_read_window(reg, 0x7640, 16, iter_reg); in qla24xx_fw_dump()
1199 qla24xx_read_window(reg, 0x7650, 16, iter_reg); in qla24xx_fw_dump()
1202 iter_reg = qla24xx_read_window(reg, 0x7660, 16, iter_reg); in qla24xx_fw_dump()
1203 qla24xx_read_window(reg, 0x7670, 16, iter_reg); in qla24xx_fw_dump()
1206 iter_reg = qla24xx_read_window(reg, 0x7680, 16, iter_reg); in qla24xx_fw_dump()
1207 qla24xx_read_window(reg, 0x7690, 16, iter_reg); in qla24xx_fw_dump()
1209 qla24xx_read_window(reg, 0x76A0, 16, fw->xmt_data_dma_reg); in qla24xx_fw_dump()
1213 iter_reg = qla24xx_read_window(reg, 0x7700, 16, iter_reg); in qla24xx_fw_dump()
1214 qla24xx_read_window(reg, 0x7710, 16, iter_reg); in qla24xx_fw_dump()
1217 iter_reg = qla24xx_read_window(reg, 0x7720, 16, iter_reg); in qla24xx_fw_dump()
1218 qla24xx_read_window(reg, 0x7730, 16, iter_reg); in qla24xx_fw_dump()
1222 iter_reg = qla24xx_read_window(reg, 0x0F00, 16, iter_reg); in qla24xx_fw_dump()
1223 iter_reg = qla24xx_read_window(reg, 0x0F10, 16, iter_reg); in qla24xx_fw_dump()
1224 iter_reg = qla24xx_read_window(reg, 0x0F20, 16, iter_reg); in qla24xx_fw_dump()
1225 iter_reg = qla24xx_read_window(reg, 0x0F30, 16, iter_reg); in qla24xx_fw_dump()
1226 iter_reg = qla24xx_read_window(reg, 0x0F40, 16, iter_reg); in qla24xx_fw_dump()
1227 iter_reg = qla24xx_read_window(reg, 0x0F50, 16, iter_reg); in qla24xx_fw_dump()
1228 iter_reg = qla24xx_read_window(reg, 0x0F60, 16, iter_reg); in qla24xx_fw_dump()
1229 qla24xx_read_window(reg, 0x0F70, 16, iter_reg); in qla24xx_fw_dump()
1233 iter_reg = qla24xx_read_window(reg, 0x3000, 16, iter_reg); in qla24xx_fw_dump()
1234 iter_reg = qla24xx_read_window(reg, 0x3010, 16, iter_reg); in qla24xx_fw_dump()
1235 iter_reg = qla24xx_read_window(reg, 0x3020, 16, iter_reg); in qla24xx_fw_dump()
1236 iter_reg = qla24xx_read_window(reg, 0x3030, 16, iter_reg); in qla24xx_fw_dump()
1237 iter_reg = qla24xx_read_window(reg, 0x3040, 16, iter_reg); in qla24xx_fw_dump()
1238 iter_reg = qla24xx_read_window(reg, 0x3050, 16, iter_reg); in qla24xx_fw_dump()
1239 qla24xx_read_window(reg, 0x3060, 16, iter_reg); in qla24xx_fw_dump()
1243 iter_reg = qla24xx_read_window(reg, 0x4000, 16, iter_reg); in qla24xx_fw_dump()
1244 iter_reg = qla24xx_read_window(reg, 0x4010, 16, iter_reg); in qla24xx_fw_dump()
1245 iter_reg = qla24xx_read_window(reg, 0x4020, 16, iter_reg); in qla24xx_fw_dump()
1246 iter_reg = qla24xx_read_window(reg, 0x4030, 16, iter_reg); in qla24xx_fw_dump()
1247 iter_reg = qla24xx_read_window(reg, 0x4040, 16, iter_reg); in qla24xx_fw_dump()
1248 iter_reg = qla24xx_read_window(reg, 0x4050, 16, iter_reg); in qla24xx_fw_dump()
1249 iter_reg = qla24xx_read_window(reg, 0x4060, 16, iter_reg); in qla24xx_fw_dump()
1250 iter_reg = qla24xx_read_window(reg, 0x4070, 16, iter_reg); in qla24xx_fw_dump()
1251 iter_reg = qla24xx_read_window(reg, 0x4080, 16, iter_reg); in qla24xx_fw_dump()
1252 iter_reg = qla24xx_read_window(reg, 0x4090, 16, iter_reg); in qla24xx_fw_dump()
1253 iter_reg = qla24xx_read_window(reg, 0x40A0, 16, iter_reg); in qla24xx_fw_dump()
1254 qla24xx_read_window(reg, 0x40B0, 16, iter_reg); in qla24xx_fw_dump()
1258 iter_reg = qla24xx_read_window(reg, 0x6000, 16, iter_reg); in qla24xx_fw_dump()
1259 iter_reg = qla24xx_read_window(reg, 0x6010, 16, iter_reg); in qla24xx_fw_dump()
1260 iter_reg = qla24xx_read_window(reg, 0x6020, 16, iter_reg); in qla24xx_fw_dump()
1261 iter_reg = qla24xx_read_window(reg, 0x6030, 16, iter_reg); in qla24xx_fw_dump()
1262 iter_reg = qla24xx_read_window(reg, 0x6040, 16, iter_reg); in qla24xx_fw_dump()
1263 iter_reg = qla24xx_read_window(reg, 0x6100, 16, iter_reg); in qla24xx_fw_dump()
1264 iter_reg = qla24xx_read_window(reg, 0x6130, 16, iter_reg); in qla24xx_fw_dump()
1265 iter_reg = qla24xx_read_window(reg, 0x6150, 16, iter_reg); in qla24xx_fw_dump()
1266 iter_reg = qla24xx_read_window(reg, 0x6170, 16, iter_reg); in qla24xx_fw_dump()
1267 iter_reg = qla24xx_read_window(reg, 0x6190, 16, iter_reg); in qla24xx_fw_dump()
1268 qla24xx_read_window(reg, 0x61B0, 16, iter_reg); in qla24xx_fw_dump()
1311 struct device_reg_24xx __iomem *reg = &ha->iobase->isp24; in qla25xx_fw_dump() local
1346 fw->host_status = htonl(RD_REG_DWORD(&reg->host_status)); in qla25xx_fw_dump()
1352 qla24xx_pause_risc(reg, ha); in qla25xx_fw_dump()
1356 iter_reg = qla24xx_read_window(reg, 0x7000, 16, iter_reg); in qla25xx_fw_dump()
1357 qla24xx_read_window(reg, 0x7010, 16, iter_reg); in qla25xx_fw_dump()
1360 WRT_REG_DWORD(&reg->iobase_addr, 0x7C00); in qla25xx_fw_dump()
1361 RD_REG_DWORD(&reg->iobase_addr); in qla25xx_fw_dump()
1362 WRT_REG_DWORD(&reg->iobase_window, 0x01); in qla25xx_fw_dump()
1363 dmp_reg = &reg->iobase_c4; in qla25xx_fw_dump()
1369 fw->pcie_regs[3] = htonl(RD_REG_DWORD(&reg->iobase_window)); in qla25xx_fw_dump()
1371 WRT_REG_DWORD(&reg->iobase_window, 0x00); in qla25xx_fw_dump()
1372 RD_REG_DWORD(&reg->iobase_window); in qla25xx_fw_dump()
1375 dmp_reg = &reg->flash_addr; in qla25xx_fw_dump()
1380 WRT_REG_DWORD(&reg->ictrl, 0); in qla25xx_fw_dump()
1381 RD_REG_DWORD(&reg->ictrl); in qla25xx_fw_dump()
1384 WRT_REG_DWORD(&reg->iobase_addr, 0x0F70); in qla25xx_fw_dump()
1385 RD_REG_DWORD(&reg->iobase_addr); in qla25xx_fw_dump()
1386 WRT_REG_DWORD(&reg->iobase_select, 0xB0000000); in qla25xx_fw_dump()
1387 fw->shadow_reg[0] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla25xx_fw_dump()
1389 WRT_REG_DWORD(&reg->iobase_select, 0xB0100000); in qla25xx_fw_dump()
1390 fw->shadow_reg[1] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla25xx_fw_dump()
1392 WRT_REG_DWORD(&reg->iobase_select, 0xB0200000); in qla25xx_fw_dump()
1393 fw->shadow_reg[2] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla25xx_fw_dump()
1395 WRT_REG_DWORD(&reg->iobase_select, 0xB0300000); in qla25xx_fw_dump()
1396 fw->shadow_reg[3] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla25xx_fw_dump()
1398 WRT_REG_DWORD(&reg->iobase_select, 0xB0400000); in qla25xx_fw_dump()
1399 fw->shadow_reg[4] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla25xx_fw_dump()
1401 WRT_REG_DWORD(&reg->iobase_select, 0xB0500000); in qla25xx_fw_dump()
1402 fw->shadow_reg[5] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla25xx_fw_dump()
1404 WRT_REG_DWORD(&reg->iobase_select, 0xB0600000); in qla25xx_fw_dump()
1405 fw->shadow_reg[6] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla25xx_fw_dump()
1407 WRT_REG_DWORD(&reg->iobase_select, 0xB0700000); in qla25xx_fw_dump()
1408 fw->shadow_reg[7] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla25xx_fw_dump()
1410 WRT_REG_DWORD(&reg->iobase_select, 0xB0800000); in qla25xx_fw_dump()
1411 fw->shadow_reg[8] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla25xx_fw_dump()
1413 WRT_REG_DWORD(&reg->iobase_select, 0xB0900000); in qla25xx_fw_dump()
1414 fw->shadow_reg[9] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla25xx_fw_dump()
1416 WRT_REG_DWORD(&reg->iobase_select, 0xB0A00000); in qla25xx_fw_dump()
1417 fw->shadow_reg[10] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla25xx_fw_dump()
1420 WRT_REG_DWORD(&reg->iobase_addr, 0x0010); in qla25xx_fw_dump()
1421 fw->risc_io_reg = htonl(RD_REG_DWORD(&reg->iobase_window)); in qla25xx_fw_dump()
1424 mbx_reg = &reg->mailbox0; in qla25xx_fw_dump()
1430 iter_reg = qla24xx_read_window(reg, 0xBF00, 16, iter_reg); in qla25xx_fw_dump()
1431 iter_reg = qla24xx_read_window(reg, 0xBF10, 16, iter_reg); in qla25xx_fw_dump()
1432 iter_reg = qla24xx_read_window(reg, 0xBF20, 16, iter_reg); in qla25xx_fw_dump()
1433 iter_reg = qla24xx_read_window(reg, 0xBF30, 16, iter_reg); in qla25xx_fw_dump()
1434 iter_reg = qla24xx_read_window(reg, 0xBF40, 16, iter_reg); in qla25xx_fw_dump()
1435 iter_reg = qla24xx_read_window(reg, 0xBF50, 16, iter_reg); in qla25xx_fw_dump()
1436 iter_reg = qla24xx_read_window(reg, 0xBF60, 16, iter_reg); in qla25xx_fw_dump()
1437 qla24xx_read_window(reg, 0xBF70, 16, iter_reg); in qla25xx_fw_dump()
1440 iter_reg = qla24xx_read_window(reg, 0xBFC0, 16, iter_reg); in qla25xx_fw_dump()
1441 iter_reg = qla24xx_read_window(reg, 0xBFD0, 16, iter_reg); in qla25xx_fw_dump()
1442 qla24xx_read_window(reg, 0xBFE0, 16, iter_reg); in qla25xx_fw_dump()
1444 qla24xx_read_window(reg, 0xBFF0, 16, fw->xseq_1_reg); in qla25xx_fw_dump()
1448 iter_reg = qla24xx_read_window(reg, 0xFF00, 16, iter_reg); in qla25xx_fw_dump()
1449 iter_reg = qla24xx_read_window(reg, 0xFF10, 16, iter_reg); in qla25xx_fw_dump()
1450 iter_reg = qla24xx_read_window(reg, 0xFF20, 16, iter_reg); in qla25xx_fw_dump()
1451 iter_reg = qla24xx_read_window(reg, 0xFF30, 16, iter_reg); in qla25xx_fw_dump()
1452 iter_reg = qla24xx_read_window(reg, 0xFF40, 16, iter_reg); in qla25xx_fw_dump()
1453 iter_reg = qla24xx_read_window(reg, 0xFF50, 16, iter_reg); in qla25xx_fw_dump()
1454 iter_reg = qla24xx_read_window(reg, 0xFF60, 16, iter_reg); in qla25xx_fw_dump()
1455 qla24xx_read_window(reg, 0xFF70, 16, iter_reg); in qla25xx_fw_dump()
1458 iter_reg = qla24xx_read_window(reg, 0xFFC0, 16, iter_reg); in qla25xx_fw_dump()
1459 qla24xx_read_window(reg, 0xFFD0, 16, iter_reg); in qla25xx_fw_dump()
1461 qla24xx_read_window(reg, 0xFFE0, 16, fw->rseq_1_reg); in qla25xx_fw_dump()
1462 qla24xx_read_window(reg, 0xFFF0, 16, fw->rseq_2_reg); in qla25xx_fw_dump()
1466 iter_reg = qla24xx_read_window(reg, 0xB000, 16, iter_reg); in qla25xx_fw_dump()
1467 iter_reg = qla24xx_read_window(reg, 0xB010, 16, iter_reg); in qla25xx_fw_dump()
1468 iter_reg = qla24xx_read_window(reg, 0xB020, 16, iter_reg); in qla25xx_fw_dump()
1469 iter_reg = qla24xx_read_window(reg, 0xB030, 16, iter_reg); in qla25xx_fw_dump()
1470 iter_reg = qla24xx_read_window(reg, 0xB040, 16, iter_reg); in qla25xx_fw_dump()
1471 iter_reg = qla24xx_read_window(reg, 0xB050, 16, iter_reg); in qla25xx_fw_dump()
1472 iter_reg = qla24xx_read_window(reg, 0xB060, 16, iter_reg); in qla25xx_fw_dump()
1473 qla24xx_read_window(reg, 0xB070, 16, iter_reg); in qla25xx_fw_dump()
1476 iter_reg = qla24xx_read_window(reg, 0xB0C0, 16, iter_reg); in qla25xx_fw_dump()
1477 qla24xx_read_window(reg, 0xB0D0, 16, iter_reg); in qla25xx_fw_dump()
1479 qla24xx_read_window(reg, 0xB0E0, 16, fw->aseq_1_reg); in qla25xx_fw_dump()
1480 qla24xx_read_window(reg, 0xB0F0, 16, fw->aseq_2_reg); in qla25xx_fw_dump()
1483 qla24xx_read_window(reg, 0x7100, 16, fw->cmd_dma_reg); in qla25xx_fw_dump()
1487 iter_reg = qla24xx_read_window(reg, 0x7200, 8, iter_reg); in qla25xx_fw_dump()
1488 dmp_reg = &reg->iobase_q; in qla25xx_fw_dump()
1493 iter_reg = qla24xx_read_window(reg, 0x7300, 8, iter_reg); in qla25xx_fw_dump()
1494 dmp_reg = &reg->iobase_q; in qla25xx_fw_dump()
1499 iter_reg = qla24xx_read_window(reg, 0x7400, 8, iter_reg); in qla25xx_fw_dump()
1500 dmp_reg = &reg->iobase_q; in qla25xx_fw_dump()
1506 iter_reg = qla24xx_read_window(reg, 0x7600, 16, iter_reg); in qla25xx_fw_dump()
1507 qla24xx_read_window(reg, 0x7610, 16, iter_reg); in qla25xx_fw_dump()
1510 iter_reg = qla24xx_read_window(reg, 0x7620, 16, iter_reg); in qla25xx_fw_dump()
1511 qla24xx_read_window(reg, 0x7630, 16, iter_reg); in qla25xx_fw_dump()
1514 iter_reg = qla24xx_read_window(reg, 0x7640, 16, iter_reg); in qla25xx_fw_dump()
1515 qla24xx_read_window(reg, 0x7650, 16, iter_reg); in qla25xx_fw_dump()
1518 iter_reg = qla24xx_read_window(reg, 0x7660, 16, iter_reg); in qla25xx_fw_dump()
1519 qla24xx_read_window(reg, 0x7670, 16, iter_reg); in qla25xx_fw_dump()
1522 iter_reg = qla24xx_read_window(reg, 0x7680, 16, iter_reg); in qla25xx_fw_dump()
1523 qla24xx_read_window(reg, 0x7690, 16, iter_reg); in qla25xx_fw_dump()
1525 qla24xx_read_window(reg, 0x76A0, 16, fw->xmt_data_dma_reg); in qla25xx_fw_dump()
1529 iter_reg = qla24xx_read_window(reg, 0x7700, 16, iter_reg); in qla25xx_fw_dump()
1530 qla24xx_read_window(reg, 0x7710, 16, iter_reg); in qla25xx_fw_dump()
1533 iter_reg = qla24xx_read_window(reg, 0x7720, 16, iter_reg); in qla25xx_fw_dump()
1534 qla24xx_read_window(reg, 0x7730, 16, iter_reg); in qla25xx_fw_dump()
1538 iter_reg = qla24xx_read_window(reg, 0x0F00, 16, iter_reg); in qla25xx_fw_dump()
1539 iter_reg = qla24xx_read_window(reg, 0x0F10, 16, iter_reg); in qla25xx_fw_dump()
1540 iter_reg = qla24xx_read_window(reg, 0x0F20, 16, iter_reg); in qla25xx_fw_dump()
1541 iter_reg = qla24xx_read_window(reg, 0x0F30, 16, iter_reg); in qla25xx_fw_dump()
1542 iter_reg = qla24xx_read_window(reg, 0x0F40, 16, iter_reg); in qla25xx_fw_dump()
1543 iter_reg = qla24xx_read_window(reg, 0x0F50, 16, iter_reg); in qla25xx_fw_dump()
1544 iter_reg = qla24xx_read_window(reg, 0x0F60, 16, iter_reg); in qla25xx_fw_dump()
1545 qla24xx_read_window(reg, 0x0F70, 16, iter_reg); in qla25xx_fw_dump()
1549 iter_reg = qla24xx_read_window(reg, 0x3000, 16, iter_reg); in qla25xx_fw_dump()
1550 iter_reg = qla24xx_read_window(reg, 0x3010, 16, iter_reg); in qla25xx_fw_dump()
1551 iter_reg = qla24xx_read_window(reg, 0x3020, 16, iter_reg); in qla25xx_fw_dump()
1552 iter_reg = qla24xx_read_window(reg, 0x3030, 16, iter_reg); in qla25xx_fw_dump()
1553 iter_reg = qla24xx_read_window(reg, 0x3040, 16, iter_reg); in qla25xx_fw_dump()
1554 iter_reg = qla24xx_read_window(reg, 0x3050, 16, iter_reg); in qla25xx_fw_dump()
1555 iter_reg = qla24xx_read_window(reg, 0x3060, 16, iter_reg); in qla25xx_fw_dump()
1556 qla24xx_read_window(reg, 0x3070, 16, iter_reg); in qla25xx_fw_dump()
1560 iter_reg = qla24xx_read_window(reg, 0x4000, 16, iter_reg); in qla25xx_fw_dump()
1561 iter_reg = qla24xx_read_window(reg, 0x4010, 16, iter_reg); in qla25xx_fw_dump()
1562 iter_reg = qla24xx_read_window(reg, 0x4020, 16, iter_reg); in qla25xx_fw_dump()
1563 iter_reg = qla24xx_read_window(reg, 0x4030, 16, iter_reg); in qla25xx_fw_dump()
1564 iter_reg = qla24xx_read_window(reg, 0x4040, 16, iter_reg); in qla25xx_fw_dump()
1565 iter_reg = qla24xx_read_window(reg, 0x4050, 16, iter_reg); in qla25xx_fw_dump()
1566 iter_reg = qla24xx_read_window(reg, 0x4060, 16, iter_reg); in qla25xx_fw_dump()
1567 iter_reg = qla24xx_read_window(reg, 0x4070, 16, iter_reg); in qla25xx_fw_dump()
1568 iter_reg = qla24xx_read_window(reg, 0x4080, 16, iter_reg); in qla25xx_fw_dump()
1569 iter_reg = qla24xx_read_window(reg, 0x4090, 16, iter_reg); in qla25xx_fw_dump()
1570 iter_reg = qla24xx_read_window(reg, 0x40A0, 16, iter_reg); in qla25xx_fw_dump()
1571 qla24xx_read_window(reg, 0x40B0, 16, iter_reg); in qla25xx_fw_dump()
1575 iter_reg = qla24xx_read_window(reg, 0x6000, 16, iter_reg); in qla25xx_fw_dump()
1576 iter_reg = qla24xx_read_window(reg, 0x6010, 16, iter_reg); in qla25xx_fw_dump()
1577 iter_reg = qla24xx_read_window(reg, 0x6020, 16, iter_reg); in qla25xx_fw_dump()
1578 iter_reg = qla24xx_read_window(reg, 0x6030, 16, iter_reg); in qla25xx_fw_dump()
1579 iter_reg = qla24xx_read_window(reg, 0x6040, 16, iter_reg); in qla25xx_fw_dump()
1580 iter_reg = qla24xx_read_window(reg, 0x6100, 16, iter_reg); in qla25xx_fw_dump()
1581 iter_reg = qla24xx_read_window(reg, 0x6130, 16, iter_reg); in qla25xx_fw_dump()
1582 iter_reg = qla24xx_read_window(reg, 0x6150, 16, iter_reg); in qla25xx_fw_dump()
1583 iter_reg = qla24xx_read_window(reg, 0x6170, 16, iter_reg); in qla25xx_fw_dump()
1584 iter_reg = qla24xx_read_window(reg, 0x6190, 16, iter_reg); in qla25xx_fw_dump()
1585 iter_reg = qla24xx_read_window(reg, 0x61B0, 16, iter_reg); in qla25xx_fw_dump()
1586 qla24xx_read_window(reg, 0x6F00, 16, iter_reg); in qla25xx_fw_dump()
1635 struct device_reg_24xx __iomem *reg = &ha->iobase->isp24; in qla81xx_fw_dump() local
1669 fw->host_status = htonl(RD_REG_DWORD(&reg->host_status)); in qla81xx_fw_dump()
1675 qla24xx_pause_risc(reg, ha); in qla81xx_fw_dump()
1679 iter_reg = qla24xx_read_window(reg, 0x7000, 16, iter_reg); in qla81xx_fw_dump()
1680 qla24xx_read_window(reg, 0x7010, 16, iter_reg); in qla81xx_fw_dump()
1683 WRT_REG_DWORD(&reg->iobase_addr, 0x7C00); in qla81xx_fw_dump()
1684 RD_REG_DWORD(&reg->iobase_addr); in qla81xx_fw_dump()
1685 WRT_REG_DWORD(&reg->iobase_window, 0x01); in qla81xx_fw_dump()
1686 dmp_reg = &reg->iobase_c4; in qla81xx_fw_dump()
1692 fw->pcie_regs[3] = htonl(RD_REG_DWORD(&reg->iobase_window)); in qla81xx_fw_dump()
1694 WRT_REG_DWORD(&reg->iobase_window, 0x00); in qla81xx_fw_dump()
1695 RD_REG_DWORD(&reg->iobase_window); in qla81xx_fw_dump()
1698 dmp_reg = &reg->flash_addr; in qla81xx_fw_dump()
1703 WRT_REG_DWORD(&reg->ictrl, 0); in qla81xx_fw_dump()
1704 RD_REG_DWORD(&reg->ictrl); in qla81xx_fw_dump()
1707 WRT_REG_DWORD(&reg->iobase_addr, 0x0F70); in qla81xx_fw_dump()
1708 RD_REG_DWORD(&reg->iobase_addr); in qla81xx_fw_dump()
1709 WRT_REG_DWORD(&reg->iobase_select, 0xB0000000); in qla81xx_fw_dump()
1710 fw->shadow_reg[0] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla81xx_fw_dump()
1712 WRT_REG_DWORD(&reg->iobase_select, 0xB0100000); in qla81xx_fw_dump()
1713 fw->shadow_reg[1] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla81xx_fw_dump()
1715 WRT_REG_DWORD(&reg->iobase_select, 0xB0200000); in qla81xx_fw_dump()
1716 fw->shadow_reg[2] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla81xx_fw_dump()
1718 WRT_REG_DWORD(&reg->iobase_select, 0xB0300000); in qla81xx_fw_dump()
1719 fw->shadow_reg[3] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla81xx_fw_dump()
1721 WRT_REG_DWORD(&reg->iobase_select, 0xB0400000); in qla81xx_fw_dump()
1722 fw->shadow_reg[4] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla81xx_fw_dump()
1724 WRT_REG_DWORD(&reg->iobase_select, 0xB0500000); in qla81xx_fw_dump()
1725 fw->shadow_reg[5] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla81xx_fw_dump()
1727 WRT_REG_DWORD(&reg->iobase_select, 0xB0600000); in qla81xx_fw_dump()
1728 fw->shadow_reg[6] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla81xx_fw_dump()
1730 WRT_REG_DWORD(&reg->iobase_select, 0xB0700000); in qla81xx_fw_dump()
1731 fw->shadow_reg[7] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla81xx_fw_dump()
1733 WRT_REG_DWORD(&reg->iobase_select, 0xB0800000); in qla81xx_fw_dump()
1734 fw->shadow_reg[8] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla81xx_fw_dump()
1736 WRT_REG_DWORD(&reg->iobase_select, 0xB0900000); in qla81xx_fw_dump()
1737 fw->shadow_reg[9] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla81xx_fw_dump()
1739 WRT_REG_DWORD(&reg->iobase_select, 0xB0A00000); in qla81xx_fw_dump()
1740 fw->shadow_reg[10] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla81xx_fw_dump()
1743 WRT_REG_DWORD(&reg->iobase_addr, 0x0010); in qla81xx_fw_dump()
1744 fw->risc_io_reg = htonl(RD_REG_DWORD(&reg->iobase_window)); in qla81xx_fw_dump()
1747 mbx_reg = &reg->mailbox0; in qla81xx_fw_dump()
1753 iter_reg = qla24xx_read_window(reg, 0xBF00, 16, iter_reg); in qla81xx_fw_dump()
1754 iter_reg = qla24xx_read_window(reg, 0xBF10, 16, iter_reg); in qla81xx_fw_dump()
1755 iter_reg = qla24xx_read_window(reg, 0xBF20, 16, iter_reg); in qla81xx_fw_dump()
1756 iter_reg = qla24xx_read_window(reg, 0xBF30, 16, iter_reg); in qla81xx_fw_dump()
1757 iter_reg = qla24xx_read_window(reg, 0xBF40, 16, iter_reg); in qla81xx_fw_dump()
1758 iter_reg = qla24xx_read_window(reg, 0xBF50, 16, iter_reg); in qla81xx_fw_dump()
1759 iter_reg = qla24xx_read_window(reg, 0xBF60, 16, iter_reg); in qla81xx_fw_dump()
1760 qla24xx_read_window(reg, 0xBF70, 16, iter_reg); in qla81xx_fw_dump()
1763 iter_reg = qla24xx_read_window(reg, 0xBFC0, 16, iter_reg); in qla81xx_fw_dump()
1764 iter_reg = qla24xx_read_window(reg, 0xBFD0, 16, iter_reg); in qla81xx_fw_dump()
1765 qla24xx_read_window(reg, 0xBFE0, 16, iter_reg); in qla81xx_fw_dump()
1767 qla24xx_read_window(reg, 0xBFF0, 16, fw->xseq_1_reg); in qla81xx_fw_dump()
1771 iter_reg = qla24xx_read_window(reg, 0xFF00, 16, iter_reg); in qla81xx_fw_dump()
1772 iter_reg = qla24xx_read_window(reg, 0xFF10, 16, iter_reg); in qla81xx_fw_dump()
1773 iter_reg = qla24xx_read_window(reg, 0xFF20, 16, iter_reg); in qla81xx_fw_dump()
1774 iter_reg = qla24xx_read_window(reg, 0xFF30, 16, iter_reg); in qla81xx_fw_dump()
1775 iter_reg = qla24xx_read_window(reg, 0xFF40, 16, iter_reg); in qla81xx_fw_dump()
1776 iter_reg = qla24xx_read_window(reg, 0xFF50, 16, iter_reg); in qla81xx_fw_dump()
1777 iter_reg = qla24xx_read_window(reg, 0xFF60, 16, iter_reg); in qla81xx_fw_dump()
1778 qla24xx_read_window(reg, 0xFF70, 16, iter_reg); in qla81xx_fw_dump()
1781 iter_reg = qla24xx_read_window(reg, 0xFFC0, 16, iter_reg); in qla81xx_fw_dump()
1782 qla24xx_read_window(reg, 0xFFD0, 16, iter_reg); in qla81xx_fw_dump()
1784 qla24xx_read_window(reg, 0xFFE0, 16, fw->rseq_1_reg); in qla81xx_fw_dump()
1785 qla24xx_read_window(reg, 0xFFF0, 16, fw->rseq_2_reg); in qla81xx_fw_dump()
1789 iter_reg = qla24xx_read_window(reg, 0xB000, 16, iter_reg); in qla81xx_fw_dump()
1790 iter_reg = qla24xx_read_window(reg, 0xB010, 16, iter_reg); in qla81xx_fw_dump()
1791 iter_reg = qla24xx_read_window(reg, 0xB020, 16, iter_reg); in qla81xx_fw_dump()
1792 iter_reg = qla24xx_read_window(reg, 0xB030, 16, iter_reg); in qla81xx_fw_dump()
1793 iter_reg = qla24xx_read_window(reg, 0xB040, 16, iter_reg); in qla81xx_fw_dump()
1794 iter_reg = qla24xx_read_window(reg, 0xB050, 16, iter_reg); in qla81xx_fw_dump()
1795 iter_reg = qla24xx_read_window(reg, 0xB060, 16, iter_reg); in qla81xx_fw_dump()
1796 qla24xx_read_window(reg, 0xB070, 16, iter_reg); in qla81xx_fw_dump()
1799 iter_reg = qla24xx_read_window(reg, 0xB0C0, 16, iter_reg); in qla81xx_fw_dump()
1800 qla24xx_read_window(reg, 0xB0D0, 16, iter_reg); in qla81xx_fw_dump()
1802 qla24xx_read_window(reg, 0xB0E0, 16, fw->aseq_1_reg); in qla81xx_fw_dump()
1803 qla24xx_read_window(reg, 0xB0F0, 16, fw->aseq_2_reg); in qla81xx_fw_dump()
1806 qla24xx_read_window(reg, 0x7100, 16, fw->cmd_dma_reg); in qla81xx_fw_dump()
1810 iter_reg = qla24xx_read_window(reg, 0x7200, 8, iter_reg); in qla81xx_fw_dump()
1811 dmp_reg = &reg->iobase_q; in qla81xx_fw_dump()
1816 iter_reg = qla24xx_read_window(reg, 0x7300, 8, iter_reg); in qla81xx_fw_dump()
1817 dmp_reg = &reg->iobase_q; in qla81xx_fw_dump()
1822 iter_reg = qla24xx_read_window(reg, 0x7400, 8, iter_reg); in qla81xx_fw_dump()
1823 dmp_reg = &reg->iobase_q; in qla81xx_fw_dump()
1829 iter_reg = qla24xx_read_window(reg, 0x7600, 16, iter_reg); in qla81xx_fw_dump()
1830 qla24xx_read_window(reg, 0x7610, 16, iter_reg); in qla81xx_fw_dump()
1833 iter_reg = qla24xx_read_window(reg, 0x7620, 16, iter_reg); in qla81xx_fw_dump()
1834 qla24xx_read_window(reg, 0x7630, 16, iter_reg); in qla81xx_fw_dump()
1837 iter_reg = qla24xx_read_window(reg, 0x7640, 16, iter_reg); in qla81xx_fw_dump()
1838 qla24xx_read_window(reg, 0x7650, 16, iter_reg); in qla81xx_fw_dump()
1841 iter_reg = qla24xx_read_window(reg, 0x7660, 16, iter_reg); in qla81xx_fw_dump()
1842 qla24xx_read_window(reg, 0x7670, 16, iter_reg); in qla81xx_fw_dump()
1845 iter_reg = qla24xx_read_window(reg, 0x7680, 16, iter_reg); in qla81xx_fw_dump()
1846 qla24xx_read_window(reg, 0x7690, 16, iter_reg); in qla81xx_fw_dump()
1848 qla24xx_read_window(reg, 0x76A0, 16, fw->xmt_data_dma_reg); in qla81xx_fw_dump()
1852 iter_reg = qla24xx_read_window(reg, 0x7700, 16, iter_reg); in qla81xx_fw_dump()
1853 qla24xx_read_window(reg, 0x7710, 16, iter_reg); in qla81xx_fw_dump()
1856 iter_reg = qla24xx_read_window(reg, 0x7720, 16, iter_reg); in qla81xx_fw_dump()
1857 qla24xx_read_window(reg, 0x7730, 16, iter_reg); in qla81xx_fw_dump()
1861 iter_reg = qla24xx_read_window(reg, 0x0F00, 16, iter_reg); in qla81xx_fw_dump()
1862 iter_reg = qla24xx_read_window(reg, 0x0F10, 16, iter_reg); in qla81xx_fw_dump()
1863 iter_reg = qla24xx_read_window(reg, 0x0F20, 16, iter_reg); in qla81xx_fw_dump()
1864 iter_reg = qla24xx_read_window(reg, 0x0F30, 16, iter_reg); in qla81xx_fw_dump()
1865 iter_reg = qla24xx_read_window(reg, 0x0F40, 16, iter_reg); in qla81xx_fw_dump()
1866 iter_reg = qla24xx_read_window(reg, 0x0F50, 16, iter_reg); in qla81xx_fw_dump()
1867 iter_reg = qla24xx_read_window(reg, 0x0F60, 16, iter_reg); in qla81xx_fw_dump()
1868 qla24xx_read_window(reg, 0x0F70, 16, iter_reg); in qla81xx_fw_dump()
1872 iter_reg = qla24xx_read_window(reg, 0x3000, 16, iter_reg); in qla81xx_fw_dump()
1873 iter_reg = qla24xx_read_window(reg, 0x3010, 16, iter_reg); in qla81xx_fw_dump()
1874 iter_reg = qla24xx_read_window(reg, 0x3020, 16, iter_reg); in qla81xx_fw_dump()
1875 iter_reg = qla24xx_read_window(reg, 0x3030, 16, iter_reg); in qla81xx_fw_dump()
1876 iter_reg = qla24xx_read_window(reg, 0x3040, 16, iter_reg); in qla81xx_fw_dump()
1877 iter_reg = qla24xx_read_window(reg, 0x3050, 16, iter_reg); in qla81xx_fw_dump()
1878 iter_reg = qla24xx_read_window(reg, 0x3060, 16, iter_reg); in qla81xx_fw_dump()
1879 qla24xx_read_window(reg, 0x3070, 16, iter_reg); in qla81xx_fw_dump()
1883 iter_reg = qla24xx_read_window(reg, 0x4000, 16, iter_reg); in qla81xx_fw_dump()
1884 iter_reg = qla24xx_read_window(reg, 0x4010, 16, iter_reg); in qla81xx_fw_dump()
1885 iter_reg = qla24xx_read_window(reg, 0x4020, 16, iter_reg); in qla81xx_fw_dump()
1886 iter_reg = qla24xx_read_window(reg, 0x4030, 16, iter_reg); in qla81xx_fw_dump()
1887 iter_reg = qla24xx_read_window(reg, 0x4040, 16, iter_reg); in qla81xx_fw_dump()
1888 iter_reg = qla24xx_read_window(reg, 0x4050, 16, iter_reg); in qla81xx_fw_dump()
1889 iter_reg = qla24xx_read_window(reg, 0x4060, 16, iter_reg); in qla81xx_fw_dump()
1890 iter_reg = qla24xx_read_window(reg, 0x4070, 16, iter_reg); in qla81xx_fw_dump()
1891 iter_reg = qla24xx_read_window(reg, 0x4080, 16, iter_reg); in qla81xx_fw_dump()
1892 iter_reg = qla24xx_read_window(reg, 0x4090, 16, iter_reg); in qla81xx_fw_dump()
1893 iter_reg = qla24xx_read_window(reg, 0x40A0, 16, iter_reg); in qla81xx_fw_dump()
1894 iter_reg = qla24xx_read_window(reg, 0x40B0, 16, iter_reg); in qla81xx_fw_dump()
1895 iter_reg = qla24xx_read_window(reg, 0x40C0, 16, iter_reg); in qla81xx_fw_dump()
1896 qla24xx_read_window(reg, 0x40D0, 16, iter_reg); in qla81xx_fw_dump()
1900 iter_reg = qla24xx_read_window(reg, 0x6000, 16, iter_reg); in qla81xx_fw_dump()
1901 iter_reg = qla24xx_read_window(reg, 0x6010, 16, iter_reg); in qla81xx_fw_dump()
1902 iter_reg = qla24xx_read_window(reg, 0x6020, 16, iter_reg); in qla81xx_fw_dump()
1903 iter_reg = qla24xx_read_window(reg, 0x6030, 16, iter_reg); in qla81xx_fw_dump()
1904 iter_reg = qla24xx_read_window(reg, 0x6040, 16, iter_reg); in qla81xx_fw_dump()
1905 iter_reg = qla24xx_read_window(reg, 0x6100, 16, iter_reg); in qla81xx_fw_dump()
1906 iter_reg = qla24xx_read_window(reg, 0x6130, 16, iter_reg); in qla81xx_fw_dump()
1907 iter_reg = qla24xx_read_window(reg, 0x6150, 16, iter_reg); in qla81xx_fw_dump()
1908 iter_reg = qla24xx_read_window(reg, 0x6170, 16, iter_reg); in qla81xx_fw_dump()
1909 iter_reg = qla24xx_read_window(reg, 0x6190, 16, iter_reg); in qla81xx_fw_dump()
1910 iter_reg = qla24xx_read_window(reg, 0x61B0, 16, iter_reg); in qla81xx_fw_dump()
1911 iter_reg = qla24xx_read_window(reg, 0x61C0, 16, iter_reg); in qla81xx_fw_dump()
1912 qla24xx_read_window(reg, 0x6F00, 16, iter_reg); in qla81xx_fw_dump()
1961 struct device_reg_24xx __iomem *reg = &ha->iobase->isp24; in qla83xx_fw_dump() local
1994 fw->host_status = htonl(RD_REG_DWORD(&reg->host_status)); in qla83xx_fw_dump()
2000 qla24xx_pause_risc(reg, ha); in qla83xx_fw_dump()
2002 WRT_REG_DWORD(&reg->iobase_addr, 0x6000); in qla83xx_fw_dump()
2003 dmp_reg = &reg->iobase_window; in qla83xx_fw_dump()
2007 dmp_reg = &reg->unused_4_1[0]; in qla83xx_fw_dump()
2011 WRT_REG_DWORD(&reg->iobase_addr, 0x6010); in qla83xx_fw_dump()
2012 dmp_reg = &reg->unused_4_1[2]; in qla83xx_fw_dump()
2017 WRT_REG_DWORD(&reg->iobase_addr, 0x0F70); in qla83xx_fw_dump()
2018 RD_REG_DWORD(&reg->iobase_addr); in qla83xx_fw_dump()
2019 WRT_REG_DWORD(&reg->iobase_select, 0x60000000); /* write to F0h = PCR */ in qla83xx_fw_dump()
2023 iter_reg = qla24xx_read_window(reg, 0x7000, 16, iter_reg); in qla83xx_fw_dump()
2024 iter_reg = qla24xx_read_window(reg, 0x7010, 16, iter_reg); in qla83xx_fw_dump()
2025 qla24xx_read_window(reg, 0x7040, 16, iter_reg); in qla83xx_fw_dump()
2028 WRT_REG_DWORD(&reg->iobase_addr, 0x7C00); in qla83xx_fw_dump()
2029 RD_REG_DWORD(&reg->iobase_addr); in qla83xx_fw_dump()
2030 WRT_REG_DWORD(&reg->iobase_window, 0x01); in qla83xx_fw_dump()
2031 dmp_reg = &reg->iobase_c4; in qla83xx_fw_dump()
2037 fw->pcie_regs[3] = htonl(RD_REG_DWORD(&reg->iobase_window)); in qla83xx_fw_dump()
2039 WRT_REG_DWORD(&reg->iobase_window, 0x00); in qla83xx_fw_dump()
2040 RD_REG_DWORD(&reg->iobase_window); in qla83xx_fw_dump()
2043 dmp_reg = &reg->flash_addr; in qla83xx_fw_dump()
2048 WRT_REG_DWORD(&reg->ictrl, 0); in qla83xx_fw_dump()
2049 RD_REG_DWORD(&reg->ictrl); in qla83xx_fw_dump()
2052 WRT_REG_DWORD(&reg->iobase_addr, 0x0F70); in qla83xx_fw_dump()
2053 RD_REG_DWORD(&reg->iobase_addr); in qla83xx_fw_dump()
2054 WRT_REG_DWORD(&reg->iobase_select, 0xB0000000); in qla83xx_fw_dump()
2055 fw->shadow_reg[0] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla83xx_fw_dump()
2057 WRT_REG_DWORD(&reg->iobase_select, 0xB0100000); in qla83xx_fw_dump()
2058 fw->shadow_reg[1] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla83xx_fw_dump()
2060 WRT_REG_DWORD(&reg->iobase_select, 0xB0200000); in qla83xx_fw_dump()
2061 fw->shadow_reg[2] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla83xx_fw_dump()
2063 WRT_REG_DWORD(&reg->iobase_select, 0xB0300000); in qla83xx_fw_dump()
2064 fw->shadow_reg[3] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla83xx_fw_dump()
2066 WRT_REG_DWORD(&reg->iobase_select, 0xB0400000); in qla83xx_fw_dump()
2067 fw->shadow_reg[4] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla83xx_fw_dump()
2069 WRT_REG_DWORD(&reg->iobase_select, 0xB0500000); in qla83xx_fw_dump()
2070 fw->shadow_reg[5] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla83xx_fw_dump()
2072 WRT_REG_DWORD(&reg->iobase_select, 0xB0600000); in qla83xx_fw_dump()
2073 fw->shadow_reg[6] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla83xx_fw_dump()
2075 WRT_REG_DWORD(&reg->iobase_select, 0xB0700000); in qla83xx_fw_dump()
2076 fw->shadow_reg[7] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla83xx_fw_dump()
2078 WRT_REG_DWORD(&reg->iobase_select, 0xB0800000); in qla83xx_fw_dump()
2079 fw->shadow_reg[8] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla83xx_fw_dump()
2081 WRT_REG_DWORD(&reg->iobase_select, 0xB0900000); in qla83xx_fw_dump()
2082 fw->shadow_reg[9] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla83xx_fw_dump()
2084 WRT_REG_DWORD(&reg->iobase_select, 0xB0A00000); in qla83xx_fw_dump()
2085 fw->shadow_reg[10] = htonl(RD_REG_DWORD(&reg->iobase_sdata)); in qla83xx_fw_dump()
2088 WRT_REG_DWORD(&reg->iobase_addr, 0x0010); in qla83xx_fw_dump()
2089 fw->risc_io_reg = htonl(RD_REG_DWORD(&reg->iobase_window)); in qla83xx_fw_dump()
2092 mbx_reg = &reg->mailbox0; in qla83xx_fw_dump()
2098 iter_reg = qla24xx_read_window(reg, 0xBE00, 16, iter_reg); in qla83xx_fw_dump()
2099 iter_reg = qla24xx_read_window(reg, 0xBE10, 16, iter_reg); in qla83xx_fw_dump()
2100 iter_reg = qla24xx_read_window(reg, 0xBE20, 16, iter_reg); in qla83xx_fw_dump()
2101 iter_reg = qla24xx_read_window(reg, 0xBE30, 16, iter_reg); in qla83xx_fw_dump()
2102 iter_reg = qla24xx_read_window(reg, 0xBE40, 16, iter_reg); in qla83xx_fw_dump()
2103 iter_reg = qla24xx_read_window(reg, 0xBE50, 16, iter_reg); in qla83xx_fw_dump()
2104 iter_reg = qla24xx_read_window(reg, 0xBE60, 16, iter_reg); in qla83xx_fw_dump()
2105 iter_reg = qla24xx_read_window(reg, 0xBE70, 16, iter_reg); in qla83xx_fw_dump()
2106 iter_reg = qla24xx_read_window(reg, 0xBF00, 16, iter_reg); in qla83xx_fw_dump()
2107 iter_reg = qla24xx_read_window(reg, 0xBF10, 16, iter_reg); in qla83xx_fw_dump()
2108 iter_reg = qla24xx_read_window(reg, 0xBF20, 16, iter_reg); in qla83xx_fw_dump()
2109 iter_reg = qla24xx_read_window(reg, 0xBF30, 16, iter_reg); in qla83xx_fw_dump()
2110 iter_reg = qla24xx_read_window(reg, 0xBF40, 16, iter_reg); in qla83xx_fw_dump()
2111 iter_reg = qla24xx_read_window(reg, 0xBF50, 16, iter_reg); in qla83xx_fw_dump()
2112 iter_reg = qla24xx_read_window(reg, 0xBF60, 16, iter_reg); in qla83xx_fw_dump()
2113 qla24xx_read_window(reg, 0xBF70, 16, iter_reg); in qla83xx_fw_dump()
2116 iter_reg = qla24xx_read_window(reg, 0xBFC0, 16, iter_reg); in qla83xx_fw_dump()
2117 iter_reg = qla24xx_read_window(reg, 0xBFD0, 16, iter_reg); in qla83xx_fw_dump()
2118 qla24xx_read_window(reg, 0xBFE0, 16, iter_reg); in qla83xx_fw_dump()
2120 qla24xx_read_window(reg, 0xBFF0, 16, fw->xseq_1_reg); in qla83xx_fw_dump()
2122 qla24xx_read_window(reg, 0xBEF0, 16, fw->xseq_2_reg); in qla83xx_fw_dump()
2126 iter_reg = qla24xx_read_window(reg, 0xFE00, 16, iter_reg); in qla83xx_fw_dump()
2127 iter_reg = qla24xx_read_window(reg, 0xFE10, 16, iter_reg); in qla83xx_fw_dump()
2128 iter_reg = qla24xx_read_window(reg, 0xFE20, 16, iter_reg); in qla83xx_fw_dump()
2129 iter_reg = qla24xx_read_window(reg, 0xFE30, 16, iter_reg); in qla83xx_fw_dump()
2130 iter_reg = qla24xx_read_window(reg, 0xFE40, 16, iter_reg); in qla83xx_fw_dump()
2131 iter_reg = qla24xx_read_window(reg, 0xFE50, 16, iter_reg); in qla83xx_fw_dump()
2132 iter_reg = qla24xx_read_window(reg, 0xFE60, 16, iter_reg); in qla83xx_fw_dump()
2133 iter_reg = qla24xx_read_window(reg, 0xFE70, 16, iter_reg); in qla83xx_fw_dump()
2134 iter_reg = qla24xx_read_window(reg, 0xFF00, 16, iter_reg); in qla83xx_fw_dump()
2135 iter_reg = qla24xx_read_window(reg, 0xFF10, 16, iter_reg); in qla83xx_fw_dump()
2136 iter_reg = qla24xx_read_window(reg, 0xFF20, 16, iter_reg); in qla83xx_fw_dump()
2137 iter_reg = qla24xx_read_window(reg, 0xFF30, 16, iter_reg); in qla83xx_fw_dump()
2138 iter_reg = qla24xx_read_window(reg, 0xFF40, 16, iter_reg); in qla83xx_fw_dump()
2139 iter_reg = qla24xx_read_window(reg, 0xFF50, 16, iter_reg); in qla83xx_fw_dump()
2140 iter_reg = qla24xx_read_window(reg, 0xFF60, 16, iter_reg); in qla83xx_fw_dump()
2141 qla24xx_read_window(reg, 0xFF70, 16, iter_reg); in qla83xx_fw_dump()
2144 iter_reg = qla24xx_read_window(reg, 0xFFC0, 16, iter_reg); in qla83xx_fw_dump()
2145 qla24xx_read_window(reg, 0xFFD0, 16, iter_reg); in qla83xx_fw_dump()
2147 qla24xx_read_window(reg, 0xFFE0, 16, fw->rseq_1_reg); in qla83xx_fw_dump()
2148 qla24xx_read_window(reg, 0xFFF0, 16, fw->rseq_2_reg); in qla83xx_fw_dump()
2149 qla24xx_read_window(reg, 0xFEF0, 16, fw->rseq_3_reg); in qla83xx_fw_dump()
2153 iter_reg = qla24xx_read_window(reg, 0xB000, 16, iter_reg); in qla83xx_fw_dump()
2154 iter_reg = qla24xx_read_window(reg, 0xB010, 16, iter_reg); in qla83xx_fw_dump()
2155 iter_reg = qla24xx_read_window(reg, 0xB020, 16, iter_reg); in qla83xx_fw_dump()
2156 iter_reg = qla24xx_read_window(reg, 0xB030, 16, iter_reg); in qla83xx_fw_dump()
2157 iter_reg = qla24xx_read_window(reg, 0xB040, 16, iter_reg); in qla83xx_fw_dump()
2158 iter_reg = qla24xx_read_window(reg, 0xB050, 16, iter_reg); in qla83xx_fw_dump()
2159 iter_reg = qla24xx_read_window(reg, 0xB060, 16, iter_reg); in qla83xx_fw_dump()
2160 iter_reg = qla24xx_read_window(reg, 0xB070, 16, iter_reg); in qla83xx_fw_dump()
2161 iter_reg = qla24xx_read_window(reg, 0xB100, 16, iter_reg); in qla83xx_fw_dump()
2162 iter_reg = qla24xx_read_window(reg, 0xB110, 16, iter_reg); in qla83xx_fw_dump()
2163 iter_reg = qla24xx_read_window(reg, 0xB120, 16, iter_reg); in qla83xx_fw_dump()
2164 iter_reg = qla24xx_read_window(reg, 0xB130, 16, iter_reg); in qla83xx_fw_dump()
2165 iter_reg = qla24xx_read_window(reg, 0xB140, 16, iter_reg); in qla83xx_fw_dump()
2166 iter_reg = qla24xx_read_window(reg, 0xB150, 16, iter_reg); in qla83xx_fw_dump()
2167 iter_reg = qla24xx_read_window(reg, 0xB160, 16, iter_reg); in qla83xx_fw_dump()
2168 qla24xx_read_window(reg, 0xB170, 16, iter_reg); in qla83xx_fw_dump()
2171 iter_reg = qla24xx_read_window(reg, 0xB0C0, 16, iter_reg); in qla83xx_fw_dump()
2172 qla24xx_read_window(reg, 0xB0D0, 16, iter_reg); in qla83xx_fw_dump()
2174 qla24xx_read_window(reg, 0xB0E0, 16, fw->aseq_1_reg); in qla83xx_fw_dump()
2175 qla24xx_read_window(reg, 0xB0F0, 16, fw->aseq_2_reg); in qla83xx_fw_dump()
2176 qla24xx_read_window(reg, 0xB1F0, 16, fw->aseq_3_reg); in qla83xx_fw_dump()
2180 iter_reg = qla24xx_read_window(reg, 0x7100, 16, iter_reg); in qla83xx_fw_dump()
2181 iter_reg = qla24xx_read_window(reg, 0x7120, 16, iter_reg); in qla83xx_fw_dump()
2182 iter_reg = qla24xx_read_window(reg, 0x7130, 16, iter_reg); in qla83xx_fw_dump()
2183 qla24xx_read_window(reg, 0x71F0, 16, iter_reg); in qla83xx_fw_dump()
2187 iter_reg = qla24xx_read_window(reg, 0x7200, 8, iter_reg); in qla83xx_fw_dump()
2188 dmp_reg = &reg->iobase_q; in qla83xx_fw_dump()
2193 iter_reg = qla24xx_read_window(reg, 0x7300, 8, iter_reg); in qla83xx_fw_dump()
2194 dmp_reg = &reg->iobase_q; in qla83xx_fw_dump()
2199 iter_reg = qla24xx_read_window(reg, 0x7400, 8, iter_reg); in qla83xx_fw_dump()
2200 dmp_reg = &reg->iobase_q; in qla83xx_fw_dump()
2206 iter_reg = qla24xx_read_window(reg, 0x7600, 16, iter_reg); in qla83xx_fw_dump()
2207 qla24xx_read_window(reg, 0x7610, 16, iter_reg); in qla83xx_fw_dump()
2210 iter_reg = qla24xx_read_window(reg, 0x7620, 16, iter_reg); in qla83xx_fw_dump()
2211 qla24xx_read_window(reg, 0x7630, 16, iter_reg); in qla83xx_fw_dump()
2214 iter_reg = qla24xx_read_window(reg, 0x7640, 16, iter_reg); in qla83xx_fw_dump()
2215 qla24xx_read_window(reg, 0x7650, 16, iter_reg); in qla83xx_fw_dump()
2218 iter_reg = qla24xx_read_window(reg, 0x7660, 16, iter_reg); in qla83xx_fw_dump()
2219 qla24xx_read_window(reg, 0x7670, 16, iter_reg); in qla83xx_fw_dump()
2222 iter_reg = qla24xx_read_window(reg, 0x7680, 16, iter_reg); in qla83xx_fw_dump()
2223 qla24xx_read_window(reg, 0x7690, 16, iter_reg); in qla83xx_fw_dump()
2225 qla24xx_read_window(reg, 0x76A0, 16, fw->xmt_data_dma_reg); in qla83xx_fw_dump()
2229 iter_reg = qla24xx_read_window(reg, 0x7700, 16, iter_reg); in qla83xx_fw_dump()
2230 qla24xx_read_window(reg, 0x7710, 16, iter_reg); in qla83xx_fw_dump()
2233 iter_reg = qla24xx_read_window(reg, 0x7720, 16, iter_reg); in qla83xx_fw_dump()
2234 qla24xx_read_window(reg, 0x7730, 16, iter_reg); in qla83xx_fw_dump()
2238 iter_reg = qla24xx_read_window(reg, 0x0F00, 16, iter_reg); in qla83xx_fw_dump()
2239 iter_reg = qla24xx_read_window(reg, 0x0F10, 16, iter_reg); in qla83xx_fw_dump()
2240 iter_reg = qla24xx_read_window(reg, 0x0F20, 16, iter_reg); in qla83xx_fw_dump()
2241 iter_reg = qla24xx_read_window(reg, 0x0F30, 16, iter_reg); in qla83xx_fw_dump()
2242 iter_reg = qla24xx_read_window(reg, 0x0F40, 16, iter_reg); in qla83xx_fw_dump()
2243 iter_reg = qla24xx_read_window(reg, 0x0F50, 16, iter_reg); in qla83xx_fw_dump()
2244 iter_reg = qla24xx_read_window(reg, 0x0F60, 16, iter_reg); in qla83xx_fw_dump()
2245 qla24xx_read_window(reg, 0x0F70, 16, iter_reg); in qla83xx_fw_dump()
2249 iter_reg = qla24xx_read_window(reg, 0x3000, 16, iter_reg); in qla83xx_fw_dump()
2250 iter_reg = qla24xx_read_window(reg, 0x3010, 16, iter_reg); in qla83xx_fw_dump()
2251 iter_reg = qla24xx_read_window(reg, 0x3020, 16, iter_reg); in qla83xx_fw_dump()
2252 iter_reg = qla24xx_read_window(reg, 0x3030, 16, iter_reg); in qla83xx_fw_dump()
2253 iter_reg = qla24xx_read_window(reg, 0x3040, 16, iter_reg); in qla83xx_fw_dump()
2254 iter_reg = qla24xx_read_window(reg, 0x3050, 16, iter_reg); in qla83xx_fw_dump()
2255 iter_reg = qla24xx_read_window(reg, 0x3060, 16, iter_reg); in qla83xx_fw_dump()
2256 qla24xx_read_window(reg, 0x3070, 16, iter_reg); in qla83xx_fw_dump()
2260 iter_reg = qla24xx_read_window(reg, 0x4000, 16, iter_reg); in qla83xx_fw_dump()
2261 iter_reg = qla24xx_read_window(reg, 0x4010, 16, iter_reg); in qla83xx_fw_dump()
2262 iter_reg = qla24xx_read_window(reg, 0x4020, 16, iter_reg); in qla83xx_fw_dump()
2263 iter_reg = qla24xx_read_window(reg, 0x4030, 16, iter_reg); in qla83xx_fw_dump()
2264 iter_reg = qla24xx_read_window(reg, 0x4040, 16, iter_reg); in qla83xx_fw_dump()
2265 iter_reg = qla24xx_read_window(reg, 0x4050, 16, iter_reg); in qla83xx_fw_dump()
2266 iter_reg = qla24xx_read_window(reg, 0x4060, 16, iter_reg); in qla83xx_fw_dump()
2267 iter_reg = qla24xx_read_window(reg, 0x4070, 16, iter_reg); in qla83xx_fw_dump()
2268 iter_reg = qla24xx_read_window(reg, 0x4080, 16, iter_reg); in qla83xx_fw_dump()
2269 iter_reg = qla24xx_read_window(reg, 0x4090, 16, iter_reg); in qla83xx_fw_dump()
2270 iter_reg = qla24xx_read_window(reg, 0x40A0, 16, iter_reg); in qla83xx_fw_dump()
2271 iter_reg = qla24xx_read_window(reg, 0x40B0, 16, iter_reg); in qla83xx_fw_dump()
2272 iter_reg = qla24xx_read_window(reg, 0x40C0, 16, iter_reg); in qla83xx_fw_dump()
2273 iter_reg = qla24xx_read_window(reg, 0x40D0, 16, iter_reg); in qla83xx_fw_dump()
2274 iter_reg = qla24xx_read_window(reg, 0x40E0, 16, iter_reg); in qla83xx_fw_dump()
2275 qla24xx_read_window(reg, 0x40F0, 16, iter_reg); in qla83xx_fw_dump()
2279 iter_reg = qla24xx_read_window(reg, 0x5C00, 16, iter_reg); in qla83xx_fw_dump()
2280 iter_reg = qla24xx_read_window(reg, 0x5C10, 16, iter_reg); in qla83xx_fw_dump()
2281 iter_reg = qla24xx_read_window(reg, 0x5C20, 16, iter_reg); in qla83xx_fw_dump()
2282 iter_reg = qla24xx_read_window(reg, 0x5C30, 16, iter_reg); in qla83xx_fw_dump()
2283 iter_reg = qla24xx_read_window(reg, 0x5C40, 16, iter_reg); in qla83xx_fw_dump()
2284 iter_reg = qla24xx_read_window(reg, 0x5C50, 16, iter_reg); in qla83xx_fw_dump()
2285 iter_reg = qla24xx_read_window(reg, 0x5C60, 16, iter_reg); in qla83xx_fw_dump()
2286 iter_reg = qla24xx_read_window(reg, 0x5C70, 16, iter_reg); in qla83xx_fw_dump()
2287 iter_reg = qla24xx_read_window(reg, 0x5C80, 16, iter_reg); in qla83xx_fw_dump()
2288 iter_reg = qla24xx_read_window(reg, 0x5C90, 16, iter_reg); in qla83xx_fw_dump()
2289 iter_reg = qla24xx_read_window(reg, 0x5CA0, 16, iter_reg); in qla83xx_fw_dump()
2290 iter_reg = qla24xx_read_window(reg, 0x5CB0, 16, iter_reg); in qla83xx_fw_dump()
2291 iter_reg = qla24xx_read_window(reg, 0x5CC0, 16, iter_reg); in qla83xx_fw_dump()
2292 iter_reg = qla24xx_read_window(reg, 0x5CD0, 16, iter_reg); in qla83xx_fw_dump()
2293 iter_reg = qla24xx_read_window(reg, 0x5CE0, 16, iter_reg); in qla83xx_fw_dump()
2294 qla24xx_read_window(reg, 0x5CF0, 16, iter_reg); in qla83xx_fw_dump()
2298 iter_reg = qla24xx_read_window(reg, 0x5D00, 16, iter_reg); in qla83xx_fw_dump()
2299 iter_reg = qla24xx_read_window(reg, 0x5D10, 16, iter_reg); in qla83xx_fw_dump()
2300 iter_reg = qla24xx_read_window(reg, 0x5D20, 16, iter_reg); in qla83xx_fw_dump()
2301 iter_reg = qla24xx_read_window(reg, 0x5D30, 16, iter_reg); in qla83xx_fw_dump()
2302 iter_reg = qla24xx_read_window(reg, 0x5D40, 16, iter_reg); in qla83xx_fw_dump()
2303 iter_reg = qla24xx_read_window(reg, 0x5D50, 16, iter_reg); in qla83xx_fw_dump()
2304 iter_reg = qla24xx_read_window(reg, 0x5D60, 16, iter_reg); in qla83xx_fw_dump()
2305 iter_reg = qla24xx_read_window(reg, 0x5D70, 16, iter_reg); in qla83xx_fw_dump()
2306 iter_reg = qla24xx_read_window(reg, 0x5D80, 16, iter_reg); in qla83xx_fw_dump()
2307 iter_reg = qla24xx_read_window(reg, 0x5D90, 16, iter_reg); in qla83xx_fw_dump()
2308 iter_reg = qla24xx_read_window(reg, 0x5DA0, 16, iter_reg); in qla83xx_fw_dump()
2309 iter_reg = qla24xx_read_window(reg, 0x5DB0, 16, iter_reg); in qla83xx_fw_dump()
2310 iter_reg = qla24xx_read_window(reg, 0x5DC0, 16, iter_reg); in qla83xx_fw_dump()
2311 iter_reg = qla24xx_read_window(reg, 0x5DD0, 16, iter_reg); in qla83xx_fw_dump()
2312 iter_reg = qla24xx_read_window(reg, 0x5DE0, 16, iter_reg); in qla83xx_fw_dump()
2313 qla24xx_read_window(reg, 0x5DF0, 16, iter_reg); in qla83xx_fw_dump()
2317 iter_reg = qla24xx_read_window(reg, 0x5E00, 16, iter_reg); in qla83xx_fw_dump()
2318 iter_reg = qla24xx_read_window(reg, 0x5E10, 16, iter_reg); in qla83xx_fw_dump()
2319 iter_reg = qla24xx_read_window(reg, 0x5E20, 16, iter_reg); in qla83xx_fw_dump()
2320 iter_reg = qla24xx_read_window(reg, 0x5E30, 16, iter_reg); in qla83xx_fw_dump()
2321 iter_reg = qla24xx_read_window(reg, 0x5E40, 16, iter_reg); in qla83xx_fw_dump()
2322 iter_reg = qla24xx_read_window(reg, 0x5E50, 16, iter_reg); in qla83xx_fw_dump()
2323 iter_reg = qla24xx_read_window(reg, 0x5E60, 16, iter_reg); in qla83xx_fw_dump()
2324 iter_reg = qla24xx_read_window(reg, 0x5E70, 16, iter_reg); in qla83xx_fw_dump()
2325 iter_reg = qla24xx_read_window(reg, 0x5E80, 16, iter_reg); in qla83xx_fw_dump()
2326 iter_reg = qla24xx_read_window(reg, 0x5E90, 16, iter_reg); in qla83xx_fw_dump()
2327 iter_reg = qla24xx_read_window(reg, 0x5EA0, 16, iter_reg); in qla83xx_fw_dump()
2328 iter_reg = qla24xx_read_window(reg, 0x5EB0, 16, iter_reg); in qla83xx_fw_dump()
2329 iter_reg = qla24xx_read_window(reg, 0x5EC0, 16, iter_reg); in qla83xx_fw_dump()
2330 iter_reg = qla24xx_read_window(reg, 0x5ED0, 16, iter_reg); in qla83xx_fw_dump()
2331 iter_reg = qla24xx_read_window(reg, 0x5EE0, 16, iter_reg); in qla83xx_fw_dump()
2332 qla24xx_read_window(reg, 0x5EF0, 16, iter_reg); in qla83xx_fw_dump()
2336 iter_reg = qla24xx_read_window(reg, 0x5F00, 16, iter_reg); in qla83xx_fw_dump()
2337 iter_reg = qla24xx_read_window(reg, 0x5F10, 16, iter_reg); in qla83xx_fw_dump()
2338 iter_reg = qla24xx_read_window(reg, 0x5F20, 16, iter_reg); in qla83xx_fw_dump()
2339 iter_reg = qla24xx_read_window(reg, 0x5F30, 16, iter_reg); in qla83xx_fw_dump()
2340 iter_reg = qla24xx_read_window(reg, 0x5F40, 16, iter_reg); in qla83xx_fw_dump()
2341 iter_reg = qla24xx_read_window(reg, 0x5F50, 16, iter_reg); in qla83xx_fw_dump()
2342 iter_reg = qla24xx_read_window(reg, 0x5F60, 16, iter_reg); in qla83xx_fw_dump()
2343 iter_reg = qla24xx_read_window(reg, 0x5F70, 16, iter_reg); in qla83xx_fw_dump()
2344 iter_reg = qla24xx_read_window(reg, 0x5F80, 16, iter_reg); in qla83xx_fw_dump()
2345 iter_reg = qla24xx_read_window(reg, 0x5F90, 16, iter_reg); in qla83xx_fw_dump()
2346 iter_reg = qla24xx_read_window(reg, 0x5FA0, 16, iter_reg); in qla83xx_fw_dump()
2347 iter_reg = qla24xx_read_window(reg, 0x5FB0, 16, iter_reg); in qla83xx_fw_dump()
2348 iter_reg = qla24xx_read_window(reg, 0x5FC0, 16, iter_reg); in qla83xx_fw_dump()
2349 iter_reg = qla24xx_read_window(reg, 0x5FD0, 16, iter_reg); in qla83xx_fw_dump()
2350 iter_reg = qla24xx_read_window(reg, 0x5FE0, 16, iter_reg); in qla83xx_fw_dump()
2351 qla24xx_read_window(reg, 0x5FF0, 16, iter_reg); in qla83xx_fw_dump()
2354 iter_reg = qla24xx_read_window(reg, 0x7080, 16, iter_reg); in qla83xx_fw_dump()
2355 iter_reg = qla24xx_read_window(reg, 0x7090, 16, iter_reg); in qla83xx_fw_dump()
2356 iter_reg = qla24xx_read_window(reg, 0x70A0, 16, iter_reg); in qla83xx_fw_dump()
2357 iter_reg = qla24xx_read_window(reg, 0x70B0, 16, iter_reg); in qla83xx_fw_dump()
2358 iter_reg = qla24xx_read_window(reg, 0x70C0, 16, iter_reg); in qla83xx_fw_dump()
2359 iter_reg = qla24xx_read_window(reg, 0x70D0, 16, iter_reg); in qla83xx_fw_dump()
2360 iter_reg = qla24xx_read_window(reg, 0x70E0, 16, iter_reg); in qla83xx_fw_dump()
2361 qla24xx_read_window(reg, 0x70F0, 16, iter_reg); in qla83xx_fw_dump()
2364 qla24xx_read_window(reg, 0x7800, 16, fw->queue_control_reg); in qla83xx_fw_dump()
2368 iter_reg = qla24xx_read_window(reg, 0x6000, 16, iter_reg); in qla83xx_fw_dump()
2369 iter_reg = qla24xx_read_window(reg, 0x6010, 16, iter_reg); in qla83xx_fw_dump()
2370 iter_reg = qla24xx_read_window(reg, 0x6020, 16, iter_reg); in qla83xx_fw_dump()
2371 iter_reg = qla24xx_read_window(reg, 0x6030, 16, iter_reg); in qla83xx_fw_dump()
2372 iter_reg = qla24xx_read_window(reg, 0x6040, 16, iter_reg); in qla83xx_fw_dump()
2373 iter_reg = qla24xx_read_window(reg, 0x6060, 16, iter_reg); in qla83xx_fw_dump()
2374 iter_reg = qla24xx_read_window(reg, 0x6070, 16, iter_reg); in qla83xx_fw_dump()
2375 iter_reg = qla24xx_read_window(reg, 0x6100, 16, iter_reg); in qla83xx_fw_dump()
2376 iter_reg = qla24xx_read_window(reg, 0x6130, 16, iter_reg); in qla83xx_fw_dump()
2377 iter_reg = qla24xx_read_window(reg, 0x6150, 16, iter_reg); in qla83xx_fw_dump()
2378 iter_reg = qla24xx_read_window(reg, 0x6170, 16, iter_reg); in qla83xx_fw_dump()
2379 iter_reg = qla24xx_read_window(reg, 0x6190, 16, iter_reg); in qla83xx_fw_dump()
2380 iter_reg = qla24xx_read_window(reg, 0x61B0, 16, iter_reg); in qla83xx_fw_dump()
2381 iter_reg = qla24xx_read_window(reg, 0x61C0, 16, iter_reg); in qla83xx_fw_dump()
2382 iter_reg = qla24xx_read_window(reg, 0x6530, 16, iter_reg); in qla83xx_fw_dump()
2383 iter_reg = qla24xx_read_window(reg, 0x6540, 16, iter_reg); in qla83xx_fw_dump()
2384 iter_reg = qla24xx_read_window(reg, 0x6550, 16, iter_reg); in qla83xx_fw_dump()
2385 iter_reg = qla24xx_read_window(reg, 0x6560, 16, iter_reg); in qla83xx_fw_dump()
2386 iter_reg = qla24xx_read_window(reg, 0x6570, 16, iter_reg); in qla83xx_fw_dump()
2387 iter_reg = qla24xx_read_window(reg, 0x6580, 16, iter_reg); in qla83xx_fw_dump()
2388 iter_reg = qla24xx_read_window(reg, 0x6590, 16, iter_reg); in qla83xx_fw_dump()
2389 iter_reg = qla24xx_read_window(reg, 0x65A0, 16, iter_reg); in qla83xx_fw_dump()
2390 iter_reg = qla24xx_read_window(reg, 0x65B0, 16, iter_reg); in qla83xx_fw_dump()
2391 iter_reg = qla24xx_read_window(reg, 0x65C0, 16, iter_reg); in qla83xx_fw_dump()
2392 iter_reg = qla24xx_read_window(reg, 0x65D0, 16, iter_reg); in qla83xx_fw_dump()
2393 iter_reg = qla24xx_read_window(reg, 0x65E0, 16, iter_reg); in qla83xx_fw_dump()
2394 qla24xx_read_window(reg, 0x6F00, 16, iter_reg); in qla83xx_fw_dump()
2408 WRT_REG_DWORD(&reg->hccr, HCCRX_SET_RISC_RESET); in qla83xx_fw_dump()
2409 RD_REG_DWORD(&reg->hccr); in qla83xx_fw_dump()
2411 WRT_REG_DWORD(&reg->hccr, HCCRX_REL_RISC_PAUSE); in qla83xx_fw_dump()
2412 RD_REG_DWORD(&reg->hccr); in qla83xx_fw_dump()
2414 WRT_REG_DWORD(&reg->hccr, HCCRX_CLR_RISC_RESET); in qla83xx_fw_dump()
2415 RD_REG_DWORD(&reg->hccr); in qla83xx_fw_dump()
2417 for (cnt = 30000; cnt && (RD_REG_WORD(&reg->mailbox0)); cnt--) in qla83xx_fw_dump()
2675 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp; in ql_dump_regs() local
2688 mbx_reg = MAILBOX_REG(ha, reg, 0); in ql_dump_regs()