• Home
  • Raw
  • Download

Lines Matching refs:fw

734 	struct qla2300_fw_dump	*fw;  in qla2300_fw_dump()  local
753 fw = &ha->fw_dump->isp.isp23; in qla2300_fw_dump()
757 fw->hccr = htons(rd_reg_word(&reg->hccr)); in qla2300_fw_dump()
777 for (cnt = 0; cnt < ARRAY_SIZE(fw->pbiu_reg); cnt++, dmp_reg++) in qla2300_fw_dump()
778 fw->pbiu_reg[cnt] = htons(rd_reg_word(dmp_reg)); in qla2300_fw_dump()
781 for (cnt = 0; cnt < ARRAY_SIZE(fw->risc_host_reg); in qla2300_fw_dump()
783 fw->risc_host_reg[cnt] = htons(rd_reg_word(dmp_reg)); in qla2300_fw_dump()
786 for (cnt = 0; cnt < ARRAY_SIZE(fw->mailbox_reg); in qla2300_fw_dump()
788 fw->mailbox_reg[cnt] = htons(rd_reg_word(dmp_reg)); in qla2300_fw_dump()
791 qla2xxx_read_window(reg, 32, fw->resp_dma_reg); in qla2300_fw_dump()
794 qla2xxx_read_window(reg, 48, fw->dma_reg); in qla2300_fw_dump()
798 for (cnt = 0; cnt < ARRAY_SIZE(fw->risc_hdw_reg); in qla2300_fw_dump()
800 fw->risc_hdw_reg[cnt] = htons(rd_reg_word(dmp_reg)); in qla2300_fw_dump()
803 qla2xxx_read_window(reg, 16, fw->risc_gp0_reg); in qla2300_fw_dump()
806 qla2xxx_read_window(reg, 16, fw->risc_gp1_reg); in qla2300_fw_dump()
809 qla2xxx_read_window(reg, 16, fw->risc_gp2_reg); in qla2300_fw_dump()
812 qla2xxx_read_window(reg, 16, fw->risc_gp3_reg); in qla2300_fw_dump()
815 qla2xxx_read_window(reg, 16, fw->risc_gp4_reg); in qla2300_fw_dump()
818 qla2xxx_read_window(reg, 16, fw->risc_gp5_reg); in qla2300_fw_dump()
821 qla2xxx_read_window(reg, 16, fw->risc_gp6_reg); in qla2300_fw_dump()
824 qla2xxx_read_window(reg, 16, fw->risc_gp7_reg); in qla2300_fw_dump()
827 qla2xxx_read_window(reg, 64, fw->frame_buf_hdw_reg); in qla2300_fw_dump()
830 qla2xxx_read_window(reg, 64, fw->fpm_b0_reg); in qla2300_fw_dump()
833 qla2xxx_read_window(reg, 64, fw->fpm_b1_reg); in qla2300_fw_dump()
858 rval = qla2xxx_dump_ram(ha, 0x800, fw->risc_ram, in qla2300_fw_dump()
859 ARRAY_SIZE(fw->risc_ram), &nxt); in qla2300_fw_dump()
863 rval = qla2xxx_dump_ram(ha, 0x10000, fw->stack_ram, in qla2300_fw_dump()
864 ARRAY_SIZE(fw->stack_ram), &nxt); in qla2300_fw_dump()
868 rval = qla2xxx_dump_ram(ha, 0x11000, fw->data_ram, in qla2300_fw_dump()
891 struct qla2100_fw_dump *fw; in qla2100_fw_dump() local
909 fw = &ha->fw_dump->isp.isp21; in qla2100_fw_dump()
913 fw->hccr = htons(rd_reg_word(&reg->hccr)); in qla2100_fw_dump()
926 for (cnt = 0; cnt < ARRAY_SIZE(fw->pbiu_reg); cnt++, dmp_reg++) in qla2100_fw_dump()
927 fw->pbiu_reg[cnt] = htons(rd_reg_word(dmp_reg)); in qla2100_fw_dump()
934 fw->mailbox_reg[cnt] = htons(rd_reg_word(dmp_reg)); in qla2100_fw_dump()
938 for (cnt = 0; cnt < ARRAY_SIZE(fw->dma_reg); cnt++, dmp_reg++) in qla2100_fw_dump()
939 fw->dma_reg[cnt] = htons(rd_reg_word(dmp_reg)); in qla2100_fw_dump()
943 for (cnt = 0; cnt < ARRAY_SIZE(fw->risc_hdw_reg); cnt++, dmp_reg++) in qla2100_fw_dump()
944 fw->risc_hdw_reg[cnt] = htons(rd_reg_word(dmp_reg)); in qla2100_fw_dump()
947 qla2xxx_read_window(reg, 16, fw->risc_gp0_reg); in qla2100_fw_dump()
950 qla2xxx_read_window(reg, 16, fw->risc_gp1_reg); in qla2100_fw_dump()
953 qla2xxx_read_window(reg, 16, fw->risc_gp2_reg); in qla2100_fw_dump()
956 qla2xxx_read_window(reg, 16, fw->risc_gp3_reg); in qla2100_fw_dump()
959 qla2xxx_read_window(reg, 16, fw->risc_gp4_reg); in qla2100_fw_dump()
962 qla2xxx_read_window(reg, 16, fw->risc_gp5_reg); in qla2100_fw_dump()
965 qla2xxx_read_window(reg, 16, fw->risc_gp6_reg); in qla2100_fw_dump()
968 qla2xxx_read_window(reg, 16, fw->risc_gp7_reg); in qla2100_fw_dump()
971 qla2xxx_read_window(reg, 16, fw->frame_buf_hdw_reg); in qla2100_fw_dump()
974 qla2xxx_read_window(reg, 64, fw->fpm_b0_reg); in qla2100_fw_dump()
977 qla2xxx_read_window(reg, 64, fw->fpm_b1_reg); in qla2100_fw_dump()
1023 for (cnt = 0; cnt < ARRAY_SIZE(fw->risc_ram) && rval == QLA_SUCCESS; in qla2100_fw_dump()
1052 fw->risc_ram[cnt] = htons(mb2); in qla2100_fw_dump()
1059 qla2xxx_copy_queues(ha, &fw->queue_dump[0]); in qla2100_fw_dump()
1074 struct qla24xx_fw_dump *fw; in qla24xx_fw_dump() local
1101 fw = &ha->fw_dump->isp.isp24; in qla24xx_fw_dump()
1104 fw->host_status = htonl(rd_reg_dword(&reg->host_status)); in qla24xx_fw_dump()
1114 for (cnt = 0; cnt < ARRAY_SIZE(fw->host_reg); cnt++, dmp_reg++) in qla24xx_fw_dump()
1115 fw->host_reg[cnt] = htonl(rd_reg_dword(dmp_reg)); in qla24xx_fw_dump()
1125 fw->shadow_reg[0] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla24xx_fw_dump()
1128 fw->shadow_reg[1] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla24xx_fw_dump()
1131 fw->shadow_reg[2] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla24xx_fw_dump()
1134 fw->shadow_reg[3] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla24xx_fw_dump()
1137 fw->shadow_reg[4] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla24xx_fw_dump()
1140 fw->shadow_reg[5] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla24xx_fw_dump()
1143 fw->shadow_reg[6] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla24xx_fw_dump()
1147 for (cnt = 0; cnt < ARRAY_SIZE(fw->mailbox_reg); cnt++, mbx_reg++) in qla24xx_fw_dump()
1148 fw->mailbox_reg[cnt] = htons(rd_reg_word(mbx_reg)); in qla24xx_fw_dump()
1151 iter_reg = fw->xseq_gp_reg; in qla24xx_fw_dump()
1161 qla24xx_read_window(reg, 0xBFE0, 16, fw->xseq_0_reg); in qla24xx_fw_dump()
1162 qla24xx_read_window(reg, 0xBFF0, 16, fw->xseq_1_reg); in qla24xx_fw_dump()
1165 iter_reg = fw->rseq_gp_reg; in qla24xx_fw_dump()
1175 qla24xx_read_window(reg, 0xFFD0, 16, fw->rseq_0_reg); in qla24xx_fw_dump()
1176 qla24xx_read_window(reg, 0xFFE0, 16, fw->rseq_1_reg); in qla24xx_fw_dump()
1177 qla24xx_read_window(reg, 0xFFF0, 16, fw->rseq_2_reg); in qla24xx_fw_dump()
1180 qla24xx_read_window(reg, 0x7100, 16, fw->cmd_dma_reg); in qla24xx_fw_dump()
1183 iter_reg = fw->req0_dma_reg; in qla24xx_fw_dump()
1189 iter_reg = fw->resp0_dma_reg; in qla24xx_fw_dump()
1195 iter_reg = fw->req1_dma_reg; in qla24xx_fw_dump()
1202 iter_reg = fw->xmt0_dma_reg; in qla24xx_fw_dump()
1206 iter_reg = fw->xmt1_dma_reg; in qla24xx_fw_dump()
1210 iter_reg = fw->xmt2_dma_reg; in qla24xx_fw_dump()
1214 iter_reg = fw->xmt3_dma_reg; in qla24xx_fw_dump()
1218 iter_reg = fw->xmt4_dma_reg; in qla24xx_fw_dump()
1222 qla24xx_read_window(reg, 0x76A0, 16, fw->xmt_data_dma_reg); in qla24xx_fw_dump()
1225 iter_reg = fw->rcvt0_data_dma_reg; in qla24xx_fw_dump()
1229 iter_reg = fw->rcvt1_data_dma_reg; in qla24xx_fw_dump()
1234 iter_reg = fw->risc_gp_reg; in qla24xx_fw_dump()
1245 iter_reg = fw->lmc_reg; in qla24xx_fw_dump()
1255 iter_reg = fw->fpm_hdw_reg; in qla24xx_fw_dump()
1270 iter_reg = fw->fb_hdw_reg; in qla24xx_fw_dump()
1287 rval = qla24xx_dump_memory(ha, fw->code_ram, sizeof(fw->code_ram), in qla24xx_fw_dump()
1320 struct qla25xx_fw_dump *fw; in qla25xx_fw_dump() local
1343 fw = &ha->fw_dump->isp.isp25; in qla25xx_fw_dump()
1347 fw->host_status = htonl(rd_reg_dword(&reg->host_status)); in qla25xx_fw_dump()
1356 iter_reg = fw->host_risc_reg; in qla25xx_fw_dump()
1365 fw->pcie_regs[0] = htonl(rd_reg_dword(dmp_reg)); in qla25xx_fw_dump()
1367 fw->pcie_regs[1] = htonl(rd_reg_dword(dmp_reg)); in qla25xx_fw_dump()
1369 fw->pcie_regs[2] = htonl(rd_reg_dword(dmp_reg)); in qla25xx_fw_dump()
1370 fw->pcie_regs[3] = htonl(rd_reg_dword(&reg->iobase_window)); in qla25xx_fw_dump()
1377 for (cnt = 0; cnt < ARRAY_SIZE(fw->host_reg); cnt++, dmp_reg++) in qla25xx_fw_dump()
1378 fw->host_reg[cnt] = htonl(rd_reg_dword(dmp_reg)); in qla25xx_fw_dump()
1388 fw->shadow_reg[0] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla25xx_fw_dump()
1391 fw->shadow_reg[1] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla25xx_fw_dump()
1394 fw->shadow_reg[2] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla25xx_fw_dump()
1397 fw->shadow_reg[3] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla25xx_fw_dump()
1400 fw->shadow_reg[4] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla25xx_fw_dump()
1403 fw->shadow_reg[5] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla25xx_fw_dump()
1406 fw->shadow_reg[6] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla25xx_fw_dump()
1409 fw->shadow_reg[7] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla25xx_fw_dump()
1412 fw->shadow_reg[8] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla25xx_fw_dump()
1415 fw->shadow_reg[9] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla25xx_fw_dump()
1418 fw->shadow_reg[10] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla25xx_fw_dump()
1422 fw->risc_io_reg = htonl(rd_reg_dword(&reg->iobase_window)); in qla25xx_fw_dump()
1426 for (cnt = 0; cnt < ARRAY_SIZE(fw->mailbox_reg); cnt++, mbx_reg++) in qla25xx_fw_dump()
1427 fw->mailbox_reg[cnt] = htons(rd_reg_word(mbx_reg)); in qla25xx_fw_dump()
1430 iter_reg = fw->xseq_gp_reg; in qla25xx_fw_dump()
1440 iter_reg = fw->xseq_0_reg; in qla25xx_fw_dump()
1445 qla24xx_read_window(reg, 0xBFF0, 16, fw->xseq_1_reg); in qla25xx_fw_dump()
1448 iter_reg = fw->rseq_gp_reg; in qla25xx_fw_dump()
1458 iter_reg = fw->rseq_0_reg; in qla25xx_fw_dump()
1462 qla24xx_read_window(reg, 0xFFE0, 16, fw->rseq_1_reg); in qla25xx_fw_dump()
1463 qla24xx_read_window(reg, 0xFFF0, 16, fw->rseq_2_reg); in qla25xx_fw_dump()
1466 iter_reg = fw->aseq_gp_reg; in qla25xx_fw_dump()
1476 iter_reg = fw->aseq_0_reg; in qla25xx_fw_dump()
1480 qla24xx_read_window(reg, 0xB0E0, 16, fw->aseq_1_reg); in qla25xx_fw_dump()
1481 qla24xx_read_window(reg, 0xB0F0, 16, fw->aseq_2_reg); in qla25xx_fw_dump()
1484 qla24xx_read_window(reg, 0x7100, 16, fw->cmd_dma_reg); in qla25xx_fw_dump()
1487 iter_reg = fw->req0_dma_reg; in qla25xx_fw_dump()
1493 iter_reg = fw->resp0_dma_reg; in qla25xx_fw_dump()
1499 iter_reg = fw->req1_dma_reg; in qla25xx_fw_dump()
1506 iter_reg = fw->xmt0_dma_reg; in qla25xx_fw_dump()
1510 iter_reg = fw->xmt1_dma_reg; in qla25xx_fw_dump()
1514 iter_reg = fw->xmt2_dma_reg; in qla25xx_fw_dump()
1518 iter_reg = fw->xmt3_dma_reg; in qla25xx_fw_dump()
1522 iter_reg = fw->xmt4_dma_reg; in qla25xx_fw_dump()
1526 qla24xx_read_window(reg, 0x76A0, 16, fw->xmt_data_dma_reg); in qla25xx_fw_dump()
1529 iter_reg = fw->rcvt0_data_dma_reg; in qla25xx_fw_dump()
1533 iter_reg = fw->rcvt1_data_dma_reg; in qla25xx_fw_dump()
1538 iter_reg = fw->risc_gp_reg; in qla25xx_fw_dump()
1549 iter_reg = fw->lmc_reg; in qla25xx_fw_dump()
1560 iter_reg = fw->fpm_hdw_reg; in qla25xx_fw_dump()
1575 iter_reg = fw->fb_hdw_reg; in qla25xx_fw_dump()
1597 rval = qla24xx_dump_memory(ha, fw->code_ram, sizeof(fw->code_ram), in qla25xx_fw_dump()
1633 struct qla81xx_fw_dump *fw; in qla81xx_fw_dump() local
1655 fw = &ha->fw_dump->isp.isp81; in qla81xx_fw_dump()
1658 fw->host_status = htonl(rd_reg_dword(&reg->host_status)); in qla81xx_fw_dump()
1667 iter_reg = fw->host_risc_reg; in qla81xx_fw_dump()
1676 fw->pcie_regs[0] = htonl(rd_reg_dword(dmp_reg)); in qla81xx_fw_dump()
1678 fw->pcie_regs[1] = htonl(rd_reg_dword(dmp_reg)); in qla81xx_fw_dump()
1680 fw->pcie_regs[2] = htonl(rd_reg_dword(dmp_reg)); in qla81xx_fw_dump()
1681 fw->pcie_regs[3] = htonl(rd_reg_dword(&reg->iobase_window)); in qla81xx_fw_dump()
1688 for (cnt = 0; cnt < ARRAY_SIZE(fw->host_reg); cnt++, dmp_reg++) in qla81xx_fw_dump()
1689 fw->host_reg[cnt] = htonl(rd_reg_dword(dmp_reg)); in qla81xx_fw_dump()
1699 fw->shadow_reg[0] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla81xx_fw_dump()
1702 fw->shadow_reg[1] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla81xx_fw_dump()
1705 fw->shadow_reg[2] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla81xx_fw_dump()
1708 fw->shadow_reg[3] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla81xx_fw_dump()
1711 fw->shadow_reg[4] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla81xx_fw_dump()
1714 fw->shadow_reg[5] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla81xx_fw_dump()
1717 fw->shadow_reg[6] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla81xx_fw_dump()
1720 fw->shadow_reg[7] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla81xx_fw_dump()
1723 fw->shadow_reg[8] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla81xx_fw_dump()
1726 fw->shadow_reg[9] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla81xx_fw_dump()
1729 fw->shadow_reg[10] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla81xx_fw_dump()
1733 fw->risc_io_reg = htonl(rd_reg_dword(&reg->iobase_window)); in qla81xx_fw_dump()
1737 for (cnt = 0; cnt < ARRAY_SIZE(fw->mailbox_reg); cnt++, mbx_reg++) in qla81xx_fw_dump()
1738 fw->mailbox_reg[cnt] = htons(rd_reg_word(mbx_reg)); in qla81xx_fw_dump()
1741 iter_reg = fw->xseq_gp_reg; in qla81xx_fw_dump()
1751 iter_reg = fw->xseq_0_reg; in qla81xx_fw_dump()
1756 qla24xx_read_window(reg, 0xBFF0, 16, fw->xseq_1_reg); in qla81xx_fw_dump()
1759 iter_reg = fw->rseq_gp_reg; in qla81xx_fw_dump()
1769 iter_reg = fw->rseq_0_reg; in qla81xx_fw_dump()
1773 qla24xx_read_window(reg, 0xFFE0, 16, fw->rseq_1_reg); in qla81xx_fw_dump()
1774 qla24xx_read_window(reg, 0xFFF0, 16, fw->rseq_2_reg); in qla81xx_fw_dump()
1777 iter_reg = fw->aseq_gp_reg; in qla81xx_fw_dump()
1787 iter_reg = fw->aseq_0_reg; in qla81xx_fw_dump()
1791 qla24xx_read_window(reg, 0xB0E0, 16, fw->aseq_1_reg); in qla81xx_fw_dump()
1792 qla24xx_read_window(reg, 0xB0F0, 16, fw->aseq_2_reg); in qla81xx_fw_dump()
1795 qla24xx_read_window(reg, 0x7100, 16, fw->cmd_dma_reg); in qla81xx_fw_dump()
1798 iter_reg = fw->req0_dma_reg; in qla81xx_fw_dump()
1804 iter_reg = fw->resp0_dma_reg; in qla81xx_fw_dump()
1810 iter_reg = fw->req1_dma_reg; in qla81xx_fw_dump()
1817 iter_reg = fw->xmt0_dma_reg; in qla81xx_fw_dump()
1821 iter_reg = fw->xmt1_dma_reg; in qla81xx_fw_dump()
1825 iter_reg = fw->xmt2_dma_reg; in qla81xx_fw_dump()
1829 iter_reg = fw->xmt3_dma_reg; in qla81xx_fw_dump()
1833 iter_reg = fw->xmt4_dma_reg; in qla81xx_fw_dump()
1837 qla24xx_read_window(reg, 0x76A0, 16, fw->xmt_data_dma_reg); in qla81xx_fw_dump()
1840 iter_reg = fw->rcvt0_data_dma_reg; in qla81xx_fw_dump()
1844 iter_reg = fw->rcvt1_data_dma_reg; in qla81xx_fw_dump()
1849 iter_reg = fw->risc_gp_reg; in qla81xx_fw_dump()
1860 iter_reg = fw->lmc_reg; in qla81xx_fw_dump()
1871 iter_reg = fw->fpm_hdw_reg; in qla81xx_fw_dump()
1888 iter_reg = fw->fb_hdw_reg; in qla81xx_fw_dump()
1911 rval = qla24xx_dump_memory(ha, fw->code_ram, sizeof(fw->code_ram), in qla81xx_fw_dump()
1948 struct qla83xx_fw_dump *fw; in qla83xx_fw_dump() local
1970 fw = &ha->fw_dump->isp.isp83; in qla83xx_fw_dump()
1973 fw->host_status = htonl(rd_reg_dword(&reg->host_status)); in qla83xx_fw_dump()
2001 iter_reg = fw->host_risc_reg; in qla83xx_fw_dump()
2011 fw->pcie_regs[0] = htonl(rd_reg_dword(dmp_reg)); in qla83xx_fw_dump()
2013 fw->pcie_regs[1] = htonl(rd_reg_dword(dmp_reg)); in qla83xx_fw_dump()
2015 fw->pcie_regs[2] = htonl(rd_reg_dword(dmp_reg)); in qla83xx_fw_dump()
2016 fw->pcie_regs[3] = htonl(rd_reg_dword(&reg->iobase_window)); in qla83xx_fw_dump()
2023 for (cnt = 0; cnt < ARRAY_SIZE(fw->host_reg); cnt++, dmp_reg++) in qla83xx_fw_dump()
2024 fw->host_reg[cnt] = htonl(rd_reg_dword(dmp_reg)); in qla83xx_fw_dump()
2034 fw->shadow_reg[0] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla83xx_fw_dump()
2037 fw->shadow_reg[1] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla83xx_fw_dump()
2040 fw->shadow_reg[2] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla83xx_fw_dump()
2043 fw->shadow_reg[3] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla83xx_fw_dump()
2046 fw->shadow_reg[4] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla83xx_fw_dump()
2049 fw->shadow_reg[5] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla83xx_fw_dump()
2052 fw->shadow_reg[6] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla83xx_fw_dump()
2055 fw->shadow_reg[7] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla83xx_fw_dump()
2058 fw->shadow_reg[8] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla83xx_fw_dump()
2061 fw->shadow_reg[9] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla83xx_fw_dump()
2064 fw->shadow_reg[10] = htonl(rd_reg_dword(&reg->iobase_sdata)); in qla83xx_fw_dump()
2068 fw->risc_io_reg = htonl(rd_reg_dword(&reg->iobase_window)); in qla83xx_fw_dump()
2072 for (cnt = 0; cnt < ARRAY_SIZE(fw->mailbox_reg); cnt++, mbx_reg++) in qla83xx_fw_dump()
2073 fw->mailbox_reg[cnt] = htons(rd_reg_word(mbx_reg)); in qla83xx_fw_dump()
2076 iter_reg = fw->xseq_gp_reg; in qla83xx_fw_dump()
2094 iter_reg = fw->xseq_0_reg; in qla83xx_fw_dump()
2099 qla24xx_read_window(reg, 0xBFF0, 16, fw->xseq_1_reg); in qla83xx_fw_dump()
2101 qla24xx_read_window(reg, 0xBEF0, 16, fw->xseq_2_reg); in qla83xx_fw_dump()
2104 iter_reg = fw->rseq_gp_reg; in qla83xx_fw_dump()
2122 iter_reg = fw->rseq_0_reg; in qla83xx_fw_dump()
2126 qla24xx_read_window(reg, 0xFFE0, 16, fw->rseq_1_reg); in qla83xx_fw_dump()
2127 qla24xx_read_window(reg, 0xFFF0, 16, fw->rseq_2_reg); in qla83xx_fw_dump()
2128 qla24xx_read_window(reg, 0xFEF0, 16, fw->rseq_3_reg); in qla83xx_fw_dump()
2131 iter_reg = fw->aseq_gp_reg; in qla83xx_fw_dump()
2149 iter_reg = fw->aseq_0_reg; in qla83xx_fw_dump()
2153 qla24xx_read_window(reg, 0xB0E0, 16, fw->aseq_1_reg); in qla83xx_fw_dump()
2154 qla24xx_read_window(reg, 0xB0F0, 16, fw->aseq_2_reg); in qla83xx_fw_dump()
2155 qla24xx_read_window(reg, 0xB1F0, 16, fw->aseq_3_reg); in qla83xx_fw_dump()
2158 iter_reg = fw->cmd_dma_reg; in qla83xx_fw_dump()
2165 iter_reg = fw->req0_dma_reg; in qla83xx_fw_dump()
2171 iter_reg = fw->resp0_dma_reg; in qla83xx_fw_dump()
2177 iter_reg = fw->req1_dma_reg; in qla83xx_fw_dump()
2184 iter_reg = fw->xmt0_dma_reg; in qla83xx_fw_dump()
2188 iter_reg = fw->xmt1_dma_reg; in qla83xx_fw_dump()
2192 iter_reg = fw->xmt2_dma_reg; in qla83xx_fw_dump()
2196 iter_reg = fw->xmt3_dma_reg; in qla83xx_fw_dump()
2200 iter_reg = fw->xmt4_dma_reg; in qla83xx_fw_dump()
2204 qla24xx_read_window(reg, 0x76A0, 16, fw->xmt_data_dma_reg); in qla83xx_fw_dump()
2207 iter_reg = fw->rcvt0_data_dma_reg; in qla83xx_fw_dump()
2211 iter_reg = fw->rcvt1_data_dma_reg; in qla83xx_fw_dump()
2216 iter_reg = fw->risc_gp_reg; in qla83xx_fw_dump()
2227 iter_reg = fw->lmc_reg; in qla83xx_fw_dump()
2238 iter_reg = fw->fpm_hdw_reg; in qla83xx_fw_dump()
2257 iter_reg = fw->rq0_array_reg; in qla83xx_fw_dump()
2276 iter_reg = fw->rq1_array_reg; in qla83xx_fw_dump()
2295 iter_reg = fw->rp0_array_reg; in qla83xx_fw_dump()
2314 iter_reg = fw->rp1_array_reg; in qla83xx_fw_dump()
2332 iter_reg = fw->at0_array_reg; in qla83xx_fw_dump()
2343 qla24xx_read_window(reg, 0x7800, 16, fw->queue_control_reg); in qla83xx_fw_dump()
2346 iter_reg = fw->fb_hdw_reg; in qla83xx_fw_dump()
2400 nxt = fw->code_ram; in qla83xx_fw_dump()
2401 nxt += sizeof(fw->code_ram); in qla83xx_fw_dump()
2411 rval = qla24xx_dump_memory(ha, fw->code_ram, sizeof(fw->code_ram), in qla83xx_fw_dump()