Lines Matching refs:rdp_context
7059 lpfc_els_rdp_cmpl(struct lpfc_hba *phba, struct lpfc_rdp_context *rdp_context, in lpfc_els_rdp_cmpl() argument
7062 struct lpfc_nodelist *ndlp = rdp_context->ndlp; in lpfc_els_rdp_cmpl()
7083 lpfc_max_els_tries, rdp_context->ndlp, in lpfc_els_rdp_cmpl()
7084 rdp_context->ndlp->nlp_DID, ELS_CMD_ACC); in lpfc_els_rdp_cmpl()
7093 rdp_context->ox_id); in lpfc_els_rdp_cmpl()
7095 rdp_context->rx_id); in lpfc_els_rdp_cmpl()
7098 icmd->ulpContext = rdp_context->rx_id; in lpfc_els_rdp_cmpl()
7099 icmd->unsli3.rcvsli3.ox_id = rdp_context->ox_id; in lpfc_els_rdp_cmpl()
7114 flag_ptr = (uint16_t *)(rdp_context->page_a2 + SSF_ALARM_FLAGS); in lpfc_els_rdp_cmpl()
7116 flag_ptr = (uint16_t *)(rdp_context->page_a2 + SSF_WARNING_FLAGS); in lpfc_els_rdp_cmpl()
7125 rdp_context->page_a0, rdp_context->page_a2); in lpfc_els_rdp_cmpl()
7129 (len + pcmd), &rdp_context->link_stat); in lpfc_els_rdp_cmpl()
7135 &rdp_context->link_stat); in lpfc_els_rdp_cmpl()
7137 &rdp_context->link_stat, vport); in lpfc_els_rdp_cmpl()
7140 rdp_context->page_a2); in lpfc_els_rdp_cmpl()
7143 rdp_context->page_a2); in lpfc_els_rdp_cmpl()
7146 rdp_context->page_a2); in lpfc_els_rdp_cmpl()
7149 rdp_context->page_a2); in lpfc_els_rdp_cmpl()
7152 rdp_context->page_a2); in lpfc_els_rdp_cmpl()
7154 rdp_context->page_a0, vport); in lpfc_els_rdp_cmpl()
7191 rdp_context->ox_id); in lpfc_els_rdp_cmpl()
7194 rdp_context->rx_id); in lpfc_els_rdp_cmpl()
7197 icmd->ulpContext = rdp_context->rx_id; in lpfc_els_rdp_cmpl()
7198 icmd->unsli3.rcvsli3.ox_id = rdp_context->ox_id; in lpfc_els_rdp_cmpl()
7226 kfree(rdp_context); in lpfc_els_rdp_cmpl()
7230 lpfc_get_rdp_info(struct lpfc_hba *phba, struct lpfc_rdp_context *rdp_context) in lpfc_get_rdp_info() argument
7244 mbox->vport = rdp_context->ndlp->vport; in lpfc_get_rdp_info()
7246 mbox->ctx_ndlp = (struct lpfc_rdp_context *)rdp_context; in lpfc_get_rdp_info()
7261 struct lpfc_rdp_context *rdp_context) in lpfc_get_sfp_info_wait() argument
7306 mbox->ctx_ndlp = (struct lpfc_rdp_context *)rdp_context; in lpfc_get_sfp_info_wait()
7324 lpfc_sli_bemem_bcopy(mp->virt, &rdp_context->page_a0, in lpfc_get_sfp_info_wait()
7366 mbox->ctx_ndlp = (struct lpfc_rdp_context *)rdp_context; in lpfc_get_sfp_info_wait()
7374 lpfc_sli_bemem_bcopy(mp->virt, &rdp_context->page_a2, in lpfc_get_sfp_info_wait()
7413 struct lpfc_rdp_context *rdp_context; in lpfc_els_rcv_rdp() local
7450 rdp_context = kzalloc(sizeof(struct lpfc_rdp_context), GFP_KERNEL); in lpfc_els_rcv_rdp()
7451 if (!rdp_context) { in lpfc_els_rcv_rdp()
7457 rdp_context->ndlp = lpfc_nlp_get(ndlp); in lpfc_els_rcv_rdp()
7458 if (!rdp_context->ndlp) { in lpfc_els_rcv_rdp()
7459 kfree(rdp_context); in lpfc_els_rcv_rdp()
7463 rdp_context->ox_id = bf_get(wqe_rcvoxid, in lpfc_els_rcv_rdp()
7465 rdp_context->rx_id = bf_get(wqe_ctxt_tag, in lpfc_els_rcv_rdp()
7467 rdp_context->cmpl = lpfc_els_rdp_cmpl; in lpfc_els_rcv_rdp()
7468 if (lpfc_get_rdp_info(phba, rdp_context)) { in lpfc_els_rcv_rdp()
7471 kfree(rdp_context); in lpfc_els_rcv_rdp()