Home
last modified time | relevance | path

Searched refs:mboxq (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_sli.c5320 LPFC_MBOXQ_t *mboxq; in lpfc_sli4_read_fcoe_params() local
5332 mboxq = (LPFC_MBOXQ_t *)mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_sli4_read_fcoe_params()
5333 if (!mboxq) in lpfc_sli4_read_fcoe_params()
5336 mqe = &mboxq->u.mqe; in lpfc_sli4_read_fcoe_params()
5337 if (lpfc_sli4_dump_cfg_rg23(phba, mboxq)) { in lpfc_sli4_read_fcoe_params()
5342 mp = (struct lpfc_dmabuf *)mboxq->ctx_buf; in lpfc_sli4_read_fcoe_params()
5343 rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); in lpfc_sli4_read_fcoe_params()
5350 mboxq->vport ? mboxq->vport->vpi : 0, in lpfc_sli4_read_fcoe_params()
5362 mboxq->mcqe.word0, in lpfc_sli4_read_fcoe_params()
5363 mboxq->mcqe.mcqe_tag0, mboxq->mcqe.mcqe_tag1, in lpfc_sli4_read_fcoe_params()
[all …]
Dlpfc_mbox.c1485 list_add_tail(&mbq->list, &psli->mboxq); in lpfc_mbox_put()
1512 list_remove_head((&psli->mboxq), mbq, LPFC_MBOXQ_t, list); in lpfc_mbox_get()
1569 lpfc_mbox_cmd_check(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) in lpfc_mbox_cmd_check() argument
1574 if (mboxq->mbox_cmpl && mboxq->mbox_cmpl != lpfc_sli_def_mbox_cmpl && in lpfc_mbox_cmd_check()
1575 mboxq->mbox_cmpl != lpfc_sli_wake_mbox_wait) { in lpfc_mbox_cmd_check()
1576 if (!mboxq->vport) { in lpfc_mbox_cmd_check()
1579 mboxq->u.mb.mbxCommand); in lpfc_mbox_cmd_check()
1623 lpfc_mbox_tmo_val(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) in lpfc_mbox_tmo_val() argument
1625 MAILBOX_t *mbox = &mboxq->u.mb; in lpfc_mbox_tmo_val()
1641 subsys = lpfc_sli_config_mbox_subsys_get(phba, mboxq); in lpfc_mbox_tmo_val()
[all …]
Dlpfc_hbadisc.c1270 lpfc_mbx_cmpl_reg_fcfi(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) in lpfc_mbx_cmpl_reg_fcfi() argument
1272 struct lpfc_vport *vport = mboxq->vport; in lpfc_mbx_cmpl_reg_fcfi()
1274 if (mboxq->u.mb.mbxStatus) { in lpfc_mbx_cmpl_reg_fcfi()
1277 "HBA state x%x\n", mboxq->u.mb.mbxStatus, in lpfc_mbx_cmpl_reg_fcfi()
1283 phba->fcf.fcfi = bf_get(lpfc_reg_fcfi_fcfi, &mboxq->u.mqe.un.reg_fcfi); in lpfc_mbx_cmpl_reg_fcfi()
1312 mempool_free(mboxq, phba->mbox_mem_pool); in lpfc_mbx_cmpl_reg_fcfi()
1884 lpfc_sli4_fcf_rec_mbox_parse(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq, in lpfc_sli4_fcf_rec_mbox_parse() argument
1897 lpfc_sli4_mbx_sge_get(mboxq, 0, &sge); in lpfc_sli4_fcf_rec_mbox_parse()
1898 if (unlikely(!mboxq->sge_array)) { in lpfc_sli4_fcf_rec_mbox_parse()
1904 virt_addr = mboxq->sge_array->addr[0]; in lpfc_sli4_fcf_rec_mbox_parse()
[all …]
Dlpfc_init.c1466 (list_empty(&psli->mboxq))) { in lpfc_hb_timeout_handler()
4257 LPFC_MBOXQ_t *mboxq; in lpfc_get_wwpn() local
4260 mboxq = (LPFC_MBOXQ_t *) mempool_alloc(phba->mbox_mem_pool, in lpfc_get_wwpn()
4262 if (!mboxq) in lpfc_get_wwpn()
4266 lpfc_read_nv(phba, mboxq); in lpfc_get_wwpn()
4267 rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); in lpfc_get_wwpn()
4272 bf_get(lpfc_mqe_command, &mboxq->u.mqe), in lpfc_get_wwpn()
4273 bf_get(lpfc_mqe_status, &mboxq->u.mqe)); in lpfc_get_wwpn()
4274 mempool_free(mboxq, phba->mbox_mem_pool); in lpfc_get_wwpn()
4277 mb = &mboxq->u.mb; in lpfc_get_wwpn()
[all …]
Dlpfc_sli.h338 struct list_head mboxq; member
Dlpfc_els.c464 LPFC_MBOXQ_t *mboxq = NULL; in lpfc_issue_reg_vfi() local
480 mboxq = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); in lpfc_issue_reg_vfi()
481 if (!mboxq) { in lpfc_issue_reg_vfi()
504 lpfc_reg_vfi(mboxq, vport, dmabuf->phys); in lpfc_issue_reg_vfi()
506 lpfc_reg_vfi(mboxq, vport, 0); in lpfc_issue_reg_vfi()
508 mboxq->mbox_cmpl = lpfc_mbx_cmpl_reg_vfi; in lpfc_issue_reg_vfi()
509 mboxq->vport = vport; in lpfc_issue_reg_vfi()
510 mboxq->ctx_buf = dmabuf; in lpfc_issue_reg_vfi()
511 rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_NOWAIT); in lpfc_issue_reg_vfi()
519 if (mboxq) in lpfc_issue_reg_vfi()
[all …]
Dlpfc_nportdisc.c716 lpfc_mbx_cmpl_resume_rpi(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) in lpfc_mbx_cmpl_resume_rpi() argument
723 elsiocb = (struct lpfc_iocbq *)mboxq->ctx_buf; in lpfc_mbx_cmpl_resume_rpi()
724 ndlp = (struct lpfc_nodelist *)mboxq->ctx_ndlp; in lpfc_mbx_cmpl_resume_rpi()
725 vport = mboxq->vport; in lpfc_mbx_cmpl_resume_rpi()
735 mempool_free(mboxq, phba->mbox_mem_pool); in lpfc_mbx_cmpl_resume_rpi()
1895 list_for_each_entry_safe(mb, nextmb, &phba->sli.mboxq, list) { in lpfc_rcv_logo_reglogin_issue()
Dlpfc_mem.c294 list_for_each_entry_safe(mbox, next_mbox, &psli->mboxq, list) { in lpfc_mem_free_all()
/kernel/linux/linux-5.10/drivers/staging/fieldbus/anybuss/
Dhost.c384 struct kfifo *mboxq; member
1285 cd->mboxq = &cd->qs[1]; in anybuss_host_common_probe()