Lines Matching refs:icmd
158 IOCB_t *icmd; in lpfc_prep_els_iocb() local
199 icmd = &elsiocb->iocb; in lpfc_prep_els_iocb()
233 icmd->un.elsreq64.bdl.addrHigh = putPaddrHigh(pbuflist->phys); in lpfc_prep_els_iocb()
234 icmd->un.elsreq64.bdl.addrLow = putPaddrLow(pbuflist->phys); in lpfc_prep_els_iocb()
235 icmd->un.elsreq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; in lpfc_prep_els_iocb()
236 icmd->un.elsreq64.remoteID = did; /* DID */ in lpfc_prep_els_iocb()
238 icmd->un.elsreq64.bdl.bdeSize = (2 * sizeof(struct ulp_bde64)); in lpfc_prep_els_iocb()
239 icmd->ulpCommand = CMD_ELS_REQUEST64_CR; in lpfc_prep_els_iocb()
240 icmd->ulpTimeout = phba->fc_ratov * 2; in lpfc_prep_els_iocb()
242 icmd->un.elsreq64.bdl.bdeSize = sizeof(struct ulp_bde64); in lpfc_prep_els_iocb()
243 icmd->ulpCommand = CMD_XMIT_ELS_RSP64_CX; in lpfc_prep_els_iocb()
245 icmd->ulpBdeCount = 1; in lpfc_prep_els_iocb()
246 icmd->ulpLe = 1; in lpfc_prep_els_iocb()
247 icmd->ulpClass = CLASS3; in lpfc_prep_els_iocb()
250 icmd->un.elsreq64.myID = vport->fc_myDID; in lpfc_prep_els_iocb()
253 icmd->ulpContext = vport->vpi + phba->vpi_base; in lpfc_prep_els_iocb()
254 icmd->ulpCt_h = 0; in lpfc_prep_els_iocb()
257 icmd->ulpCt_l = 0; /* context = invalid RPI */ in lpfc_prep_els_iocb()
259 icmd->ulpCt_l = 1; /* context = VPI */ in lpfc_prep_els_iocb()
1051 IOCB_t *icmd; in lpfc_issue_els_flogi() local
1068 icmd = &elsiocb->iocb; in lpfc_issue_els_flogi()
1099 icmd->ulpCt_h = 1; in lpfc_issue_els_flogi()
1100 icmd->ulpCt_l = 0; in lpfc_issue_els_flogi()
1104 icmd->un.elsreq64.myID = 0; in lpfc_issue_els_flogi()
1105 icmd->un.elsreq64.fl = 1; in lpfc_issue_els_flogi()
1148 IOCB_t *icmd; in lpfc_els_abort_flogi() local
1163 icmd = &iocb->iocb; in lpfc_els_abort_flogi()
1164 if (icmd->ulpCommand == CMD_ELS_REQUEST64_CR && in lpfc_els_abort_flogi()
1165 icmd->un.elsreq64.bdl.ulpIoTag32) { in lpfc_els_abort_flogi()
1752 IOCB_t *icmd; in lpfc_issue_els_plogi() local
1773 icmd = &elsiocb->iocb; in lpfc_issue_els_plogi()
1913 IOCB_t *icmd; in lpfc_issue_els_prli() local
1924 icmd = &elsiocb->iocb; in lpfc_issue_els_prli()
2201 IOCB_t *icmd; in lpfc_issue_els_adisc() local
2212 icmd = &elsiocb->iocb; in lpfc_issue_els_adisc()
2369 IOCB_t *icmd; in lpfc_issue_els_logo() local
2388 icmd = &elsiocb->iocb; in lpfc_issue_els_logo()
2485 IOCB_t *icmd; in lpfc_issue_els_scr() local
2519 icmd = &elsiocb->iocb; in lpfc_issue_els_scr()
2578 IOCB_t *icmd; in lpfc_issue_els_farpr() local
2614 icmd = &elsiocb->iocb; in lpfc_issue_els_farpr()
3631 IOCB_t *icmd; in lpfc_els_rsp_acc() local
3655 icmd = &elsiocb->iocb; in lpfc_els_rsp_acc()
3656 icmd->ulpContext = oldcmd->ulpContext; /* Xri */ in lpfc_els_rsp_acc()
3672 icmd = &elsiocb->iocb; in lpfc_els_rsp_acc()
3673 icmd->ulpContext = oldcmd->ulpContext; /* Xri */ in lpfc_els_rsp_acc()
3694 icmd = &elsiocb->iocb; in lpfc_els_rsp_acc()
3695 icmd->ulpContext = oldcmd->ulpContext; /* Xri */ in lpfc_els_rsp_acc()
3764 IOCB_t *icmd; in lpfc_els_rsp_reject() local
3779 icmd = &elsiocb->iocb; in lpfc_els_rsp_reject()
3781 icmd->ulpContext = oldcmd->ulpContext; /* Xri */ in lpfc_els_rsp_reject()
3839 IOCB_t *icmd, *oldcmd; in lpfc_els_rsp_adisc_acc() local
3851 icmd = &elsiocb->iocb; in lpfc_els_rsp_adisc_acc()
3853 icmd->ulpContext = oldcmd->ulpContext; /* Xri */ in lpfc_els_rsp_adisc_acc()
3913 IOCB_t *icmd; in lpfc_els_rsp_prli_acc() local
3929 icmd = &elsiocb->iocb; in lpfc_els_rsp_prli_acc()
3931 icmd->ulpContext = oldcmd->ulpContext; /* Xri */ in lpfc_els_rsp_prli_acc()
4015 IOCB_t *icmd, *oldcmd; in lpfc_els_rsp_rnid_acc() local
4033 icmd = &elsiocb->iocb; in lpfc_els_rsp_rnid_acc()
4035 icmd->ulpContext = oldcmd->ulpContext; /* Xri */ in lpfc_els_rsp_rnid_acc()
4526 IOCB_t *icmd; in lpfc_els_rcv_rscn() local
4532 icmd = &cmdiocb->iocb; in lpfc_els_rcv_rscn()
4813 IOCB_t *icmd = &cmdiocb->iocb; in lpfc_els_rcv_flogi() local
4829 did = icmd->un.elsreq64.remoteID; in lpfc_els_rcv_flogi()
4916 IOCB_t *icmd; in lpfc_els_rcv_rnid() local
4921 icmd = &cmdiocb->iocb; in lpfc_els_rcv_rnid()
4922 did = icmd->un.elsreq64.remoteID; in lpfc_els_rcv_rnid()
5049 IOCB_t *icmd; in lpfc_els_rsp_rls_acc() local
5081 icmd = &elsiocb->iocb; in lpfc_els_rsp_rls_acc()
5082 icmd->ulpContext = xri; in lpfc_els_rsp_rls_acc()
5132 IOCB_t *icmd; in lpfc_els_rsp_rps_acc() local
5164 icmd = &elsiocb->iocb; in lpfc_els_rsp_rps_acc()
5165 icmd->ulpContext = xri; in lpfc_els_rsp_rps_acc()
5445 IOCB_t *icmd; in lpfc_issue_els_rrq() local
5464 icmd = &elsiocb->iocb; in lpfc_issue_els_rrq()
5541 IOCB_t *icmd, *oldcmd; in lpfc_els_rsp_rpl_acc() local
5552 icmd = &elsiocb->iocb; in lpfc_els_rsp_rpl_acc()
5554 icmd->ulpContext = oldcmd->ulpContext; /* Xri */ in lpfc_els_rsp_rpl_acc()
5676 IOCB_t *icmd; in lpfc_els_rcv_farp() local
5680 icmd = &cmdiocb->iocb; in lpfc_els_rcv_farp()
5681 did = icmd->un.elsreq64.remoteID; in lpfc_els_rcv_farp()
5749 IOCB_t *icmd; in lpfc_els_rcv_farpr() local
5752 icmd = &cmdiocb->iocb; in lpfc_els_rcv_farpr()
5753 did = icmd->un.elsreq64.remoteID; in lpfc_els_rcv_farpr()
6234 IOCB_t *icmd = &elsiocb->iocb; in lpfc_els_unsol_buffer() local
6245 did = icmd->un.rcvels.remoteID; in lpfc_els_unsol_buffer()
6246 if (icmd->ulpStatus) { in lpfc_els_unsol_buffer()
6249 icmd->ulpStatus, icmd->un.ulpWord[4], did); in lpfc_els_unsol_buffer()
6564 icmd->ulpStatus, icmd->un.ulpWord[4], icmd->ulpTimeout); in lpfc_els_unsol_buffer()
6615 IOCB_t *icmd = &elsiocb->iocb; in lpfc_els_unsol_event() local
6624 if (icmd->ulpStatus == IOSTAT_NEED_BUFFER) { in lpfc_els_unsol_event()
6626 } else if (icmd->ulpStatus == IOSTAT_LOCAL_REJECT && in lpfc_els_unsol_event()
6627 (icmd->un.ulpWord[4] & 0xff) == IOERR_RCV_BUFFER_WAITING) { in lpfc_els_unsol_event()
6636 (icmd->ulpCommand == CMD_IOCB_RCV_ELS64_CX || in lpfc_els_unsol_event()
6637 icmd->ulpCommand == CMD_IOCB_RCV_SEQ64_CX)) { in lpfc_els_unsol_event()
6638 if (icmd->unsli3.rcvsli3.vpi == 0xffff) in lpfc_els_unsol_event()
6642 icmd->unsli3.rcvsli3.vpi - phba->vpi_base); in lpfc_els_unsol_event()
6647 if (icmd->ulpBdeCount == 0) in lpfc_els_unsol_event()
6656 paddr = getPaddr(icmd->un.cont64[0].addrHigh, in lpfc_els_unsol_event()
6657 icmd->un.cont64[0].addrLow); in lpfc_els_unsol_event()
6674 icmd->ulpBdeCount == 2) { in lpfc_els_unsol_event()
7193 IOCB_t *icmd; in lpfc_issue_els_fdisc() local
7212 icmd = &elsiocb->iocb; in lpfc_issue_els_fdisc()
7213 icmd->un.elsreq64.myID = 0; in lpfc_issue_els_fdisc()
7214 icmd->un.elsreq64.fl = 1; in lpfc_issue_els_fdisc()
7226 icmd->ulpCt_h = 1; in lpfc_issue_els_fdisc()
7227 icmd->ulpCt_l = 0; in lpfc_issue_els_fdisc()
7328 IOCB_t *icmd; in lpfc_issue_els_npiv_logo() local
7339 icmd = &elsiocb->iocb; in lpfc_issue_els_npiv_logo()