Lines Matching refs:icmd

93 	IOCB_t *icmd = &piocbq->iocb;  in lpfc_ct_unsol_event()  local
104 if (unlikely(icmd->ulpStatus == IOSTAT_NEED_BUFFER)) { in lpfc_ct_unsol_event()
106 } else if ((icmd->ulpStatus == IOSTAT_LOCAL_REJECT) && in lpfc_ct_unsol_event()
107 ((icmd->un.ulpWord[4] & 0xff) == IOERR_RCV_BUFFER_WAITING)) { in lpfc_ct_unsol_event()
118 if (icmd->ulpBdeCount == 0) in lpfc_ct_unsol_event()
125 icmd = &iocbq->iocb; in lpfc_ct_unsol_event()
126 if (icmd->ulpBdeCount == 0) in lpfc_ct_unsol_event()
130 size = icmd->un.cont64[0].tus.f.bdeSize; in lpfc_ct_unsol_event()
133 if (icmd->ulpBdeCount == 2) { in lpfc_ct_unsol_event()
136 size = icmd->unsli3.rcvsli3.bde2.tus.f.bdeSize; in lpfc_ct_unsol_event()
147 icmd = &iocbq->iocb; in lpfc_ct_unsol_event()
148 if (icmd->ulpBdeCount == 0) in lpfc_ct_unsol_event()
150 for (i = 0; i < icmd->ulpBdeCount; i++) { in lpfc_ct_unsol_event()
151 paddr = getPaddr(icmd->un.cont64[i].addrHigh, in lpfc_ct_unsol_event()
152 icmd->un.cont64[i].addrLow); in lpfc_ct_unsol_event()
155 size = icmd->un.cont64[i].tus.f.bdeSize; in lpfc_ct_unsol_event()
181 IOCB_t *icmd = &piocbq->iocb; in lpfc_sli4_ct_abort_unsol_event() local
190 if (icmd->ulpBdeCount == 0) in lpfc_sli4_ct_abort_unsol_event()
194 size = icmd->un.cont64[0].tus.f.bdeSize; in lpfc_sli4_ct_abort_unsol_event()
310 IOCB_t *icmd; in lpfc_gen_req() local
320 icmd = &geniocb->iocb; in lpfc_gen_req()
321 icmd->un.genreq64.bdl.ulpIoTag32 = 0; in lpfc_gen_req()
322 icmd->un.genreq64.bdl.addrHigh = putPaddrHigh(bmp->phys); in lpfc_gen_req()
323 icmd->un.genreq64.bdl.addrLow = putPaddrLow(bmp->phys); in lpfc_gen_req()
324 icmd->un.genreq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; in lpfc_gen_req()
325 icmd->un.genreq64.bdl.bdeSize = (num_entry * sizeof (struct ulp_bde64)); in lpfc_gen_req()
338 icmd->ulpCommand = CMD_GEN_REQUEST64_CR; in lpfc_gen_req()
341 icmd->un.genreq64.w5.hcsw.Fctl = (SI | LA); in lpfc_gen_req()
342 icmd->un.genreq64.w5.hcsw.Dfctl = 0; in lpfc_gen_req()
343 icmd->un.genreq64.w5.hcsw.Rctl = FC_RCTL_DD_UNSOL_CTL; in lpfc_gen_req()
344 icmd->un.genreq64.w5.hcsw.Type = FC_TYPE_CT; in lpfc_gen_req()
350 icmd->ulpTimeout = tmo; in lpfc_gen_req()
351 icmd->ulpBdeCount = 1; in lpfc_gen_req()
352 icmd->ulpLe = 1; in lpfc_gen_req()
353 icmd->ulpClass = CLASS3; in lpfc_gen_req()
354 icmd->ulpContext = ndlp->nlp_rpi; in lpfc_gen_req()
358 icmd->ulpCt_h = 0; in lpfc_gen_req()
359 icmd->ulpCt_l = 0; in lpfc_gen_req()
366 ndlp->nlp_DID, icmd->ulpIoTag, in lpfc_gen_req()
369 geniocb->drvrTimeout = icmd->ulpTimeout + LPFC_DRVR_TIMEOUT; in lpfc_gen_req()