Home
last modified time | relevance | path

Searched refs:pmboxq (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_bsg.c82 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 …]
Dlpfc_attr.c1285 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 …]
Dlpfc_init.c288 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 …]
Dlpfc_sli.c2806 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 …]