Searched refs:mbox_status (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/platform/x86/amd/hsmp/ |
| H A D | hsmp.c | 57 u32 mbox_status; in __hsmp_send_message() local 64 mbox_status = HSMP_STATUS_NOT_READY; in __hsmp_send_message() 65 ret = sock->amd_hsmp_rdwr(sock, mbinfo->msg_resp_off, &mbox_status, HSMP_WR); in __hsmp_send_message() 101 ret = sock->amd_hsmp_rdwr(sock, mbinfo->msg_resp_off, &mbox_status, HSMP_RD); in __hsmp_send_message() 107 if (mbox_status != HSMP_STATUS_NOT_READY) in __hsmp_send_message() 119 if (unlikely(mbox_status == HSMP_STATUS_NOT_READY)) { in __hsmp_send_message() 121 msg->msg_id, mbox_status); in __hsmp_send_message() 123 } else if (unlikely(mbox_status == HSMP_ERR_INVALID_MSG)) { in __hsmp_send_message() 125 msg->msg_id, mbox_status); in __hsmp_send_message() 127 } else if (unlikely(mbox_status == HSMP_ERR_INVALID_INPUT)) { in __hsmp_send_message() [all …]
|
| /linux/drivers/scsi/qla4xxx/ |
| H A 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 …]
|
| H A 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()
|
| H A 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()
|
| H A D | ql4_def.h | 723 volatile uint32_t mbox_status[MBOX_REG_COUNT]; member
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_bsg.h | 95 uint32_t mbox_status; member
|
| H A D | lpfc_sli.c | 21011 int mbox_status = 0; in lpfc_wr_object() local 21057 mbox_status = lpfc_sli_issue_mbox(phba, mbox, MBX_POLL); in lpfc_wr_object() 21060 mbox_status = lpfc_sli_issue_mbox_wait(phba, mbox, mbox_tmo); in lpfc_wr_object() 21064 rc = mbox_status; in lpfc_wr_object() 21100 else if (mbox_status != MBX_TIMEOUT) in lpfc_wr_object()
|
| H A D | lpfc_bsg.c | 2465 diag_status_reply->mbox_status = mbxstatus; in lpfc_sli4_bsg_link_diag_test()
|
| /linux/drivers/scsi/elx/efct/ |
| H A D | efct_hw.c | 3274 u16 mbox_status; in efct_hw_cb_fw_write() local 3280 mbox_status = le16_to_cpu(mbox_rsp->hdr.status); in efct_hw_cb_fw_write() 3286 if (!status && mbox_status) in efct_hw_cb_fw_write() 3287 status = mbox_status; in efct_hw_cb_fw_write()
|
| /linux/drivers/infiniband/hw/ocrdma/ |
| H A 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()
|