Searched refs:mbox_status (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/platform/x86/amd/hsmp/ |
H A D | hsmp.c | 60 u32 mbox_status; in __hsmp_send_message() local 67 mbox_status = HSMP_STATUS_NOT_READY; in __hsmp_send_message() 68 ret = sock->amd_hsmp_rdwr(sock, mbinfo->msg_resp_off, &mbox_status, HSMP_WR); in __hsmp_send_message() 104 ret = sock->amd_hsmp_rdwr(sock, mbinfo->msg_resp_off, &mbox_status, HSMP_RD); in __hsmp_send_message() 110 if (mbox_status != HSMP_STATUS_NOT_READY) in __hsmp_send_message() 118 if (unlikely(mbox_status == HSMP_STATUS_NOT_READY)) { in __hsmp_send_message() 120 msg->msg_id, mbox_status); in __hsmp_send_message() 122 } else if (unlikely(mbox_status == HSMP_ERR_INVALID_MSG)) { in __hsmp_send_message() 124 msg->msg_id, mbox_status); in __hsmp_send_message() 126 } 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_bsg.c | 2465 diag_status_reply->mbox_status = mbxstatus; in lpfc_sli4_bsg_link_diag_test()
|
/linux/drivers/media/platform/allegro-dvt/ |
H A D | allegro-core.c | 171 struct allegro_mbox *mbox_status; member 2326 if (!dev->mbox_status) in allegro_irq_thread() 2329 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/drivers/scsi/elx/efct/ |
H A 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/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()
|