Searched refs:mbox_status (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/drivers/platform/x86/amd/ ! |
D | hsmp.c | 151 u32 mbox_status; in __hsmp_send_message() local 158 mbox_status = HSMP_STATUS_NOT_READY; in __hsmp_send_message() 159 ret = amd_hsmp_rdwr(sock, mbinfo->msg_resp_off, &mbox_status, HSMP_WR); in __hsmp_send_message() 195 ret = amd_hsmp_rdwr(sock, mbinfo->msg_resp_off, &mbox_status, HSMP_RD); in __hsmp_send_message() 201 if (mbox_status != HSMP_STATUS_NOT_READY) in __hsmp_send_message() 209 if (unlikely(mbox_status == HSMP_STATUS_NOT_READY)) { in __hsmp_send_message() 211 } else if (unlikely(mbox_status == HSMP_ERR_INVALID_MSG)) { in __hsmp_send_message() 213 } else if (unlikely(mbox_status == HSMP_ERR_INVALID_INPUT)) { in __hsmp_send_message() 215 } else if (unlikely(mbox_status != HSMP_STATUS_OK)) { in __hsmp_send_message() 217 msg->msg_id, mbox_status); in __hsmp_send_message()
|
/linux-6.12.1/drivers/scsi/qla4xxx/ ! |
D | ql4_isr.c | 657 uint32_t mbox_status) in qla4xxx_isr_decode_mailbox() argument 671 if ((mbox_status == MBOX_STS_BUSY) || in qla4xxx_isr_decode_mailbox() 672 (mbox_status == MBOX_STS_INTERMEDIATE_COMPLETION) || in qla4xxx_isr_decode_mailbox() 673 (mbox_status >> 12 == MBOX_COMPLETION_STATUS)) { in qla4xxx_isr_decode_mailbox() 674 ha->mbox_status[0] = mbox_status; in qla4xxx_isr_decode_mailbox() 682 ha->mbox_status[i] = readl(&mailbox_out[i]); in qla4xxx_isr_decode_mailbox() 689 } else if (mbox_status >> 12 == MBOX_ASYNC_EVENT_STATUS) { in qla4xxx_isr_decode_mailbox() 701 switch (mbox_status) { in qla4xxx_isr_decode_mailbox() 724 "Reset HA\n", ha->host_no, mbox_status)); in qla4xxx_isr_decode_mailbox() 767 "ACQUIRED\n", ha->host_no, mbox_status)); in qla4xxx_isr_decode_mailbox() [all …]
|
D | ql4_init.c | 686 uint32_t mbox_status; in qla4xxx_start_firmware_from_flash() local 725 mbox_status = readw(&ha->reg->mailbox[0]); in qla4xxx_start_firmware_from_flash() 730 if (mbox_status == MBOX_STS_COMMAND_COMPLETE) in qla4xxx_start_firmware_from_flash() 740 if (mbox_status == MBOX_STS_COMMAND_COMPLETE) { in qla4xxx_start_firmware_from_flash() 754 mbox_status); in qla4xxx_start_firmware_from_flash() 793 uint32_t mbox_status; in qla4xxx_start_firmware() local 817 mbox_status = readw(&ha->reg->mailbox[0]); in qla4xxx_start_firmware() 820 "0x%x\n", ha->host_no, __func__, mbox_status)); in qla4xxx_start_firmware() 823 if (mbox_status == 0) { in qla4xxx_start_firmware()
|
D | ql4_mbx.c | 158 ha->mbox_status[i] = 0; in qla4xxx_mailbox_command() 239 mbx_sts[i] = ha->mbox_status[i]; in qla4xxx_mailbox_command() 242 switch (ha->mbox_status[0]) { in qla4xxx_mailbox_command()
|
D | ql4_def.h | 723 volatile uint32_t mbox_status[MBOX_REG_COUNT]; member
|
/linux-6.12.1/drivers/scsi/lpfc/ ! |
D | lpfc_bsg.h | 95 uint32_t mbox_status; member
|
D | lpfc_sli.c | 20931 int mbox_status = 0; in lpfc_wr_object() local 20977 mbox_status = lpfc_sli_issue_mbox(phba, mbox, MBX_POLL); in lpfc_wr_object() 20980 mbox_status = lpfc_sli_issue_mbox_wait(phba, mbox, mbox_tmo); in lpfc_wr_object() 20984 rc = mbox_status; in lpfc_wr_object() 21020 else if (mbox_status != MBX_TIMEOUT) in lpfc_wr_object()
|
D | lpfc_bsg.c | 2451 diag_status_reply->mbox_status = mbxstatus; in lpfc_sli4_bsg_link_diag_test()
|
/linux-6.12.1/drivers/media/platform/allegro-dvt/ ! |
D | allegro-core.c | 171 struct allegro_mbox *mbox_status; member 2324 if (!dev->mbox_status) in allegro_irq_thread() 2327 allegro_mbox_notify(dev->mbox_status); in allegro_irq_thread() 3653 dev->mbox_status = allegro_mbox_init(dev, info->mailbox_status, in allegro_mcu_hw_init() 3655 if (IS_ERR(dev->mbox_command) || IS_ERR(dev->mbox_status)) { in allegro_mcu_hw_init()
|
/linux-6.12.1/drivers/scsi/elx/efct/ ! |
D | efct_hw.c | 3273 u16 mbox_status; in efct_hw_cb_fw_write() local 3279 mbox_status = le16_to_cpu(mbox_rsp->hdr.status); in efct_hw_cb_fw_write() 3285 if (!status && mbox_status) in efct_hw_cb_fw_write() 3286 status = mbox_status; in efct_hw_cb_fw_write()
|
/linux-6.12.1/drivers/infiniband/hw/ocrdma/ ! |
D | ocrdma_hw.c | 197 u8 mbox_status = (status & OCRDMA_MBX_RSP_STATUS_MASK) >> in ocrdma_get_mbx_errno() local 202 switch (mbox_status) { in ocrdma_get_mbx_errno()
|