Lines Matching refs:mboxq
1544 list_add_tail(&mbq->list, &psli->mboxq); in lpfc_mbox_put()
1571 list_remove_head((&psli->mboxq), mbq, LPFC_MBOXQ_t, list); in lpfc_mbox_get()
1628 lpfc_mbox_cmd_check(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) in lpfc_mbox_cmd_check() argument
1633 if (mboxq->mbox_cmpl && mboxq->mbox_cmpl != lpfc_sli_def_mbox_cmpl && in lpfc_mbox_cmd_check()
1634 mboxq->mbox_cmpl != lpfc_sli_wake_mbox_wait) { in lpfc_mbox_cmd_check()
1635 if (!mboxq->vport) { in lpfc_mbox_cmd_check()
1638 mboxq->u.mb.mbxCommand); in lpfc_mbox_cmd_check()
1682 lpfc_mbox_tmo_val(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) in lpfc_mbox_tmo_val() argument
1684 MAILBOX_t *mbox = &mboxq->u.mb; in lpfc_mbox_tmo_val()
1700 subsys = lpfc_sli_config_mbox_subsys_get(phba, mboxq); in lpfc_mbox_tmo_val()
1701 opcode = lpfc_sli_config_mbox_opcode_get(phba, mboxq); in lpfc_mbox_tmo_val()
2087 struct lpfcMboxq *mboxq, in lpfc_sli4_mbx_read_fcf_rec() argument
2096 if (!mboxq) in lpfc_sli4_mbx_read_fcf_rec()
2103 alloc_len = lpfc_sli4_config(phba, mboxq, LPFC_MBOX_SUBSYSTEM_FCOE, in lpfc_sli4_mbx_read_fcf_rec()
2118 lpfc_sli4_mbx_sge_get(mboxq, 0, &sge); in lpfc_sli4_mbx_read_fcf_rec()
2119 virt_addr = mboxq->sge_array->addr[0]; in lpfc_sli4_mbx_read_fcf_rec()
2140 lpfc_request_features(struct lpfc_hba *phba, struct lpfcMboxq *mboxq) in lpfc_request_features() argument
2143 memset(mboxq, 0, sizeof(LPFC_MBOXQ_t)); in lpfc_request_features()
2144 bf_set(lpfc_mqe_command, &mboxq->u.mqe, MBX_SLI4_REQ_FTRS); in lpfc_request_features()
2147 bf_set(lpfc_mbx_rq_ftr_rq_fcpi, &mboxq->u.mqe.un.req_ftrs, 1); in lpfc_request_features()
2148 bf_set(lpfc_mbx_rq_ftr_rq_perfh, &mboxq->u.mqe.un.req_ftrs, 1); in lpfc_request_features()
2152 bf_set(lpfc_mbx_rq_ftr_rq_dif, &mboxq->u.mqe.un.req_ftrs, 1); in lpfc_request_features()
2156 bf_set(lpfc_mbx_rq_ftr_rq_npiv, &mboxq->u.mqe.un.req_ftrs, 1); in lpfc_request_features()
2159 bf_set(lpfc_mbx_rq_ftr_rq_mrqp, &mboxq->u.mqe.un.req_ftrs, 1); in lpfc_request_features()
2161 bf_set(lpfc_mbx_rq_ftr_rq_iaab, &mboxq->u.mqe.un.req_ftrs, 0); in lpfc_request_features()
2162 bf_set(lpfc_mbx_rq_ftr_rq_iaar, &mboxq->u.mqe.un.req_ftrs, 0); in lpfc_request_features()
2167 bf_set(lpfc_mbx_rq_ftr_rq_ashdr, &mboxq->u.mqe.un.req_ftrs, 1); in lpfc_request_features()
2363 lpfc_mbx_cmpl_rdp_link_stat(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) in lpfc_mbx_cmpl_rdp_link_stat() argument
2368 (struct lpfc_rdp_context *)(mboxq->ctx_ndlp); in lpfc_mbx_cmpl_rdp_link_stat()
2370 mb = &mboxq->u.mb; in lpfc_mbx_cmpl_rdp_link_stat()
2379 lpfc_mbox_rsrc_cleanup(phba, mboxq, MBOX_THD_UNLOCKED); in lpfc_mbx_cmpl_rdp_link_stat()