Home
last modified time | relevance | path

Searched refs:crc_ctx_pkt (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_iocb.c1213 struct crc_context *crc_ctx_pkt = NULL; in qla24xx_build_scsi_crc_2_iocbs() local
1253 crc_ctx_pkt = sp->u.scmd.ctx = in qla24xx_build_scsi_crc_2_iocbs()
1256 if (!crc_ctx_pkt) in qla24xx_build_scsi_crc_2_iocbs()
1259 crc_ctx_pkt->crc_ctx_dma = crc_ctx_dma; in qla24xx_build_scsi_crc_2_iocbs()
1264 crc_ctx_pkt->handle = cmd_pkt->handle; in qla24xx_build_scsi_crc_2_iocbs()
1266 INIT_LIST_HEAD(&crc_ctx_pkt->dsd_list); in qla24xx_build_scsi_crc_2_iocbs()
1269 &crc_ctx_pkt->ref_tag, tot_prot_dsds); in qla24xx_build_scsi_crc_2_iocbs()
1288 fcp_cmnd = &crc_ctx_pkt->fcp_cmnd; in qla24xx_build_scsi_crc_2_iocbs()
1344 cur_dsd = (uint32_t *) &crc_ctx_pkt->u.nobundling.data_address; in qla24xx_build_scsi_crc_2_iocbs()
1351 crc_ctx_pkt->u.bundling.dif_byte_count = cpu_to_le32(dif_bytes); in qla24xx_build_scsi_crc_2_iocbs()
[all …]
Dqla_target.c2947 struct crc_context *crc_ctx_pkt = NULL; in qlt_build_ctio_crc2_pkt() local
3074 crc_ctx_pkt = cmd->ctx = in qlt_build_ctio_crc2_pkt()
3077 if (!crc_ctx_pkt) in qlt_build_ctio_crc2_pkt()
3080 crc_ctx_pkt->crc_ctx_dma = crc_ctx_dma; in qlt_build_ctio_crc2_pkt()
3081 INIT_LIST_HEAD(&crc_ctx_pkt->dsd_list); in qlt_build_ctio_crc2_pkt()
3084 crc_ctx_pkt->handle = pkt->handle; in qlt_build_ctio_crc2_pkt()
3086 qla_tgt_set_dif_tags(cmd, crc_ctx_pkt, &fw_prot_opts); in qlt_build_ctio_crc2_pkt()
3093 cur_dsd = (uint32_t *) &crc_ctx_pkt->u.nobundling.data_address; in qlt_build_ctio_crc2_pkt()
3100 crc_ctx_pkt->u.bundling.dif_byte_count = cpu_to_le32(dif_bytes); in qlt_build_ctio_crc2_pkt()
3101 crc_ctx_pkt->u.bundling.dseg_count = in qlt_build_ctio_crc2_pkt()
[all …]