Searched refs:pmboxq (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 82 LPFC_MBOXQ_t *pmboxq; member 1742 LPFC_MBOXQ_t *pmboxq = NULL; in lpfc_sli3_bsg_diag_loopback_mode() local 1772 pmboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli3_bsg_diag_loopback_mode() 1773 if (!pmboxq) { in lpfc_sli3_bsg_diag_loopback_mode() 1777 memset((void *)pmboxq, 0, sizeof(LPFC_MBOXQ_t)); in lpfc_sli3_bsg_diag_loopback_mode() 1778 pmboxq->u.mb.mbxCommand = MBX_DOWN_LINK; in lpfc_sli3_bsg_diag_loopback_mode() 1779 pmboxq->u.mb.mbxOwner = OWN_HOST; in lpfc_sli3_bsg_diag_loopback_mode() 1781 mbxstatus = lpfc_sli_issue_mbox_wait(phba, pmboxq, LPFC_MBOX_TMO); in lpfc_sli3_bsg_diag_loopback_mode() 1783 if ((mbxstatus == MBX_SUCCESS) && (pmboxq->u.mb.mbxStatus == 0)) { in lpfc_sli3_bsg_diag_loopback_mode() 1794 memset((void *)pmboxq, 0, sizeof(LPFC_MBOXQ_t)); in lpfc_sli3_bsg_diag_loopback_mode() [all …]
|
D | lpfc_attr.c | 1285 LPFC_MBOXQ_t *pmboxq; in lpfc_issue_lip() local 1297 pmboxq = mempool_alloc(phba->mbox_mem_pool,GFP_KERNEL); in lpfc_issue_lip() 1299 if (!pmboxq) in lpfc_issue_lip() 1302 memset((void *)pmboxq, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_issue_lip() 1303 pmboxq->u.mb.mbxCommand = MBX_DOWN_LINK; in lpfc_issue_lip() 1304 pmboxq->u.mb.mbxOwner = OWN_HOST; in lpfc_issue_lip() 1309 mbxstatus = lpfc_sli_issue_mbox_wait(phba, pmboxq, LPFC_MBOX_TMO * 2); in lpfc_issue_lip() 1312 (pmboxq->u.mb.mbxStatus == 0 || in lpfc_issue_lip() 1313 pmboxq->u.mb.mbxStatus == MBXERR_LINK_DOWN)) { in lpfc_issue_lip() 1314 memset((void *)pmboxq, 0, sizeof (LPFC_MBOXQ_t)); in lpfc_issue_lip() [all …]
|
D | lpfc_init.c | 288 lpfc_config_async_cmpl(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq) in lpfc_config_async_cmpl() argument 290 if (pmboxq->u.mb.mbxStatus == MBX_SUCCESS) in lpfc_config_async_cmpl() 294 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_config_async_cmpl() 309 lpfc_dump_wakeup_param_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq) in lpfc_dump_wakeup_param_cmpl() argument 317 if (pmboxq->u.mb.mbxStatus != MBX_SUCCESS) { in lpfc_dump_wakeup_param_cmpl() 318 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_dump_wakeup_param_cmpl() 325 prog_id_word = pmboxq->u.mb.un.varWords[7]; in lpfc_dump_wakeup_param_cmpl() 337 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_dump_wakeup_param_cmpl() 1259 lpfc_hb_mbox_cmpl(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq) in lpfc_hb_mbox_cmpl() argument 1268 mempool_free(pmboxq, phba->mbox_mem_pool); in lpfc_hb_mbox_cmpl() [all …]
|
D | lpfc_sli.c | 2806 lpfc_sli_wake_mbox_wait(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq) in lpfc_sli_wake_mbox_wait() argument 2815 pmboxq->mbox_flag |= LPFC_MBX_WAKE; in lpfc_sli_wake_mbox_wait() 2817 pmbox_done = (struct completion *)pmboxq->context3; in lpfc_sli_wake_mbox_wait() 13236 lpfc_sli_issue_mbox_wait(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq, in lpfc_sli_issue_mbox_wait() argument 13243 pmboxq->mbox_flag &= ~LPFC_MBX_WAKE; in lpfc_sli_issue_mbox_wait() 13245 pmboxq->mbox_cmpl = lpfc_sli_wake_mbox_wait; in lpfc_sli_issue_mbox_wait() 13249 pmboxq->context3 = &mbox_done; in lpfc_sli_issue_mbox_wait() 13251 retval = lpfc_sli_issue_mbox(phba, pmboxq, MBX_NOWAIT); in lpfc_sli_issue_mbox_wait() 13257 pmboxq->context3 = NULL; in lpfc_sli_issue_mbox_wait() 13262 if (pmboxq->mbox_flag & LPFC_MBX_WAKE) { in lpfc_sli_issue_mbox_wait() [all …]
|