Searched refs:crc_ctx_pkt (Results 1 – 2 of 2) sorted by relevance
1400 struct crc_context *crc_ctx_pkt = NULL; in qla24xx_build_scsi_crc_2_iocbs() local1440 crc_ctx_pkt = sp->u.scmd.crc_ctx = in qla24xx_build_scsi_crc_2_iocbs()1443 if (!crc_ctx_pkt) in qla24xx_build_scsi_crc_2_iocbs()1446 crc_ctx_pkt->crc_ctx_dma = crc_ctx_dma; in qla24xx_build_scsi_crc_2_iocbs()1451 crc_ctx_pkt->handle = cmd_pkt->handle; in qla24xx_build_scsi_crc_2_iocbs()1453 INIT_LIST_HEAD(&crc_ctx_pkt->dsd_list); in qla24xx_build_scsi_crc_2_iocbs()1456 &crc_ctx_pkt->ref_tag, tot_prot_dsds); in qla24xx_build_scsi_crc_2_iocbs()1474 fcp_cmnd = &crc_ctx_pkt->fcp_cmnd; in qla24xx_build_scsi_crc_2_iocbs()1528 cur_dsd = &crc_ctx_pkt->u.nobundling.data_dsd[0]; in qla24xx_build_scsi_crc_2_iocbs()1535 crc_ctx_pkt->u.bundling.dif_byte_count = cpu_to_le32(dif_bytes); in qla24xx_build_scsi_crc_2_iocbs()[all …]
2991 struct crc_context *crc_ctx_pkt = NULL; in qlt_build_ctio_crc2_pkt() local3116 crc_ctx_pkt = cmd->ctx = in qlt_build_ctio_crc2_pkt()3119 if (!crc_ctx_pkt) in qlt_build_ctio_crc2_pkt()3122 crc_ctx_pkt->crc_ctx_dma = crc_ctx_dma; in qlt_build_ctio_crc2_pkt()3123 INIT_LIST_HEAD(&crc_ctx_pkt->dsd_list); in qlt_build_ctio_crc2_pkt()3126 crc_ctx_pkt->handle = pkt->handle; in qlt_build_ctio_crc2_pkt()3128 qla_tgt_set_dif_tags(cmd, crc_ctx_pkt, &fw_prot_opts); in qlt_build_ctio_crc2_pkt()3134 cur_dsd = &crc_ctx_pkt->u.nobundling.data_dsd[0]; in qlt_build_ctio_crc2_pkt()3141 crc_ctx_pkt->u.bundling.dif_byte_count = cpu_to_le32(dif_bytes); in qlt_build_ctio_crc2_pkt()3142 crc_ctx_pkt->u.bundling.dseg_count = in qlt_build_ctio_crc2_pkt()[all …]