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;
1200 status = be_mbox_notify(ctrl);
1201 if (status) {
1210 if (status != 0)
1212 return status;
1263 int status = 0;
1285 status = be_mbox_notify(ctrl);
1286 if (!status) {
1313 return status;
1334 int status = -EINVAL;
1470 status = 0;
1473 return status;
1506 "BG_%d : GET_PORT_NAME ret 0x%x status 0x%x\n",
1507 ret, ioctl->h.resp_hdr.status);
1644 int status;
1652 status = be_mbox_notify(ctrl);
1655 return status;
1663 int status;
1692 status = be_mbox_notify(ctrl);
1693 if (status)
1697 return status;
1702 int status;
1705 status = beiscsi_check_fw_rdy(phba);
1706 if (!status)
1719 status = beiscsi_cmd_function_reset(phba);
1720 if (status) {
1723 return status;
1746 int status;
1774 status = be_mbox_notify(ctrl);
1775 if (status)
1779 return status;
1786 * Read registers linked to UE and check for the UE status
1847 u32 post, status;
1851 status = post & POST_STAGE_MASK;
1852 if ((status & POST_ERR_RECOVERY_CODE_MASK) ==