Home
last modified time | relevance | path

Searched refs:icmd (Results 1 – 10 of 10) sorted by relevance

/drivers/scsi/lpfc/
Dlpfc_els.c156 IOCB_t *icmd; in lpfc_prep_els_iocb() local
168 icmd = &elsiocb->iocb; in lpfc_prep_els_iocb()
202 icmd->un.elsreq64.bdl.addrHigh = putPaddrHigh(pbuflist->phys); in lpfc_prep_els_iocb()
203 icmd->un.elsreq64.bdl.addrLow = putPaddrLow(pbuflist->phys); in lpfc_prep_els_iocb()
204 icmd->un.elsreq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; in lpfc_prep_els_iocb()
205 icmd->un.elsreq64.remoteID = did; /* DID */ in lpfc_prep_els_iocb()
207 icmd->un.elsreq64.bdl.bdeSize = (2 * sizeof(struct ulp_bde64)); in lpfc_prep_els_iocb()
208 icmd->ulpCommand = CMD_ELS_REQUEST64_CR; in lpfc_prep_els_iocb()
209 icmd->ulpTimeout = phba->fc_ratov * 2; in lpfc_prep_els_iocb()
211 icmd->un.elsreq64.bdl.bdeSize = sizeof(struct ulp_bde64); in lpfc_prep_els_iocb()
[all …]
Dlpfc_ct.c90 IOCB_t *icmd = &piocbq->iocb; in lpfc_ct_unsol_event() local
98 if (unlikely(icmd->ulpStatus == IOSTAT_NEED_BUFFER)) { in lpfc_ct_unsol_event()
100 } else if ((icmd->ulpStatus == IOSTAT_LOCAL_REJECT) && in lpfc_ct_unsol_event()
101 ((icmd->un.ulpWord[4] & 0xff) == IOERR_RCV_BUFFER_WAITING)) { in lpfc_ct_unsol_event()
112 if (icmd->ulpBdeCount == 0) in lpfc_ct_unsol_event()
119 icmd = &iocbq->iocb; in lpfc_ct_unsol_event()
120 if (icmd->ulpBdeCount == 0) in lpfc_ct_unsol_event()
124 size = icmd->un.cont64[0].tus.f.bdeSize; in lpfc_ct_unsol_event()
127 if (icmd->ulpBdeCount == 2) { in lpfc_ct_unsol_event()
130 size = icmd->unsli3.rcvsli3.bde2.tus.f.bdeSize; in lpfc_ct_unsol_event()
[all …]
Dlpfc_hbadisc.c2043 IOCB_t *icmd = &iocb->iocb; in lpfc_check_sli_ndlp() local
2050 switch (icmd->ulpCommand) { in lpfc_check_sli_ndlp()
2052 if (icmd->ulpContext == (volatile ushort)ndlp->nlp_rpi) in lpfc_check_sli_ndlp()
2055 if (icmd->un.elsreq64.remoteID == ndlp->nlp_DID) in lpfc_check_sli_ndlp()
2069 if (icmd->ulpContext == (volatile ushort)ndlp->nlp_rpi) { in lpfc_check_sli_ndlp()
2089 IOCB_t *icmd; in lpfc_no_rpi() local
2132 icmd = &iocb->iocb; in lpfc_no_rpi()
2133 icmd->ulpStatus = IOSTAT_LOCAL_REJECT; in lpfc_no_rpi()
2134 icmd->un.ulpWord[4] = IOERR_SLI_ABORTED; in lpfc_no_rpi()
2706 IOCB_t *icmd; in lpfc_free_tx() local
[all …]
Dlpfc_init.c1409 IOCB_t *icmd; in lpfc_post_buffer() local
1423 icmd = &iocb->iocb; in lpfc_post_buffer()
1458 icmd->un.cont64[0].addrHigh = putPaddrHigh(mp1->phys); in lpfc_post_buffer()
1459 icmd->un.cont64[0].addrLow = putPaddrLow(mp1->phys); in lpfc_post_buffer()
1460 icmd->un.cont64[0].tus.f.bdeSize = FCELSSIZE; in lpfc_post_buffer()
1461 icmd->ulpBdeCount = 1; in lpfc_post_buffer()
1464 icmd->un.cont64[1].addrHigh = putPaddrHigh(mp2->phys); in lpfc_post_buffer()
1465 icmd->un.cont64[1].addrLow = putPaddrLow(mp2->phys); in lpfc_post_buffer()
1466 icmd->un.cont64[1].tus.f.bdeSize = FCELSSIZE; in lpfc_post_buffer()
1468 icmd->ulpBdeCount = 2; in lpfc_post_buffer()
[all …]
Dlpfc_scsi.c2495 IOCB_t *cmd, *icmd; in lpfc_abort_handler() local
2529 icmd = &abtsiocb->iocb; in lpfc_abort_handler()
2530 icmd->un.acxri.abortType = ABORT_TYPE_ABTS; in lpfc_abort_handler()
2531 icmd->un.acxri.abortContextTag = cmd->ulpContext; in lpfc_abort_handler()
2532 icmd->un.acxri.abortIoTag = cmd->ulpIoTag; in lpfc_abort_handler()
2534 icmd->ulpLe = 1; in lpfc_abort_handler()
2535 icmd->ulpClass = cmd->ulpClass; in lpfc_abort_handler()
2537 icmd->ulpCommand = CMD_ABORT_XRI_CN; in lpfc_abort_handler()
2539 icmd->ulpCommand = CMD_CLOSE_XRI_CN; in lpfc_abort_handler()
Dlpfc_nportdisc.c251 IOCB_t *icmd; in lpfc_rcv_plogi() local
314 icmd = &cmdiocb->iocb; in lpfc_rcv_plogi()
355 vport->fc_myDID = icmd->un.rcvels.parmRo; in lpfc_rcv_plogi()
374 rc = lpfc_reg_login(phba, vport->vpi, icmd->un.rcvels.remoteID, in lpfc_rcv_plogi()
444 IOCB_t *icmd; in lpfc_rcv_padisc() local
462 icmd = &cmdiocb->iocb; in lpfc_rcv_padisc()
463 if (icmd->ulpStatus == 0 && lpfc_check_adisc(vport, ndlp, pnn, ppn)) { in lpfc_rcv_padisc()
Dlpfc_sli.c3905 IOCB_t *icmd; in lpfc_sli_async_event_handler() local
3911 icmd = &iocbq->iocb; in lpfc_sli_async_event_handler()
3912 evt_code = icmd->un.asyncstat.evt_code; in lpfc_sli_async_event_handler()
3913 temp = icmd->ulpContext; in lpfc_sli_async_event_handler()
3923 icmd->un.asyncstat.evt_code); in lpfc_sli_async_event_handler()
4591 IOCB_t *icmd = NULL; in lpfc_sli_issue_abort_iotag() local
4600 icmd = &cmdiocb->iocb; in lpfc_sli_issue_abort_iotag()
4601 if (icmd->ulpCommand == CMD_ABORT_XRI_CN || in lpfc_sli_issue_abort_iotag()
4602 icmd->ulpCommand == CMD_CLOSE_XRI_CN || in lpfc_sli_issue_abort_iotag()
4630 iabt->un.acxri.abortContextTag = icmd->ulpContext; in lpfc_sli_issue_abort_iotag()
[all …]
/drivers/scsi/
Dqlogicfas408.c402 struct scsi_cmnd *icmd; in ql_ihandl() local
417 icmd = priv->qlcmd; in ql_ihandl()
418 icmd->result = ql_pcmd(icmd); in ql_ihandl()
424 (icmd->scsi_done) (icmd); in ql_ihandl()
/drivers/misc/sgi-gru/
Dgru_instructions.h93 unsigned int icmd: 1; member
569 unsigned int icmd :1; member
Dgrukservices.c179 gen->icmd = 1; in gru_retry_exception()