Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_dbg.c125 wrt_reg_word(&reg->mailbox0, MBC_LOAD_DUMP_MPI_RAM); in qla27xx_dump_mpi_ram()
126 wrt_reg_word(&reg->mailbox1, LSW(addr)); in qla27xx_dump_mpi_ram()
127 wrt_reg_word(&reg->mailbox8, MSW(addr)); in qla27xx_dump_mpi_ram()
129 wrt_reg_word(&reg->mailbox2, MSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram()
130 wrt_reg_word(&reg->mailbox3, LSW(LSD(dump_dma))); in qla27xx_dump_mpi_ram()
131 wrt_reg_word(&reg->mailbox6, MSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram()
132 wrt_reg_word(&reg->mailbox7, LSW(MSD(dump_dma))); in qla27xx_dump_mpi_ram()
134 wrt_reg_word(&reg->mailbox4, MSW(dwords)); in qla27xx_dump_mpi_ram()
135 wrt_reg_word(&reg->mailbox5, LSW(dwords)); in qla27xx_dump_mpi_ram()
137 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.c2901 wrt_reg_word(&reg->hccr, HCCR_PAUSE_RISC); in qla2300_pci_config()
2910 wrt_reg_word(&reg->ctrl_status, 0x20); in qla2300_pci_config()
2920 wrt_reg_word(&reg->ctrl_status, 0x0); in qla2300_pci_config()
2924 wrt_reg_word(&reg->hccr, HCCR_RELEASE_RISC); in qla2300_pci_config()
3089 wrt_reg_word(&reg->hccr, HCCR_PAUSE_RISC); in qla2x00_reset_chip()
3103 wrt_reg_word(&reg->ctrl_status, 0x20); in qla2x00_reset_chip()
3107 wrt_reg_word(&reg->fpm_diag_config, 0x100); in qla2x00_reset_chip()
3112 wrt_reg_word(&reg->fpm_diag_config, 0x0); in qla2x00_reset_chip()
3117 wrt_reg_word(&reg->ctrl_status, 0x10); in qla2x00_reset_chip()
3136 wrt_reg_word(&reg->ctrl_status, 0); in qla2x00_reset_chip()
[all …]
Dqla_isr.c379 wrt_reg_word(&reg->hccr, HCCR_RESET_RISC); in qla2100_intr_handler()
389 wrt_reg_word(&reg->hccr, HCCR_CLR_RISC_INT); in qla2100_intr_handler()
409 wrt_reg_word(&reg->semaphore, 0); in qla2100_intr_handler()
414 wrt_reg_word(&reg->hccr, HCCR_CLR_RISC_INT); in qla2100_intr_handler()
505 wrt_reg_word(&reg->hccr, HCCR_RESET_RISC); in qla2300_intr_handler()
523 wrt_reg_word(&reg->semaphore, 0); in qla2300_intr_handler()
551 wrt_reg_word(&reg->hccr, HCCR_CLR_RISC_INT); in qla2300_intr_handler()
2975 wrt_reg_word(ISP_RSP_Q_OUT(ha, reg), rsp->ring_index); in qla2x00_process_response_queue()
4756 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()
331 wrt_reg_word(&reg->isp.hccr, HCCR_SET_HOST_INT); in qla2x00_mailbox_command()
5518 wrt_reg_word(&reg->mailbox0, MBC_WRITE_MPI_REGISTER); in qla81xx_write_mpi_register()
5519 wrt_reg_word(&reg->mailbox1, mb[0]); in qla81xx_write_mpi_register()
5520 wrt_reg_word(&reg->mailbox2, mb[1]); in qla81xx_write_mpi_register()
5521 wrt_reg_word(&reg->mailbox3, mb[2]); in qla81xx_write_mpi_register()
5522 wrt_reg_word(&reg->mailbox4, mb[3]); in qla81xx_write_mpi_register()
Dqla_def.h193 static inline void wrt_reg_word(volatile __le16 __iomem *addr, u16 data) in wrt_reg_word() function
1079 wrt_reg_word(MAILBOX_REG(ha, reg, num), data)
1088 wrt_reg_word(FB_CMD_REG(ha, reg), data)
Dqla_iocb.c433 wrt_reg_word(ISP_REQ_Q_IN(ha, reg), req->ring_index); in qla2x00_start_scsi()
489 wrt_reg_word(ISP_REQ_Q_IN(ha, &reg->isp), in qla2x00_start_iocbs()
Dqla_os.c2010 wrt_reg_word(&reg->ictrl, ICR_EN_INT | ICR_EN_RISC); in qla2x00_enable_intrs()
2025 wrt_reg_word(&reg->ictrl, 0); in qla2x00_disable_intrs()