Lines Matching refs:crc_ctx_pkt
3007 struct crc_context *crc_ctx_pkt = NULL; in qlt_build_ctio_crc2_pkt() local
3132 crc_ctx_pkt = cmd->ctx = in qlt_build_ctio_crc2_pkt()
3135 if (!crc_ctx_pkt) in qlt_build_ctio_crc2_pkt()
3138 crc_ctx_pkt->crc_ctx_dma = crc_ctx_dma; in qlt_build_ctio_crc2_pkt()
3139 INIT_LIST_HEAD(&crc_ctx_pkt->dsd_list); in qlt_build_ctio_crc2_pkt()
3142 crc_ctx_pkt->handle = pkt->handle; in qlt_build_ctio_crc2_pkt()
3144 qla_tgt_set_dif_tags(cmd, crc_ctx_pkt, &fw_prot_opts); in qlt_build_ctio_crc2_pkt()
3150 cur_dsd = &crc_ctx_pkt->u.nobundling.data_dsd[0]; in qlt_build_ctio_crc2_pkt()
3157 crc_ctx_pkt->u.bundling.dif_byte_count = cpu_to_le32(dif_bytes); in qlt_build_ctio_crc2_pkt()
3158 crc_ctx_pkt->u.bundling.dseg_count = in qlt_build_ctio_crc2_pkt()
3160 cur_dsd = &crc_ctx_pkt->u.bundling.data_dsd[0]; in qlt_build_ctio_crc2_pkt()
3164 crc_ctx_pkt->blk_size = cpu_to_le16(cmd->blk_sz); in qlt_build_ctio_crc2_pkt()
3165 crc_ctx_pkt->prot_opts = cpu_to_le16(fw_prot_opts); in qlt_build_ctio_crc2_pkt()
3166 crc_ctx_pkt->byte_count = cpu_to_le32(data_bytes); in qlt_build_ctio_crc2_pkt()
3167 crc_ctx_pkt->guard_seed = cpu_to_le16(0); in qlt_build_ctio_crc2_pkt()
3175 tc.ctx = crc_ctx_pkt; in qlt_build_ctio_crc2_pkt()
3193 cur_dsd = &crc_ctx_pkt->u.bundling.dif_dsd; in qlt_build_ctio_crc2_pkt()