Home
last modified time | relevance | path

Searched refs:RD_REG_DWORD (Results 1 – 14 of 14) sorted by relevance

/drivers/scsi/qla2xxx/
Dqla_dbg.c154 stat = RD_REG_DWORD(&reg->host_status); in qla27xx_dump_mpi_ram()
168 RD_REG_DWORD(&reg->hccr); in qla27xx_dump_mpi_ram()
174 RD_REG_DWORD(&reg->hccr); in qla27xx_dump_mpi_ram()
232 stat = RD_REG_DWORD(&reg->host_status); in qla24xx_dump_ram()
245 RD_REG_DWORD(&reg->hccr); in qla24xx_dump_ram()
251 RD_REG_DWORD(&reg->hccr); in qla24xx_dump_ram()
302 *buf++ = htonl(RD_REG_DWORD(dmp_reg++)); in qla24xx_read_window()
314 if (RD_REG_DWORD(&reg->host_status) & HSRX_RISC_PAUSED) in qla24xx_pause_risc()
333 if ((RD_REG_DWORD(&reg->ctrl_status) & CSRX_DMA_ACTIVE) == 0) in qla24xx_soft_reset()
338 if (!(RD_REG_DWORD(&reg->ctrl_status) & CSRX_DMA_ACTIVE)) in qla24xx_soft_reset()
[all …]
Dqla_mr.c682 RD_REG_DWORD(&reg->rsp_q_out); in qlafx00_config_rings()
913 pseudo_aen = RD_REG_DWORD(&reg->pseudoaen); in qlafx00_init_fw_ready()
915 aenmbx7 = RD_REG_DWORD(&reg->initval7); in qlafx00_init_fw_ready()
926 aenmbx = RD_REG_DWORD(&reg->aenmailbox0); in qlafx00_init_fw_ready()
945 aenmbx7 = RD_REG_DWORD(&reg->aenmailbox7); in qlafx00_init_fw_ready()
948 ha->req_que_off = RD_REG_DWORD(&reg->aenmailbox1); in qlafx00_init_fw_ready()
949 ha->rsp_que_off = RD_REG_DWORD(&reg->aenmailbox3); in qlafx00_init_fw_ready()
950 ha->req_que_len = RD_REG_DWORD(&reg->aenmailbox5); in qlafx00_init_fw_ready()
951 ha->rsp_que_len = RD_REG_DWORD(&reg->aenmailbox6); in qlafx00_init_fw_ready()
983 aenmbx7 = RD_REG_DWORD(&reg->initval7); in qlafx00_init_fw_ready()
[all …]
Dqla_mr.h371 RD_REG_DWORD((ha)->cregbase + QLAFX00_HBA_TO_HOST_REG)
381 RD_REG_DWORD((ha)->cregbase + off)
387 RD_REG_DWORD((ha)->cregbase + QLAFX00_HBA_ICNTRL_REG)
400 RD_REG_DWORD((ha)->cregbase + off)
Dqla_sup.c464 (RD_REG_DWORD(&reg->flash_addr) & FARX_DATA_FLAG) == 0 && in qla24xx_read_flash_dword()
476 data = RD_REG_DWORD(&reg->flash_data); in qla24xx_read_flash_dword()
504 RD_REG_DWORD(&reg->flash_data); /* PCI Posting. */ in qla24xx_write_flash_dword()
508 for (cnt = 500000; (RD_REG_DWORD(&reg->flash_addr) & FARX_DATA_FLAG) && in qla24xx_write_flash_dword()
1143 RD_REG_DWORD(&reg->ctrl_status) | CSRX_FLASH_ENABLE); in qla24xx_unprotect_flash()
1144 RD_REG_DWORD(&reg->ctrl_status); /* PCI Posting. */ in qla24xx_unprotect_flash()
1182 RD_REG_DWORD(&reg->ctrl_status) & ~CSRX_FLASH_ENABLE); in qla24xx_protect_flash()
1183 RD_REG_DWORD(&reg->ctrl_status); /* PCI Posting. */ in qla24xx_protect_flash()
1410 RD_REG_DWORD(&reg->ctrl_status) | CSRX_FLASH_ENABLE); in qla24xx_write_nvram_data()
1411 RD_REG_DWORD(&reg->ctrl_status); /* PCI Posting. */ in qla24xx_write_nvram_data()
[all …]
Dqla_isr.c178 stat = RD_REG_DWORD(&reg->u.isp2300.host_status); in qla2300_intr_handler()
2604 RD_REG_DWORD(&reg->iobase_addr); in qla2xxx_check_risc_status()
2606 for (cnt = 10000; (RD_REG_DWORD(&reg->iobase_window) & BIT_0) == 0 && in qla2xxx_check_risc_status()
2619 for (cnt = 100; (RD_REG_DWORD(&reg->iobase_window) & BIT_0) == 0 && in qla2xxx_check_risc_status()
2631 if (RD_REG_DWORD(&reg->iobase_c8) & BIT_3) in qla2xxx_check_risc_status()
2637 RD_REG_DWORD(&reg->iobase_window); in qla2xxx_check_risc_status()
2680 stat = RD_REG_DWORD(&reg->host_status); in qla24xx_intr_handler()
2687 hccr = RD_REG_DWORD(&reg->hccr); in qla24xx_intr_handler()
2770 stat = RD_REG_DWORD(&reg->host_status); in qla24xx_msix_rsp_q()
2845 stat = RD_REG_DWORD(&reg->host_status); in qla24xx_msix_default()
[all …]
Dqla_nx.c367 win_read = RD_REG_DWORD((void __iomem *) in qla82xx_pci_set_crbwindow_2M()
508 data = RD_REG_DWORD((void __iomem *)off); in qla82xx_rd_32()
929 RD_REG_DWORD((void __iomem *)(CRB_WINDOW_2M + ha->nx_pcibase)); in qla82xx_md_rw_32()
937 rval = RD_REG_DWORD((void __iomem *) in qla82xx_md_rw_32()
2059 if (RD_REG_DWORD(&reg->host_int)) { in qla82xx_intr_handler()
2060 stat = RD_REG_DWORD(&reg->host_status); in qla82xx_intr_handler()
2125 host_int = RD_REG_DWORD(&reg->host_int); in qla82xx_msix_default()
2129 stat = RD_REG_DWORD(&reg->host_status); in qla82xx_msix_default()
2186 host_int = RD_REG_DWORD(&reg->host_int); in qla82xx_msix_rsp_q()
2221 host_int = RD_REG_DWORD(&reg->host_int); in qla82xx_poll()
[all …]
Dqla_init.c890 ha->pci_attr = RD_REG_DWORD(&reg->ctrl_status); in qla24xx_pci_config()
1144 if ((RD_REG_DWORD(&reg->ctrl_status) & CSRX_DMA_ACTIVE) == 0) in qla24xx_reset_risc()
1164 d2 = RD_REG_DWORD(&reg->ctrl_status); in qla24xx_reset_risc()
1167 d2 = RD_REG_DWORD(&reg->ctrl_status); in qla24xx_reset_risc()
1189 RD_REG_DWORD(&reg->hccr); in qla24xx_reset_risc()
1192 RD_REG_DWORD(&reg->hccr); in qla24xx_reset_risc()
1195 RD_REG_DWORD(&reg->hccr); in qla24xx_reset_risc()
1216 *data = RD_REG_DWORD(&reg->iobase_window + RISC_REGISTER_WINDOW_OFFET); in qla25xx_read_risc_sema_reg()
2120 RD_REG_DWORD(&ioreg->hccr); in qla24xx_config_rings()
4983 RD_REG_DWORD(&reg->hccr); in qla24xx_reset_adapter()
[all …]
Dqla_iocb.c1917 cnt = RD_REG_DWORD(&reg->isp25mq.req_q_out); in qla2x00_alloc_iocbs()
1919 cnt = RD_REG_DWORD(&reg->isp82.req_q_out); in qla2x00_alloc_iocbs()
1921 cnt = RD_REG_DWORD(&reg->isp24.req_q_out); in qla2x00_alloc_iocbs()
1923 cnt = RD_REG_DWORD(&reg->ispfx00.req_q_out); in qla2x00_alloc_iocbs()
2634 while (RD_REG_DWORD((void __iomem *)ha->nxdb_rd_ptr) != dbval) { in qla82xx_start_scsi()
Dqla_os.c1566 RD_REG_DWORD(&reg->ictrl); in qla24xx_enable_intrs()
1581 RD_REG_DWORD(&reg->ictrl); in qla24xx_disable_intrs()
5518 stat = RD_REG_DWORD(&reg->hccr); in qla2xxx_pci_mmio_enabled()
5522 stat = RD_REG_DWORD(&reg->u.isp2300.host_status); in qla2xxx_pci_mmio_enabled()
5526 stat = RD_REG_DWORD(&reg24->host_status); in qla2xxx_pci_mmio_enabled()
5749 fn = (RD_REG_DWORD(&isp_reg->ctrl_status) & in qla83xx_disable_laser()
Dqla_tmpl.c167 value = RD_REG_DWORD((__iomem void *)window); in qla27xx_read32()
Dqla_mbx.c155 if (RD_REG_DWORD(&reg->isp82.hint) & in qla2x00_mailbox_command()
185 if (RD_REG_DWORD(&reg->isp82.hint) & in qla2x00_mailbox_command()
270 ictrl = RD_REG_DWORD(&reg->isp24.ictrl); in qla2x00_mailbox_command()
4624 stat = RD_REG_DWORD(&reg->host_status); in qla81xx_write_mpi_register()
4635 RD_REG_DWORD(&reg->hccr); in qla81xx_write_mpi_register()
Dqla_nx2.c3941 if (RD_REG_DWORD(&reg->host_int)) { in qla8044_intr_handler()
3942 stat = RD_REG_DWORD(&reg->host_status); in qla8044_intr_handler()
Dqla_target.c1691 cnt = (uint16_t)RD_REG_DWORD(vha->req->req_q_out); in qlt_check_reserve_free_req()
1692 cnt_in = (uint16_t)RD_REG_DWORD(vha->req->req_q_in); in qlt_check_reserve_free_req()
6182 RD_REG_DWORD(ISP_ATIO_Q_OUT(vha)); in qlt_24xx_config_rings()
Dqla_def.h111 #define RD_REG_DWORD(addr) readl(addr) macro