Lines Matching refs:status

158  * beiscsi_mcc_compl_status - Return the status of MCC completion
174 uint16_t status = 0, addl_status = 0, wrb_num = 0;
182 status = (mcc_tag_status & CQE_STATUS_MASK);
198 if (status || addl_status) {
204 status, addl_status);
206 if (status == MCC_STATUS_INSUFFICIENT_BUFFER) {
309 * beiscsi_process_mbox_compl()- Check the MBX completion status
311 * @compl: Completion status of MBX Command
313 * Check for the MBX completion status when BMBX method used
342 * Just swap the status to host endian;
346 compl_status = (compl->status >> CQE_STATUS_COMPL_SHIFT) &
348 extd_status = (compl->status >> CQE_STATUS_EXTD_SHIFT) &
357 "BC_%d : error in cmd completion: Subsystem : %d Opcode : %d status(compl/extd)=%d/%d\n",
371 * Check logical link status in ASYNC event.
480 "BC_%d : ASYNC Event %x: status 0x%08x flags 0x%08x\n",
481 evt_code, compl->status, compl->flags);
526 compl_status = (compl->status >> CQE_STATUS_COMPL_SHIFT) &
528 extd_status = (compl->status >> CQE_STATUS_EXTD_SHIFT) &
551 /* just check completion status and free wrb */
575 * be_mbox_db_ready_poll()- Check ready status
578 * Check for the ready status of FW to send BMBX
637 int status;
643 status = be_mbox_db_ready_poll(ctrl);
644 if (status)
645 return status;
652 status = be_mbox_db_ready_poll(ctrl);
653 if (status)
654 return status;
662 status = be_mbox_db_ready_poll(ctrl);
663 if (status)
664 return status;
669 status = beiscsi_process_mbox_compl(ctrl, &mbox->compl);
670 return status;
742 int status;
766 status = be_mbox_notify(ctrl);
767 if (!status) {
772 return status;
785 int status;
828 status = be_mbox_notify(ctrl);
829 if (!status) {
834 "BC_%d : In be_cmd_cq_create, status=ox%08x\n",
835 status);
839 return status;
859 int status;
889 status = be_mbox_notify(ctrl);
890 if (!status) {
897 return status;
907 int status;
950 status = be_mbox_notify(ctrl);
953 return status;
985 int status;
1036 status = be_mbox_notify(ctrl);
1037 if (!status) {
1061 return status;
1085 int status;
1104 status = be_mbox_notify(ctrl);
1105 if (!status) {
1119 return status;
1127 int status;
1141 status = be_mbox_notify(ctrl);
1143 return status;
1150 int status;
1162 status = be_mbox_notify(ctrl);
1164 return status;
1174 int status;
1202 status = be_mbox_notify(ctrl);
1203 if (status) {
1212 if (status != 0)
1214 return status;
1265 int status = 0;
1287 status = be_mbox_notify(ctrl);
1288 if (!status) {
1315 return status;
1336 int status = -EINVAL;
1472 status = 0;
1475 return status;
1508 "BG_%d : GET_PORT_NAME ret 0x%x status 0x%x\n",
1509 ret, ioctl->h.resp_hdr.status);
1646 int status;
1654 status = be_mbox_notify(ctrl);
1657 return status;
1665 int status;
1694 status = be_mbox_notify(ctrl);
1695 if (status)
1699 return status;
1704 int status;
1707 status = beiscsi_check_fw_rdy(phba);
1708 if (!status)
1721 status = beiscsi_cmd_function_reset(phba);
1722 if (status) {
1725 return status;
1748 int status;
1776 status = be_mbox_notify(ctrl);
1777 if (status)
1781 return status;
1788 * Read registers linked to UE and check for the UE status
1849 u32 post, status;
1853 status = post & POST_STAGE_MASK;
1854 if ((status & POST_ERR_RECOVERY_CODE_MASK) ==