Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_els.c162 IOCB_t *icmd; in lpfc_prep_els_iocb() local
203 icmd = &elsiocb->iocb; in lpfc_prep_els_iocb()
238 icmd->un.elsreq64.bdl.addrHigh = putPaddrHigh(pbuflist->phys); in lpfc_prep_els_iocb()
239 icmd->un.elsreq64.bdl.addrLow = putPaddrLow(pbuflist->phys); in lpfc_prep_els_iocb()
240 icmd->un.elsreq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; in lpfc_prep_els_iocb()
241 icmd->un.elsreq64.bdl.bdeSize = (2 * sizeof(struct ulp_bde64)); in lpfc_prep_els_iocb()
243 icmd->un.elsreq64.remoteID = did; /* DID */ in lpfc_prep_els_iocb()
244 icmd->ulpCommand = CMD_ELS_REQUEST64_CR; in lpfc_prep_els_iocb()
246 icmd->ulpTimeout = FF_DEF_RATOV * 2; in lpfc_prep_els_iocb()
248 icmd->ulpTimeout = phba->fc_ratov; in lpfc_prep_els_iocb()
[all …]
Dlpfc_ct.c108 IOCB_t *icmd = &piocbq->iocb; in lpfc_ct_unsol_event() local
119 if (unlikely(icmd->ulpStatus == IOSTAT_NEED_BUFFER)) { in lpfc_ct_unsol_event()
121 } else if ((icmd->ulpStatus == IOSTAT_LOCAL_REJECT) && in lpfc_ct_unsol_event()
122 ((icmd->un.ulpWord[4] & IOERR_PARAM_MASK) == in lpfc_ct_unsol_event()
134 if (icmd->ulpBdeCount == 0) in lpfc_ct_unsol_event()
141 icmd = &iocbq->iocb; in lpfc_ct_unsol_event()
142 if (icmd->ulpBdeCount == 0) in lpfc_ct_unsol_event()
146 size = icmd->un.cont64[0].tus.f.bdeSize; in lpfc_ct_unsol_event()
149 if (icmd->ulpBdeCount == 2) { in lpfc_ct_unsol_event()
152 size = icmd->unsli3.rcvsli3.bde2.tus.f.bdeSize; in lpfc_ct_unsol_event()
[all …]
Dlpfc_bsg.c1485 IOCB_t *icmd; in lpfc_issue_ct_rsp() local
1509 icmd = &ctiocb->iocb; in lpfc_issue_ct_rsp()
1510 icmd->un.xseq64.bdl.ulpIoTag32 = 0; in lpfc_issue_ct_rsp()
1511 icmd->un.xseq64.bdl.addrHigh = putPaddrHigh(bmp->phys); in lpfc_issue_ct_rsp()
1512 icmd->un.xseq64.bdl.addrLow = putPaddrLow(bmp->phys); in lpfc_issue_ct_rsp()
1513 icmd->un.xseq64.bdl.bdeFlags = BUFF_TYPE_BLP_64; in lpfc_issue_ct_rsp()
1514 icmd->un.xseq64.bdl.bdeSize = (num_entry * sizeof(struct ulp_bde64)); in lpfc_issue_ct_rsp()
1515 icmd->un.xseq64.w5.hcsw.Fctl = (LS | LA); in lpfc_issue_ct_rsp()
1516 icmd->un.xseq64.w5.hcsw.Dfctl = 0; in lpfc_issue_ct_rsp()
1517 icmd->un.xseq64.w5.hcsw.Rctl = FC_RCTL_DD_SOL_CTL; in lpfc_issue_ct_rsp()
[all …]
Dlpfc_sli.c9174 IOCB_t *icmd; in lpfc_sli4_bpl2sgl() local
9184 icmd = &piocbq->iocb; in lpfc_sli4_bpl2sgl()
9185 if (icmd->ulpCommand == CMD_XMIT_BLS_RSP64_CX) in lpfc_sli4_bpl2sgl()
9187 if (icmd->un.genreq64.bdl.bdeFlags == BUFF_TYPE_BLP_64) { in lpfc_sli4_bpl2sgl()
9188 numBdes = icmd->un.genreq64.bdl.bdeSize / in lpfc_sli4_bpl2sgl()
9238 } else if (icmd->un.genreq64.bdl.bdeFlags == BUFF_TYPE_BDE_64) { in lpfc_sli4_bpl2sgl()
9244 cpu_to_le32(icmd->un.genreq64.bdl.addrHigh); in lpfc_sli4_bpl2sgl()
9246 cpu_to_le32(icmd->un.genreq64.bdl.addrLow); in lpfc_sli4_bpl2sgl()
9251 cpu_to_le32(icmd->un.genreq64.bdl.bdeSize); in lpfc_sli4_bpl2sgl()
10232 IOCB_t *icmd; in lpfc_sli_async_event_handler() local
[all …]
Dlpfc_nportdisc.c291 IOCB_t *icmd; in lpfc_rcv_plogi() local
331 icmd = &cmdiocb->iocb; in lpfc_rcv_plogi()
403 vport->fc_myDID = icmd->un.rcvels.parmRo; in lpfc_rcv_plogi()
459 rc = lpfc_reg_rpi(phba, vport->vpi, icmd->un.rcvels.remoteID, in lpfc_rcv_plogi()
565 IOCB_t *icmd; in lpfc_rcv_padisc() local
583 icmd = &cmdiocb->iocb; in lpfc_rcv_padisc()
584 if (icmd->ulpStatus == 0 && lpfc_check_adisc(vport, ndlp, pnn, ppn)) { in lpfc_rcv_padisc()
Dlpfc_scsi.c4717 IOCB_t *cmd, *icmd; in lpfc_abort_handler() local
4812 icmd = &abtsiocb->iocb; in lpfc_abort_handler()
4813 icmd->un.acxri.abortType = ABORT_TYPE_ABTS; in lpfc_abort_handler()
4814 icmd->un.acxri.abortContextTag = cmd->ulpContext; in lpfc_abort_handler()
4816 icmd->un.acxri.abortIoTag = iocb->sli4_xritag; in lpfc_abort_handler()
4818 icmd->un.acxri.abortIoTag = cmd->ulpIoTag; in lpfc_abort_handler()
4820 icmd->ulpLe = 1; in lpfc_abort_handler()
4821 icmd->ulpClass = cmd->ulpClass; in lpfc_abort_handler()
4830 icmd->ulpCommand = CMD_ABORT_XRI_CN; in lpfc_abort_handler()
4832 icmd->ulpCommand = CMD_CLOSE_XRI_CN; in lpfc_abort_handler()
Dlpfc_hbadisc.c4691 IOCB_t *icmd = &iocb->iocb; in lpfc_check_sli_ndlp() local
4698 switch (icmd->ulpCommand) { in lpfc_check_sli_ndlp()
4704 if (icmd->un.elsreq64.remoteID == ndlp->nlp_DID) in lpfc_check_sli_ndlp()
4718 if (icmd->ulpContext == (volatile ushort)ndlp->nlp_rpi) { in lpfc_check_sli_ndlp()
5643 IOCB_t *icmd; in lpfc_free_tx() local
5659 icmd = &iocb->iocb; in lpfc_free_tx()
5660 if ((icmd->ulpCommand == CMD_ELS_REQUEST64_CR) || in lpfc_free_tx()
5661 (icmd->ulpCommand == CMD_XMIT_ELS_RSP64_CX)) { in lpfc_free_tx()
5672 icmd = &iocb->iocb; in lpfc_free_tx()
5673 if (icmd->ulpCommand == CMD_ELS_REQUEST64_CR || in lpfc_free_tx()
[all …]
Dlpfc_init.c2546 IOCB_t *icmd; in lpfc_post_buffer() local
2560 icmd = &iocb->iocb; in lpfc_post_buffer()
2595 icmd->un.cont64[0].addrHigh = putPaddrHigh(mp1->phys); in lpfc_post_buffer()
2596 icmd->un.cont64[0].addrLow = putPaddrLow(mp1->phys); in lpfc_post_buffer()
2597 icmd->un.cont64[0].tus.f.bdeSize = FCELSSIZE; in lpfc_post_buffer()
2598 icmd->ulpBdeCount = 1; in lpfc_post_buffer()
2601 icmd->un.cont64[1].addrHigh = putPaddrHigh(mp2->phys); in lpfc_post_buffer()
2602 icmd->un.cont64[1].addrLow = putPaddrLow(mp2->phys); in lpfc_post_buffer()
2603 icmd->un.cont64[1].tus.f.bdeSize = FCELSSIZE; in lpfc_post_buffer()
2605 icmd->ulpBdeCount = 2; in lpfc_post_buffer()
[all …]
/Linux-v5.4/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-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxgf104.c91 .icmd = gf100_grctx_pack_icmd,
Dctxgk110b.c82 .icmd = gk110_grctx_pack_icmd,
Dctxgf110.c339 .icmd = gf110_grctx_pack_icmd,
Dctxgf119.c507 .icmd = gf119_grctx_pack_icmd,
Dctxgk208.c548 .icmd = gk208_grctx_pack_icmd,
Dctxgk110.c833 .icmd = gk110_grctx_pack_icmd,
Dctxgf108.c792 .icmd = gf108_grctx_pack_icmd,
Dctxgf117.c291 .icmd = gf119_grctx_pack_icmd,
Dctxgm107.c973 .icmd = gm107_grctx_pack_icmd,
Dctxgk104.c986 .icmd = gk104_grctx_pack_icmd,
Dctxgf100.h37 const struct gf100_gr_pack *icmd; member
Dctxgf100.c1407 gf100_gr_icmd(gr, grctx->icmd); in gf100_grctx_generate_main()
1590 .icmd = gf100_grctx_pack_icmd,
/Linux-v5.4/drivers/block/mtip32xx/
Dmtip32xx.h313 struct mtip_int_cmd *icmd; member
Dmtip32xx.c968 struct mtip_int_cmd icmd = { in mtip_exec_internal_command() local
1011 int_cmd->icmd = &icmd; in mtip_exec_internal_command()
3451 struct mtip_int_cmd *icmd = cmd->icmd; in mtip_issue_reserved_cmd() local
3463 hdr->opts = cpu_to_le32(icmd->opts | icmd->fis_len); in mtip_issue_reserved_cmd()
3464 if (icmd->buf_len) { in mtip_issue_reserved_cmd()
3467 command_sg->info = cpu_to_le32((icmd->buf_len-1) & 0x3FFFFF); in mtip_issue_reserved_cmd()
3468 command_sg->dba = cpu_to_le32(icmd->buffer & 0xFFFFFFFF); in mtip_issue_reserved_cmd()
3470 cpu_to_le32((icmd->buffer >> 16) >> 16); in mtip_issue_reserved_cmd()
/Linux-v5.4/drivers/misc/sgi-gru/
Dgru_instructions.h99 unsigned int icmd: 1; member
625 unsigned int icmd :1; member
Dgrukservices.c469 gen->icmd = 1; in gru_retry_exception()