Home
last modified time | relevance | path

Searched refs:rd_reg_word (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_sup.c28 data = rd_reg_word(&reg->nvram); in qla2x00_lock_nvram_access()
31 data = rd_reg_word(&reg->nvram); in qla2x00_lock_nvram_access()
36 rd_reg_word(&reg->u.isp2300.host_semaphore); in qla2x00_lock_nvram_access()
38 data = rd_reg_word(&reg->u.isp2300.host_semaphore); in qla2x00_lock_nvram_access()
43 rd_reg_word(&reg->u.isp2300.host_semaphore); in qla2x00_lock_nvram_access()
45 data = rd_reg_word(&reg->u.isp2300.host_semaphore); in qla2x00_lock_nvram_access()
61 rd_reg_word(&reg->u.isp2300.host_semaphore); in qla2x00_unlock_nvram_access()
76 rd_reg_word(&reg->nvram); /* PCI Posting. */ in qla2x00_nv_write()
80 rd_reg_word(&reg->nvram); /* PCI Posting. */ in qla2x00_nv_write()
83 rd_reg_word(&reg->nvram); /* PCI Posting. */ in qla2x00_nv_write()
[all …]
Dqla_dbg.c163 rval = rd_reg_word(&reg->mailbox0) & MBS_MASK; in qla27xx_dump_mpi_ram()
246 rval = rd_reg_word(&reg->mailbox0) & MBS_MASK; in qla24xx_dump_ram()
363 for (cnt = 10000; rd_reg_word(&reg->mailbox0) != 0 && in qla24xx_soft_reset()
426 rd_reg_word(&reg->hccr); in qla2xxx_dump_ram()
436 rd_reg_word(&reg->hccr); in qla2xxx_dump_ram()
442 rd_reg_word(&reg->hccr); in qla2xxx_dump_ram()
468 *buf++ = htons(rd_reg_word(dmp_reg)); in qla2xxx_read_window()
770 fw->hccr = htons(rd_reg_word(&reg->hccr)); in qla2300_fw_dump()
776 (rd_reg_word(&reg->hccr) & HCCR_RISC_PAUSE) == 0 && in qla2300_fw_dump()
784 rd_reg_word(&reg->hccr); /* PCI Posting. */ in qla2300_fw_dump()
[all …]
Dqla_isr.c367 hccr = rd_reg_word(&reg->hccr); in qla2100_intr_handler()
380 rd_reg_word(&reg->hccr); in qla2100_intr_handler()
385 } else if ((rd_reg_word(&reg->istatus) & ISR_RISC_INT) == 0) in qla2100_intr_handler()
388 if (rd_reg_word(&reg->semaphore) & BIT_0) { in qla2100_intr_handler()
390 rd_reg_word(&reg->hccr); in qla2100_intr_handler()
410 rd_reg_word(&reg->semaphore); in qla2100_intr_handler()
415 rd_reg_word(&reg->hccr); in qla2100_intr_handler()
489 hccr = rd_reg_word(&reg->hccr); in qla2300_intr_handler()
506 rd_reg_word(&reg->hccr); in qla2300_intr_handler()
594 ha->mailbox_out[cnt] = rd_reg_word(wptr); in qla2x00_mbx_completion()
[all …]
Dqla_init.c2721 if (rd_reg_word(&reg->mailbox12) & BIT_0) in qla2x00_initialize_adapter()
2859 ha->pci_attr = rd_reg_word(&reg->ctrl_status); in qla2100_pci_config()
2903 if ((rd_reg_word(&reg->hccr) & HCCR_RISC_PAUSE) != 0) in qla2300_pci_config()
2911 rd_reg_word(&reg->ctrl_status); in qla2300_pci_config()
2921 rd_reg_word(&reg->ctrl_status); in qla2300_pci_config()
2926 if ((rd_reg_word(&reg->hccr) & HCCR_RISC_PAUSE) == 0) in qla2300_pci_config()
2941 ha->pci_attr = rd_reg_word(&reg->ctrl_status); in qla2300_pci_config()
3092 if ((rd_reg_word(&reg->hccr) & in qla2x00_reset_chip()
3098 rd_reg_word(&reg->hccr); /* PCI Posting. */ in qla2x00_reset_chip()
3104 rd_reg_word(&reg->ctrl_status); /* PCI Posting. */ in qla2x00_reset_chip()
[all …]
Dqla_inline.h48 first = rd_reg_word(addr); in qla2x00_debounce_register()
51 second = rd_reg_word(addr); in qla2x00_debounce_register()
Dqla_nx.c1963 ha->mailbox_out[cnt] = rd_reg_word(wptr); in qla82xx_mbx_completion()
2038 mb[1] = rd_reg_word(&reg->mailbox_out[1]); in qla82xx_intr_handler()
2039 mb[2] = rd_reg_word(&reg->mailbox_out[2]); in qla82xx_intr_handler()
2040 mb[3] = rd_reg_word(&reg->mailbox_out[3]); in qla82xx_intr_handler()
2107 mb[1] = rd_reg_word(&reg->mailbox_out[1]); in qla82xx_msix_default()
2108 mb[2] = rd_reg_word(&reg->mailbox_out[2]); in qla82xx_msix_default()
2109 mb[3] = rd_reg_word(&reg->mailbox_out[3]); in qla82xx_msix_default()
2200 mb[1] = rd_reg_word(&reg->mailbox_out[1]); in qla82xx_poll()
2201 mb[2] = rd_reg_word(&reg->mailbox_out[2]); in qla82xx_poll()
2202 mb[3] = rd_reg_word(&reg->mailbox_out[3]); in qla82xx_poll()
Dqla_mbx.c423 mb[0] = rd_reg_word(&reg->isp24.mailbox0); in qla2x00_mailbox_command()
424 mb[1] = rd_reg_word(&reg->isp24.mailbox1); in qla2x00_mailbox_command()
425 mb[2] = rd_reg_word(&reg->isp24.mailbox2); in qla2x00_mailbox_command()
426 mb[3] = rd_reg_word(&reg->isp24.mailbox3); in qla2x00_mailbox_command()
427 mb[7] = rd_reg_word(&reg->isp24.mailbox7); in qla2x00_mailbox_command()
441 ictrl = rd_reg_word(&reg->isp.ictrl); in qla2x00_mailbox_command()
594 rd_reg_word(&reg->isp.ctrl_status), in qla2x00_mailbox_command()
595 rd_reg_word(&reg->isp.ictrl), in qla2x00_mailbox_command()
596 rd_reg_word(&reg->isp.istatus)); in qla2x00_mailbox_command()
5537 mb0 = rd_reg_word(&reg->mailbox0); in qla81xx_write_mpi_register()
Dqla_nx2.c3952 mb[1] = rd_reg_word(&reg->mailbox_out[1]); in qla8044_intr_handler()
3953 mb[2] = rd_reg_word(&reg->mailbox_out[2]); in qla8044_intr_handler()
3954 mb[3] = rd_reg_word(&reg->mailbox_out[3]); in qla8044_intr_handler()
Dqla_tmpl.c61 value = rd_reg_word(window); in qla27xx_read16()
Dqla_def.h163 static inline u16 rd_reg_word(const volatile __le16 __iomem *addr) in rd_reg_word() function
1077 rd_reg_word(MAILBOX_REG(ha, reg, num))
1086 rd_reg_word(FB_CMD_REG(ha, reg))
Dqla_os.c2011 rd_reg_word(&reg->ictrl); in qla2x00_enable_intrs()
2026 rd_reg_word(&reg->ictrl); in qla2x00_disable_intrs()
7864 stat = rd_reg_word(&reg->hccr); in qla2xxx_pci_mmio_enabled()