Home
last modified time | relevance | path

Searched refs:mbox_status (Results 1 – 4 of 4) sorted by relevance

/drivers/scsi/qla4xxx/
Dql4_isr.c393 uint32_t mbox_status) in qla4xxx_isr_decode_mailbox() argument
398 if ((mbox_status == MBOX_STS_BUSY) || in qla4xxx_isr_decode_mailbox()
399 (mbox_status == MBOX_STS_INTERMEDIATE_COMPLETION) || in qla4xxx_isr_decode_mailbox()
400 (mbox_status >> 12 == MBOX_COMPLETION_STATUS)) { in qla4xxx_isr_decode_mailbox()
401 ha->mbox_status[0] = mbox_status; in qla4xxx_isr_decode_mailbox()
409 ha->mbox_status[i] = in qla4xxx_isr_decode_mailbox()
414 } else if (mbox_status >> 12 == MBOX_ASYNC_EVENT_STATUS) { in qla4xxx_isr_decode_mailbox()
423 switch (mbox_status) { in qla4xxx_isr_decode_mailbox()
441 "Reset HA\n", ha->host_no, mbox_status)); in qla4xxx_isr_decode_mailbox()
447 ha->host_no, mbox_status)); in qla4xxx_isr_decode_mailbox()
[all …]
Dql4_init.c915 uint32_t mbox_status; in qla4xxx_start_firmware_from_flash() local
951 mbox_status = readw(&ha->reg->mailbox[0]); in qla4xxx_start_firmware_from_flash()
956 if (mbox_status == MBOX_STS_COMMAND_COMPLETE) in qla4xxx_start_firmware_from_flash()
967 if (mbox_status == MBOX_STS_COMMAND_COMPLETE) { in qla4xxx_start_firmware_from_flash()
981 mbox_status); in qla4xxx_start_firmware_from_flash()
1022 uint32_t mbox_status; in qla4xxx_start_firmware() local
1046 mbox_status = readw(&ha->reg->mailbox[0]); in qla4xxx_start_firmware()
1049 "0x%x\n", ha->host_no, __func__, mbox_status)); in qla4xxx_start_firmware()
1052 if (mbox_status == 0) { in qla4xxx_start_firmware()
Dql4_mbx.c77 ha->mbox_status[i] = 0; in qla4xxx_mailbox_command()
140 mbx_sts[i] = ha->mbox_status[i]; in qla4xxx_mailbox_command()
143 switch (ha->mbox_status[0]) { in qla4xxx_mailbox_command()
Dql4_def.h431 volatile uint32_t mbox_status[MBOX_REG_COUNT]; member