Searched refs:pmboxq (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 81 LPFC_MBOXQ_t *pmboxq; member 1800 LPFC_MBOXQ_t *pmboxq = NULL; in lpfc_sli3_bsg_diag_loopback_mode() local 1830 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli3_bsg_diag_loopback_mode() 1831 if (!pmboxq) { in lpfc_sli3_bsg_diag_loopback_mode() 1835 memset((void *)pmboxq, 0, sizeof(LPFC_MBOXQ_t)); in lpfc_sli3_bsg_diag_loopback_mode() 1836 pmboxq->u.mb.mbxCommand = MBX_DOWN_LINK; in lpfc_sli3_bsg_diag_loopback_mode() 1837 pmboxq->u.mb.mbxOwner = OWN_HOST; in lpfc_sli3_bsg_diag_loopback_mode() 1839 mbxstatus = lpfc_sli_issue_mbox_wait(phba, pmboxq, LPFC_MBOX_TMO); in lpfc_sli3_bsg_diag_loopback_mode() 1841 if ((mbxstatus == MBX_SUCCESS) && (pmboxq->u.mb.mbxStatus == 0)) { in lpfc_sli3_bsg_diag_loopback_mode() 1852 memset((void *)pmboxq, 0, sizeof(LPFC_MBOXQ_t)); in lpfc_sli3_bsg_diag_loopback_mode() [all …]
|
D | lpfc_attr.c | 1015 LPFC_MBOXQ_t *pmboxq; in lpfc_issue_lip() local 1027 pmboxq = mempool_alloc(phba->mbox_mem_pool,GFP_KERNEL); in lpfc_issue_lip() 1029 if (!pmboxq) in lpfc_issue_lip() 1032 memset((void *)pmboxq, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_issue_lip() 1033 pmboxq->u.mb.mbxCommand = MBX_DOWN_LINK; in lpfc_issue_lip() 1034 pmboxq->u.mb.mbxOwner = OWN_HOST; in lpfc_issue_lip() 1036 mbxstatus = lpfc_sli_issue_mbox_wait(phba, pmboxq, LPFC_MBOX_TMO * 2); in lpfc_issue_lip() 1039 (pmboxq->u.mb.mbxStatus == 0 || in lpfc_issue_lip() 1040 pmboxq->u.mb.mbxStatus == MBXERR_LINK_DOWN)) { in lpfc_issue_lip() 1041 memset((void *)pmboxq, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_issue_lip() [all …]
|
D | lpfc_init.c | 278 lpfc_config_async_cmpl(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq) in lpfc_config_async_cmpl() argument 280 if (pmboxq->u.mb.mbxStatus == MBX_SUCCESS) in lpfc_config_async_cmpl() 284 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_config_async_cmpl() 299 lpfc_dump_wakeup_param_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq) in lpfc_dump_wakeup_param_cmpl() argument 307 if (pmboxq->u.mb.mbxStatus != MBX_SUCCESS) { in lpfc_dump_wakeup_param_cmpl() 308 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_dump_wakeup_param_cmpl() 315 prog_id_word = pmboxq->u.mb.un.varWords[7]; in lpfc_dump_wakeup_param_cmpl() 328 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_dump_wakeup_param_cmpl() 1219 lpfc_hb_mbox_cmpl(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq) in lpfc_hb_mbox_cmpl() argument 1228 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_hb_mbox_cmpl() [all …]
|
D | lpfc_sli.c | 2424 lpfc_sli_wake_mbox_wait(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq) in lpfc_sli_wake_mbox_wait() argument 2433 pmboxq->mbox_flag |= LPFC_MBX_WAKE; in lpfc_sli_wake_mbox_wait() 2435 pmbox_done = (struct completion *)pmboxq->context3; in lpfc_sli_wake_mbox_wait() 11712 lpfc_sli_issue_mbox_wait(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq, in lpfc_sli_issue_mbox_wait() argument 11719 pmboxq->mbox_flag &= ~LPFC_MBX_WAKE; in lpfc_sli_issue_mbox_wait() 11721 pmboxq->mbox_cmpl = lpfc_sli_wake_mbox_wait; in lpfc_sli_issue_mbox_wait() 11725 pmboxq->context3 = &mbox_done; in lpfc_sli_issue_mbox_wait() 11727 retval = lpfc_sli_issue_mbox(phba, pmboxq, MBX_NOWAIT); in lpfc_sli_issue_mbox_wait() 11733 pmboxq->context3 = NULL; in lpfc_sli_issue_mbox_wait() 11738 if (pmboxq->mbox_flag & LPFC_MBX_WAKE) { in lpfc_sli_issue_mbox_wait() [all …]
|