Searched refs:RD_REG_WORD (Results 1 – 15 of 15) sorted by relevance
739 ha->mailbox_out[0] = RD_REG_WORD(®->mailbox0); in qla1280_mailbox_timeout()742 RD_REG_WORD(®->ictrl), RD_REG_WORD(®->istatus)); in qla1280_mailbox_timeout()840 RD_REG_WORD(&ha->iobase->istatus)); in qla1280_error_action()843 RD_REG_WORD(&ha->iobase->host_cmd), in qla1280_error_action()844 RD_REG_WORD(&ha->iobase->ictrl), jiffies); in qla1280_error_action()1063 RD_REG_WORD(&ha->iobase->ictrl); /* PCI Posted Write flush */ in qla1280_disable_intrs()1071 RD_REG_WORD(&ha->iobase->ictrl); /* PCI Posted Write flush */ in qla1280_enable_intrs()1433 RD_REG_WORD(®->host_cmd); in qla1280_initialize_adapter()1582 data = RD_REG_WORD(®->ictrl); in qla1280_chip_diag()1598 RD_REG_WORD(®->id_l); /* Flush PCI write */ in qla1280_chip_diag()[all …]
51 #define RD_REG_WORD(addr) readw_relaxed(addr) macro55 #define RD_REG_WORD(addr) inw((unsigned long)addr) macro56 #define RD_REG_WORD_dmasync(addr) RD_REG_WORD(addr)
29 data = RD_REG_WORD(®->nvram); in qla2x00_lock_nvram_access()32 data = RD_REG_WORD(®->nvram); in qla2x00_lock_nvram_access()37 RD_REG_WORD(®->u.isp2300.host_semaphore); in qla2x00_lock_nvram_access()39 data = RD_REG_WORD(®->u.isp2300.host_semaphore); in qla2x00_lock_nvram_access()44 RD_REG_WORD(®->u.isp2300.host_semaphore); in qla2x00_lock_nvram_access()46 data = RD_REG_WORD(®->u.isp2300.host_semaphore); in qla2x00_lock_nvram_access()62 RD_REG_WORD(®->u.isp2300.host_semaphore); in qla2x00_unlock_nvram_access()77 RD_REG_WORD(®->nvram); /* PCI Posting. */ in qla2x00_nv_write()81 RD_REG_WORD(®->nvram); /* PCI Posting. */ in qla2x00_nv_write()84 RD_REG_WORD(®->nvram); /* PCI Posting. */ in qla2x00_nv_write()[all …]
162 rval = RD_REG_WORD(®->mailbox0) & MBS_MASK; in qla27xx_dump_mpi_ram()238 rval = RD_REG_WORD(®->mailbox0) & MBS_MASK; in qla24xx_dump_ram()355 for (cnt = 10000; RD_REG_WORD(®->mailbox0) != 0 && in qla24xx_soft_reset()418 RD_REG_WORD(®->hccr); in qla2xxx_dump_ram()428 RD_REG_WORD(®->hccr); in qla2xxx_dump_ram()434 RD_REG_WORD(®->hccr); in qla2xxx_dump_ram()459 *buf++ = htons(RD_REG_WORD(dmp_reg)); in qla2xxx_read_window()759 fw->hccr = htons(RD_REG_WORD(®->hccr)); in qla2300_fw_dump()765 (RD_REG_WORD(®->hccr) & HCCR_RISC_PAUSE) == 0 && in qla2300_fw_dump()773 RD_REG_WORD(®->hccr); /* PCI Posting. */ in qla2300_fw_dump()[all …]
70 hccr = RD_REG_WORD(®->hccr); in qla2100_intr_handler()83 RD_REG_WORD(®->hccr); in qla2100_intr_handler()88 } else if ((RD_REG_WORD(®->istatus) & ISR_RISC_INT) == 0) in qla2100_intr_handler()91 if (RD_REG_WORD(®->semaphore) & BIT_0) { in qla2100_intr_handler()93 RD_REG_WORD(®->hccr); in qla2100_intr_handler()113 RD_REG_WORD(®->semaphore); in qla2100_intr_handler()118 RD_REG_WORD(®->hccr); in qla2100_intr_handler()197 hccr = RD_REG_WORD(®->hccr); in qla2300_intr_handler()214 RD_REG_WORD(®->hccr); in qla2300_intr_handler()302 ha->mailbox_out[cnt] = RD_REG_WORD(wptr); in qla2x00_mbx_completion()[all …]
49 first = RD_REG_WORD(addr); in qla2x00_debounce_register()52 second = RD_REG_WORD(addr); in qla2x00_debounce_register()
2302 ha->pci_attr = RD_REG_WORD(®->ctrl_status); in qla2100_pci_config()2346 if ((RD_REG_WORD(®->hccr) & HCCR_RISC_PAUSE) != 0) in qla2300_pci_config()2354 RD_REG_WORD(®->ctrl_status); in qla2300_pci_config()2364 RD_REG_WORD(®->ctrl_status); in qla2300_pci_config()2369 if ((RD_REG_WORD(®->hccr) & HCCR_RISC_PAUSE) == 0) in qla2300_pci_config()2384 ha->pci_attr = RD_REG_WORD(®->ctrl_status); in qla2300_pci_config()2535 if ((RD_REG_WORD(®->hccr) & in qla2x00_reset_chip()2541 RD_REG_WORD(®->hccr); /* PCI Posting. */ in qla2x00_reset_chip()2547 RD_REG_WORD(®->ctrl_status); /* PCI Posting. */ in qla2x00_reset_chip()2551 RD_REG_WORD(®->fpm_diag_config); /* PCI Posting. */ in qla2x00_reset_chip()[all …]
2011 ha->mailbox_out[cnt] = RD_REG_WORD(wptr); in qla82xx_mbx_completion()2086 mb[1] = RD_REG_WORD(®->mailbox_out[1]); in qla82xx_intr_handler()2087 mb[2] = RD_REG_WORD(®->mailbox_out[2]); in qla82xx_intr_handler()2088 mb[3] = RD_REG_WORD(®->mailbox_out[3]); in qla82xx_intr_handler()2155 mb[1] = RD_REG_WORD(®->mailbox_out[1]); in qla82xx_msix_default()2156 mb[2] = RD_REG_WORD(®->mailbox_out[2]); in qla82xx_msix_default()2157 mb[3] = RD_REG_WORD(®->mailbox_out[3]); in qla82xx_msix_default()2250 mb[1] = RD_REG_WORD(®->mailbox_out[1]); in qla82xx_poll()2251 mb[2] = RD_REG_WORD(®->mailbox_out[2]); in qla82xx_poll()2252 mb[3] = RD_REG_WORD(®->mailbox_out[3]); in qla82xx_poll()
2850 ha->aenmb[1] = RD_REG_WORD(®->aenmailbox1); in qlafx00_async_event()2851 ha->aenmb[2] = RD_REG_WORD(®->aenmailbox2); in qlafx00_async_event()2852 ha->aenmb[3] = RD_REG_WORD(®->aenmailbox3); in qlafx00_async_event()2853 ha->aenmb[4] = RD_REG_WORD(®->aenmailbox4); in qlafx00_async_event()2854 ha->aenmb[5] = RD_REG_WORD(®->aenmailbox5); in qlafx00_async_event()2855 ha->aenmb[6] = RD_REG_WORD(®->aenmailbox6); in qlafx00_async_event()2856 ha->aenmb[7] = RD_REG_WORD(®->aenmailbox7); in qlafx00_async_event()2943 mb[0] = RD_REG_WORD(®->mailbox16); in qlafx00_intr_handler()2949 ha->aenmb[0] = RD_REG_WORD(®->aenmailbox0); in qlafx00_intr_handler()
417 mb[0] = RD_REG_WORD(®->isp24.mailbox0); in qla2x00_mailbox_command()418 mb[1] = RD_REG_WORD(®->isp24.mailbox1); in qla2x00_mailbox_command()419 mb[2] = RD_REG_WORD(®->isp24.mailbox2); in qla2x00_mailbox_command()420 mb[3] = RD_REG_WORD(®->isp24.mailbox3); in qla2x00_mailbox_command()421 mb[7] = RD_REG_WORD(®->isp24.mailbox7); in qla2x00_mailbox_command()434 ictrl = RD_REG_WORD(®->isp.ictrl); in qla2x00_mailbox_command()583 RD_REG_WORD(®->isp.ctrl_status), in qla2x00_mailbox_command()584 RD_REG_WORD(®->isp.ictrl), in qla2x00_mailbox_command()585 RD_REG_WORD(®->isp.istatus)); in qla2x00_mailbox_command()5295 mb0 = RD_REG_WORD(®->mailbox0); in qla81xx_write_mpi_register()
3964 mb[1] = RD_REG_WORD(®->mailbox_out[1]); in qla8044_intr_handler()3965 mb[2] = RD_REG_WORD(®->mailbox_out[2]); in qla8044_intr_handler()3966 mb[3] = RD_REG_WORD(®->mailbox_out[3]); in qla8044_intr_handler()
129 #define RD_REG_WORD(addr) readw(addr) macro920 RD_REG_WORD(MAILBOX_REG(ha, reg, num))929 RD_REG_WORD(FB_CMD_REG(ha, reg))
61 value = RD_REG_WORD(window); in qla27xx_read16()
1877 RD_REG_WORD(®->ictrl); in qla2x00_enable_intrs()1892 RD_REG_WORD(®->ictrl); in qla2x00_disable_intrs()
102 RD_REG_WORD(®->ictrl);