• Home
  • Raw
  • Download

Lines Matching refs:icmd

172 	IOCB_t *icmd;  in lpfc_prep_els_iocb()  local
213 icmd = &elsiocb->iocb; in lpfc_prep_els_iocb()
248 icmd->un.elsreq64.bdl.addrHigh = putPaddrHigh(pbuflist->phys); in lpfc_prep_els_iocb()
249 icmd->un.elsreq64.bdl.addrLow = putPaddrLow(pbuflist->phys); in lpfc_prep_els_iocb()
250 icmd->un.elsreq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; in lpfc_prep_els_iocb()
251 icmd->un.elsreq64.bdl.bdeSize = (2 * sizeof(struct ulp_bde64)); in lpfc_prep_els_iocb()
253 icmd->un.elsreq64.remoteID = did; /* DID */ in lpfc_prep_els_iocb()
254 icmd->ulpCommand = CMD_ELS_REQUEST64_CR; in lpfc_prep_els_iocb()
256 icmd->ulpTimeout = FF_DEF_RATOV * 2; in lpfc_prep_els_iocb()
258 icmd->ulpTimeout = phba->fc_ratov; in lpfc_prep_els_iocb()
260 icmd->ulpTimeout = phba->fc_ratov * 2; in lpfc_prep_els_iocb()
262 icmd->un.xseq64.bdl.addrHigh = putPaddrHigh(pbuflist->phys); in lpfc_prep_els_iocb()
263 icmd->un.xseq64.bdl.addrLow = putPaddrLow(pbuflist->phys); in lpfc_prep_els_iocb()
264 icmd->un.xseq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; in lpfc_prep_els_iocb()
265 icmd->un.xseq64.bdl.bdeSize = sizeof(struct ulp_bde64); in lpfc_prep_els_iocb()
266 icmd->un.xseq64.xmit_els_remoteID = did; /* DID */ in lpfc_prep_els_iocb()
267 icmd->ulpCommand = CMD_XMIT_ELS_RSP64_CX; in lpfc_prep_els_iocb()
269 icmd->ulpBdeCount = 1; in lpfc_prep_els_iocb()
270 icmd->ulpLe = 1; in lpfc_prep_els_iocb()
271 icmd->ulpClass = CLASS3; in lpfc_prep_els_iocb()
283 icmd->un.elsreq64.myID = vport->fc_myDID; in lpfc_prep_els_iocb()
286 icmd->ulpContext = phba->vpi_ids[vport->vpi]; in lpfc_prep_els_iocb()
289 icmd->ulpCt_h = 0; in lpfc_prep_els_iocb()
292 icmd->ulpCt_l = 0; /* context = invalid RPI */ in lpfc_prep_els_iocb()
294 icmd->ulpCt_l = 1; /* context = VPI */ in lpfc_prep_els_iocb()
1291 IOCB_t *icmd; in lpfc_issue_els_flogi() local
1306 icmd = &elsiocb->iocb; in lpfc_issue_els_flogi()
1356 icmd->ulpCt_h = 1; in lpfc_issue_els_flogi()
1357 icmd->ulpCt_l = 0; in lpfc_issue_els_flogi()
1363 icmd->un.elsreq64.myID = 0; in lpfc_issue_els_flogi()
1364 icmd->un.elsreq64.fl = 1; in lpfc_issue_els_flogi()
1443 IOCB_t *icmd; in lpfc_els_abort_flogi() local
1460 icmd = &iocb->iocb; in lpfc_els_abort_flogi()
1461 if (icmd->ulpCommand == CMD_ELS_REQUEST64_CR) { in lpfc_els_abort_flogi()
5331 IOCB_t *icmd; in lpfc_els_rsp_acc() local
5355 icmd = &elsiocb->iocb; in lpfc_els_rsp_acc()
5356 icmd->ulpContext = oldcmd->ulpContext; /* Xri / rx_id */ in lpfc_els_rsp_acc()
5357 icmd->unsli3.rcvsli3.ox_id = oldcmd->unsli3.rcvsli3.ox_id; in lpfc_els_rsp_acc()
5374 icmd = &elsiocb->iocb; in lpfc_els_rsp_acc()
5375 icmd->ulpContext = oldcmd->ulpContext; /* Xri / rx_id */ in lpfc_els_rsp_acc()
5376 icmd->unsli3.rcvsli3.ox_id = oldcmd->unsli3.rcvsli3.ox_id; in lpfc_els_rsp_acc()
5436 icmd = &elsiocb->iocb; in lpfc_els_rsp_acc()
5437 icmd->ulpContext = oldcmd->ulpContext; /* Xri / rx_id */ in lpfc_els_rsp_acc()
5438 icmd->unsli3.rcvsli3.ox_id = oldcmd->unsli3.rcvsli3.ox_id; in lpfc_els_rsp_acc()
5458 icmd = &elsiocb->iocb; in lpfc_els_rsp_acc()
5459 icmd->ulpContext = oldcmd->ulpContext; /* Xri / rx_id */ in lpfc_els_rsp_acc()
5460 icmd->unsli3.rcvsli3.ox_id = oldcmd->unsli3.rcvsli3.ox_id; in lpfc_els_rsp_acc()
5542 IOCB_t *icmd; in lpfc_els_rsp_reject() local
5554 icmd = &elsiocb->iocb; in lpfc_els_rsp_reject()
5556 icmd->ulpContext = oldcmd->ulpContext; /* Xri / rx_id */ in lpfc_els_rsp_reject()
5557 icmd->unsli3.rcvsli3.ox_id = oldcmd->unsli3.rcvsli3.ox_id; in lpfc_els_rsp_reject()
5629 IOCB_t *icmd, *cmd; in lpfc_issue_els_edc_rsp() local
5639 icmd = &elsiocb->iocb; in lpfc_issue_els_edc_rsp()
5641 icmd->ulpContext = cmd->ulpContext; /* Xri / rx_id */ in lpfc_issue_els_edc_rsp()
5642 icmd->unsli3.rcvsli3.ox_id = cmd->unsli3.rcvsli3.ox_id; in lpfc_issue_els_edc_rsp()
5713 IOCB_t *icmd, *oldcmd; in lpfc_els_rsp_adisc_acc() local
5725 icmd = &elsiocb->iocb; in lpfc_els_rsp_adisc_acc()
5727 icmd->ulpContext = oldcmd->ulpContext; /* Xri / rx_id */ in lpfc_els_rsp_adisc_acc()
5728 icmd->unsli3.rcvsli3.ox_id = oldcmd->unsli3.rcvsli3.ox_id; in lpfc_els_rsp_adisc_acc()
5805 IOCB_t *icmd; in lpfc_els_rsp_prli_acc() local
5843 icmd = &elsiocb->iocb; in lpfc_els_rsp_prli_acc()
5845 icmd->ulpContext = oldcmd->ulpContext; /* Xri / rx_id */ in lpfc_els_rsp_prli_acc()
5846 icmd->unsli3.rcvsli3.ox_id = oldcmd->unsli3.rcvsli3.ox_id; in lpfc_els_rsp_prli_acc()
5970 IOCB_t *icmd, *oldcmd; in lpfc_els_rsp_rnid_acc() local
5986 icmd = &elsiocb->iocb; in lpfc_els_rsp_rnid_acc()
5988 icmd->ulpContext = oldcmd->ulpContext; /* Xri / rx_id */ in lpfc_els_rsp_rnid_acc()
5989 icmd->unsli3.rcvsli3.ox_id = oldcmd->unsli3.rcvsli3.ox_id; in lpfc_els_rsp_rnid_acc()
6726 IOCB_t *icmd; in lpfc_els_rdp_cmpl() local
6746 icmd = &elsiocb->iocb; in lpfc_els_rdp_cmpl()
6747 icmd->ulpContext = rdp_context->rx_id; in lpfc_els_rdp_cmpl()
6748 icmd->unsli3.rcvsli3.ox_id = rdp_context->ox_id; in lpfc_els_rdp_cmpl()
6837 icmd = &elsiocb->iocb; in lpfc_els_rdp_cmpl()
6838 icmd->ulpContext = rdp_context->rx_id; in lpfc_els_rdp_cmpl()
6839 icmd->unsli3.rcvsli3.ox_id = rdp_context->ox_id; in lpfc_els_rdp_cmpl()
7007 IOCB_t *icmd; in lpfc_els_lcb_rsp() local
7058 icmd = &elsiocb->iocb; in lpfc_els_lcb_rsp()
7059 icmd->ulpContext = lcb_context->rx_id; in lpfc_els_lcb_rsp()
7060 icmd->unsli3.rcvsli3.ox_id = lcb_context->ox_id; in lpfc_els_lcb_rsp()
7096 icmd = &elsiocb->iocb; in lpfc_els_lcb_rsp()
7097 icmd->ulpContext = lcb_context->rx_id; in lpfc_els_lcb_rsp()
7098 icmd->unsli3.rcvsli3.ox_id = lcb_context->ox_id; in lpfc_els_lcb_rsp()
7826 IOCB_t *icmd = &cmdiocb->iocb; in lpfc_els_rcv_flogi() local
7843 did = icmd->un.elsreq64.remoteID; in lpfc_els_rcv_flogi()
8117 IOCB_t *icmd; in lpfc_els_rsp_rls_acc() local
8152 icmd = &elsiocb->iocb; in lpfc_els_rsp_rls_acc()
8153 icmd->ulpContext = rxid; in lpfc_els_rsp_rls_acc()
8154 icmd->unsli3.rcvsli3.ox_id = oxid; in lpfc_els_rsp_rls_acc()
8472 IOCB_t *icmd, *oldcmd; in lpfc_els_rsp_rpl_acc() local
8483 icmd = &elsiocb->iocb; in lpfc_els_rsp_rpl_acc()
8485 icmd->ulpContext = oldcmd->ulpContext; /* Xri / rx_id */ in lpfc_els_rsp_rpl_acc()
8486 icmd->unsli3.rcvsli3.ox_id = oldcmd->unsli3.rcvsli3.ox_id; in lpfc_els_rsp_rpl_acc()
8616 IOCB_t *icmd; in lpfc_els_rcv_farp() local
8620 icmd = &cmdiocb->iocb; in lpfc_els_rcv_farp()
8621 did = icmd->un.elsreq64.remoteID; in lpfc_els_rcv_farp()
8689 IOCB_t *icmd; in lpfc_els_rcv_farpr() local
8692 icmd = &cmdiocb->iocb; in lpfc_els_rcv_farpr()
8693 did = icmd->un.elsreq64.remoteID; in lpfc_els_rcv_farpr()
9758 IOCB_t *icmd = &elsiocb->iocb; in lpfc_els_unsol_buffer() local
9771 did = icmd->un.rcvels.remoteID; in lpfc_els_unsol_buffer()
9772 if (icmd->ulpStatus) { in lpfc_els_unsol_buffer()
9775 icmd->ulpStatus, icmd->un.ulpWord[4], did); in lpfc_els_unsol_buffer()
10204 icmd->ulpStatus, icmd->un.ulpWord[4], icmd->ulpTimeout); in lpfc_els_unsol_buffer()
10225 IOCB_t *icmd = &elsiocb->iocb; in lpfc_els_unsol_event() local
10234 if (icmd->ulpStatus == IOSTAT_NEED_BUFFER) { in lpfc_els_unsol_event()
10236 } else if (icmd->ulpStatus == IOSTAT_LOCAL_REJECT && in lpfc_els_unsol_event()
10237 (icmd->un.ulpWord[4] & IOERR_PARAM_MASK) == in lpfc_els_unsol_event()
10247 (icmd->ulpCommand == CMD_IOCB_RCV_ELS64_CX || in lpfc_els_unsol_event()
10248 icmd->ulpCommand == CMD_IOCB_RCV_SEQ64_CX)) { in lpfc_els_unsol_event()
10249 if (icmd->unsli3.rcvsli3.vpi == 0xffff) in lpfc_els_unsol_event()
10253 icmd->unsli3.rcvsli3.vpi); in lpfc_els_unsol_event()
10259 if (icmd->ulpBdeCount == 0) in lpfc_els_unsol_event()
10268 paddr = getPaddr(icmd->un.cont64[0].addrHigh, in lpfc_els_unsol_event()
10269 icmd->un.cont64[0].addrLow); in lpfc_els_unsol_event()
10286 icmd->ulpBdeCount == 2) { in lpfc_els_unsol_event()
10819 IOCB_t *icmd; in lpfc_issue_els_fdisc() local
10839 icmd = &elsiocb->iocb; in lpfc_issue_els_fdisc()
10840 icmd->un.elsreq64.myID = 0; in lpfc_issue_els_fdisc()
10841 icmd->un.elsreq64.fl = 1; in lpfc_issue_els_fdisc()
10848 icmd->ulpCt_h = 1; in lpfc_issue_els_fdisc()
10849 icmd->ulpCt_l = 0; in lpfc_issue_els_fdisc()