Searched refs:mbxstatus (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.c | 1769 int mbxstatus = MBX_SUCCESS; lpfc_sli3_bsg_diag_loopback_mode() local 1807 mbxstatus = lpfc_sli_issue_mbox_wait(phba, pmboxq, LPFC_MBOX_TMO); lpfc_sli3_bsg_diag_loopback_mode() 1809 if ((mbxstatus == MBX_SUCCESS) && (pmboxq->u.mb.mbxStatus == 0)) { lpfc_sli3_bsg_diag_loopback_mode() 1830 mbxstatus = lpfc_sli_issue_mbox_wait(phba, pmboxq, lpfc_sli3_bsg_diag_loopback_mode() 1833 if ((mbxstatus != MBX_SUCCESS) || (pmboxq->u.mb.mbxStatus)) lpfc_sli3_bsg_diag_loopback_mode() 1862 if (pmboxq && mbxstatus != MBX_TIMEOUT) lpfc_sli3_bsg_diag_loopback_mode() 1888 int mbxstatus = MBX_SUCCESS, rc; lpfc_sli4_bsg_set_link_diag_state() local 1922 mbxstatus = lpfc_sli_issue_mbox_wait(phba, pmboxq, LPFC_MBOX_TMO); lpfc_sli4_bsg_set_link_diag_state() 1924 if ((mbxstatus == MBX_SUCCESS) && (pmboxq->u.mb.mbxStatus == 0)) lpfc_sli4_bsg_set_link_diag_state() 1930 if (pmboxq && (mbxstatus != MBX_TIMEOUT)) lpfc_sli4_bsg_set_link_diag_state() 1949 int mbxstatus = MBX_SUCCESS, rc = 0; lpfc_sli4_bsg_set_internal_loopback() local 1971 mbxstatus = lpfc_sli_issue_mbox_wait(phba, pmboxq, LPFC_MBOX_TMO); lpfc_sli4_bsg_set_internal_loopback() 1972 if ((mbxstatus != MBX_SUCCESS) || (pmboxq->u.mb.mbxStatus)) { lpfc_sli4_bsg_set_internal_loopback() 1975 "command, rc:x%x, status:x%x\n", mbxstatus, lpfc_sli4_bsg_set_internal_loopback() 1979 if (pmboxq && (mbxstatus != MBX_TIMEOUT)) lpfc_sli4_bsg_set_internal_loopback() 2293 int mbxstatus, rc = 0; lpfc_sli4_bsg_link_diag_test() local 2374 mbxstatus = lpfc_sli_issue_mbox(phba, pmboxq, MBX_POLL); lpfc_sli4_bsg_link_diag_test() 2380 if (shdr_status || shdr_add_status || mbxstatus) { lpfc_sli4_bsg_link_diag_test() 2384 mbxstatus, shdr_status, shdr_add_status); lpfc_sli4_bsg_link_diag_test() 2402 diag_status_reply->mbox_status = mbxstatus; lpfc_sli4_bsg_link_diag_test()
|
H A D | lpfc_attr.c | 635 int mbxstatus = MBXERR_ERROR; lpfc_issue_lip() local 650 mbxstatus = lpfc_sli_issue_mbox_wait(phba, pmboxq, LPFC_MBOX_TMO * 2); lpfc_issue_lip() 652 if ((mbxstatus == MBX_SUCCESS) && lpfc_issue_lip() 658 mbxstatus = lpfc_sli_issue_mbox_wait(phba, pmboxq, lpfc_issue_lip() 660 if ((mbxstatus == MBX_SUCCESS) && lpfc_issue_lip() 668 if (mbxstatus != MBX_TIMEOUT) lpfc_issue_lip() 671 if (mbxstatus == MBXERR_ERROR) lpfc_issue_lip()
|
Completed in 139 milliseconds