Home
last modified time | relevance | path

Searched refs:wrt_reg_word (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/scsi/qla2xxx/
Dqla_dbg.c126 wrt_reg_word(&reg->mailbox0, MBC_LOAD_DUMP_MPI_RAM); in qla27xx_dump_mpi_ram()
127 wrt_reg_word(&reg->mailbox1, LSW(addr)); in qla27xx_dump_mpi_ram()
128 wrt_reg_word(&reg->mailbox8, MSW(addr)); in qla27xx_dump_mpi_ram()
130 wrt_reg_word(&reg->mailbox2, MSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram()
131 wrt_reg_word(&reg->mailbox3, LSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram()
132 wrt_reg_word(&reg->mailbox6, MSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram()
133 wrt_reg_word(&reg->mailbox7, LSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram()
135 wrt_reg_word(&reg->mailbox4, MSW(dwords)); in qla27xx_dump_mpi_ram()
136 wrt_reg_word(&reg->mailbox5, LSW(dwords)); in qla27xx_dump_mpi_ram()
138 wrt_reg_word(&reg->mailbox9, 0); in qla27xx_dump_mpi_ram()
[all …]
Dqla_sup.c35 wrt_reg_word(&reg->u.isp2300.host_semaphore, 0x1); in qla2x00_lock_nvram_access()
42 wrt_reg_word(&reg->u.isp2300.host_semaphore, 0x1); in qla2x00_lock_nvram_access()
60 wrt_reg_word(&reg->u.isp2300.host_semaphore, 0); in qla2x00_unlock_nvram_access()
75 wrt_reg_word(&reg->nvram, data | NVR_SELECT | NVR_WRT_ENABLE); in qla2x00_nv_write()
78 wrt_reg_word(&reg->nvram, data | NVR_SELECT | NVR_CLOCK | in qla2x00_nv_write()
82 wrt_reg_word(&reg->nvram, data | NVR_SELECT | NVR_WRT_ENABLE); in qla2x00_nv_write()
122 wrt_reg_word(&reg->nvram, NVR_SELECT | NVR_CLOCK); in qla2x00_nvram_request()
129 wrt_reg_word(&reg->nvram, NVR_SELECT); in qla2x00_nvram_request()
135 wrt_reg_word(&reg->nvram, NVR_DESELECT); in qla2x00_nvram_request()
173 wrt_reg_word(&reg->nvram, NVR_DESELECT); in qla2x00_nv_deselect()
[all …]
Dqla_init.c2645 wrt_reg_word(&reg->hccr, HCCR_PAUSE_RISC); in qla2300_pci_config()
2654 wrt_reg_word(&reg->ctrl_status, 0x20); in qla2300_pci_config()
2664 wrt_reg_word(&reg->ctrl_status, 0x0); in qla2300_pci_config()
2668 wrt_reg_word(&reg->hccr, HCCR_RELEASE_RISC); in qla2300_pci_config()
2833 wrt_reg_word(&reg->hccr, HCCR_PAUSE_RISC); in qla2x00_reset_chip()
2847 wrt_reg_word(&reg->ctrl_status, 0x20); in qla2x00_reset_chip()
2851 wrt_reg_word(&reg->fpm_diag_config, 0x100); in qla2x00_reset_chip()
2856 wrt_reg_word(&reg->fpm_diag_config, 0x0); in qla2x00_reset_chip()
2861 wrt_reg_word(&reg->ctrl_status, 0x10); in qla2x00_reset_chip()
2880 wrt_reg_word(&reg->ctrl_status, 0); in qla2x00_reset_chip()
[all …]
Dqla_isr.c363 wrt_reg_word(&reg->hccr, HCCR_RESET_RISC); in qla2100_intr_handler()
373 wrt_reg_word(&reg->hccr, HCCR_CLR_RISC_INT); in qla2100_intr_handler()
393 wrt_reg_word(&reg->semaphore, 0); in qla2100_intr_handler()
398 wrt_reg_word(&reg->hccr, HCCR_CLR_RISC_INT); in qla2100_intr_handler()
489 wrt_reg_word(&reg->hccr, HCCR_RESET_RISC); in qla2300_intr_handler()
507 wrt_reg_word(&reg->semaphore, 0); in qla2300_intr_handler()
535 wrt_reg_word(&reg->hccr, HCCR_CLR_RISC_INT); in qla2300_intr_handler()
2801 wrt_reg_word(ISP_RSP_Q_OUT(ha, reg), rsp->ring_index); in qla2x00_process_response_queue()
4530 wrt_reg_word(&reg->isp.semaphore, 0); in qla2x00_request_irqs()
Dqla_mbx.c240 wrt_reg_word(optr, *iptr); in qla2x00_mailbox_command()
242 wrt_reg_word(optr, 0); in qla2x00_mailbox_command()
272 wrt_reg_word(&reg->isp.hccr, HCCR_SET_HOST_INT); in qla2x00_mailbox_command()
335 wrt_reg_word(&reg->isp.hccr, HCCR_SET_HOST_INT); in qla2x00_mailbox_command()
5519 wrt_reg_word(&reg->mailbox0, MBC_WRITE_MPI_REGISTER); in qla81xx_write_mpi_register()
5520 wrt_reg_word(&reg->mailbox1, mb[0]); in qla81xx_write_mpi_register()
5521 wrt_reg_word(&reg->mailbox2, mb[1]); in qla81xx_write_mpi_register()
5522 wrt_reg_word(&reg->mailbox3, mb[2]); in qla81xx_write_mpi_register()
5523 wrt_reg_word(&reg->mailbox4, mb[3]); in qla81xx_write_mpi_register()
Dqla_def.h189 static inline void wrt_reg_word(volatile __le16 __iomem *addr, u16 data) in wrt_reg_word() function
1025 wrt_reg_word(MAILBOX_REG(ha, reg, num), data)
1034 wrt_reg_word(FB_CMD_REG(ha, reg), data)
Dqla_iocb.c432 wrt_reg_word(ISP_REQ_Q_IN(ha, reg), req->ring_index); in qla2x00_start_scsi()
488 wrt_reg_word(ISP_REQ_Q_IN(ha, &reg->isp), in qla2x00_start_iocbs()
Dqla_os.c1964 wrt_reg_word(&reg->ictrl, ICR_EN_INT | ICR_EN_RISC); in qla2x00_enable_intrs()
1979 wrt_reg_word(&reg->ictrl, 0); in qla2x00_disable_intrs()