Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_ct.c93 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()
[all …]
Dlpfc_els.c158 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()
[all …]
Dlpfc_bsg.c1268 IOCB_t *icmd; in lpfc_issue_ct_rsp() local
1291 icmd = &ctiocb->iocb; in lpfc_issue_ct_rsp()
1292 icmd->un.xseq64.bdl.ulpIoTag32 = 0; in lpfc_issue_ct_rsp()
1293 icmd->un.xseq64.bdl.addrHigh = putPaddrHigh(bmp->phys); in lpfc_issue_ct_rsp()
1294 icmd->un.xseq64.bdl.addrLow = putPaddrLow(bmp->phys); in lpfc_issue_ct_rsp()
1295 icmd->un.xseq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; in lpfc_issue_ct_rsp()
1296 icmd->un.xseq64.bdl.bdeSize = (num_entry * sizeof(struct ulp_bde64)); in lpfc_issue_ct_rsp()
1297 icmd->un.xseq64.w5.hcsw.Fctl = (LS | LA); in lpfc_issue_ct_rsp()
1298 icmd->un.xseq64.w5.hcsw.Dfctl = 0; in lpfc_issue_ct_rsp()
1299 icmd->un.xseq64.w5.hcsw.Rctl = FC_RCTL_DD_SOL_CTL; in lpfc_issue_ct_rsp()
[all …]
Dlpfc_sli.c6281 IOCB_t *icmd; in lpfc_sli4_bpl2sgl() local
6291 icmd = &piocbq->iocb; in lpfc_sli4_bpl2sgl()
6292 if (icmd->un.genreq64.bdl.bdeFlags == BUFF_TYPE_BLP_64) { in lpfc_sli4_bpl2sgl()
6293 numBdes = icmd->un.genreq64.bdl.bdeSize / in lpfc_sli4_bpl2sgl()
6337 } else if (icmd->un.genreq64.bdl.bdeFlags == BUFF_TYPE_BDE_64) { in lpfc_sli4_bpl2sgl()
6343 cpu_to_le32(icmd->un.genreq64.bdl.addrHigh); in lpfc_sli4_bpl2sgl()
6345 cpu_to_le32(icmd->un.genreq64.bdl.addrLow); in lpfc_sli4_bpl2sgl()
6349 cpu_to_le32(icmd->un.genreq64.bdl.bdeSize); in lpfc_sli4_bpl2sgl()
6972 IOCB_t *icmd; in lpfc_sli_async_event_handler() local
6979 icmd = &iocbq->iocb; in lpfc_sli_async_event_handler()
[all …]
Dlpfc_nportdisc.c265 IOCB_t *icmd; in lpfc_rcv_plogi() local
328 icmd = &cmdiocb->iocb; in lpfc_rcv_plogi()
374 vport->fc_myDID = icmd->un.rcvels.parmRo; in lpfc_rcv_plogi()
393 rc = lpfc_reg_rpi(phba, vport->vpi, icmd->un.rcvels.remoteID, in lpfc_rcv_plogi()
463 IOCB_t *icmd; in lpfc_rcv_padisc() local
481 icmd = &cmdiocb->iocb; in lpfc_rcv_padisc()
482 if (icmd->ulpStatus == 0 && lpfc_check_adisc(vport, ndlp, pnn, ppn)) { in lpfc_rcv_padisc()
Dlpfc_scsi.c3230 IOCB_t *cmd, *icmd; in DEF_SCSI_QCMD() local
3273 icmd = &abtsiocb->iocb; in DEF_SCSI_QCMD()
3274 icmd->un.acxri.abortType = ABORT_TYPE_ABTS; in DEF_SCSI_QCMD()
3275 icmd->un.acxri.abortContextTag = cmd->ulpContext; in DEF_SCSI_QCMD()
3277 icmd->un.acxri.abortIoTag = iocb->sli4_xritag; in DEF_SCSI_QCMD()
3279 icmd->un.acxri.abortIoTag = cmd->ulpIoTag; in DEF_SCSI_QCMD()
3281 icmd->ulpLe = 1; in DEF_SCSI_QCMD()
3282 icmd->ulpClass = cmd->ulpClass; in DEF_SCSI_QCMD()
3289 icmd->ulpCommand = CMD_ABORT_XRI_CN; in DEF_SCSI_QCMD()
3291 icmd->ulpCommand = CMD_CLOSE_XRI_CN; in DEF_SCSI_QCMD()
Dlpfc_hbadisc.c4003 IOCB_t *icmd = &iocb->iocb; in lpfc_check_sli_ndlp() local
4010 switch (icmd->ulpCommand) { in lpfc_check_sli_ndlp()
4015 if (icmd->un.elsreq64.remoteID == ndlp->nlp_DID) in lpfc_check_sli_ndlp()
4029 if (icmd->ulpContext == (volatile ushort)ndlp->nlp_rpi) { in lpfc_check_sli_ndlp()
4720 IOCB_t *icmd; in lpfc_free_tx() local
4735 icmd = &iocb->iocb; in lpfc_free_tx()
4736 if ((icmd->ulpCommand == CMD_ELS_REQUEST64_CR) || in lpfc_free_tx()
4737 (icmd->ulpCommand == CMD_XMIT_ELS_RSP64_CX)) { in lpfc_free_tx()
4749 icmd = &iocb->iocb; in lpfc_free_tx()
4750 if (icmd->ulpCommand == CMD_ELS_REQUEST64_CR || in lpfc_free_tx()
[all …]
Dlpfc_init.c1971 IOCB_t *icmd; in lpfc_post_buffer() local
1985 icmd = &iocb->iocb; in lpfc_post_buffer()
2020 icmd->un.cont64[0].addrHigh = putPaddrHigh(mp1->phys); in lpfc_post_buffer()
2021 icmd->un.cont64[0].addrLow = putPaddrLow(mp1->phys); in lpfc_post_buffer()
2022 icmd->un.cont64[0].tus.f.bdeSize = FCELSSIZE; in lpfc_post_buffer()
2023 icmd->ulpBdeCount = 1; in lpfc_post_buffer()
2026 icmd->un.cont64[1].addrHigh = putPaddrHigh(mp2->phys); in lpfc_post_buffer()
2027 icmd->un.cont64[1].addrLow = putPaddrLow(mp2->phys); in lpfc_post_buffer()
2028 icmd->un.cont64[1].tus.f.bdeSize = FCELSSIZE; in lpfc_post_buffer()
2030 icmd->ulpBdeCount = 2; in lpfc_post_buffer()
[all …]
/linux-2.6.39/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()
/linux-2.6.39/drivers/misc/sgi-gru/
Dgru_instructions.h98 unsigned int icmd: 1; member
624 unsigned int icmd :1; member
Dgrukservices.c476 gen->icmd = 1; in gru_retry_exception()
/linux-2.6.39/drivers/gpu/drm/nouveau/
Dnvc0_grctx.c31 nv_icmd(struct drm_device *dev, u32 icmd, u32 data) in nv_icmd() argument
34 nv_wr32(dev, 0x400200, icmd); in nv_icmd()