Lines Matching refs:crc_ctx_pkt
2266 struct crc_context *crc_ctx_pkt = NULL; in qlt_build_ctio_crc2_pkt() local
2395 crc_ctx_pkt = cmd->ctx = in qlt_build_ctio_crc2_pkt()
2398 if (!crc_ctx_pkt) in qlt_build_ctio_crc2_pkt()
2402 clr_ptr = (uint8_t *)crc_ctx_pkt; in qlt_build_ctio_crc2_pkt()
2403 memset(clr_ptr, 0, sizeof(*crc_ctx_pkt)); in qlt_build_ctio_crc2_pkt()
2405 crc_ctx_pkt->crc_ctx_dma = crc_ctx_dma; in qlt_build_ctio_crc2_pkt()
2406 INIT_LIST_HEAD(&crc_ctx_pkt->dsd_list); in qlt_build_ctio_crc2_pkt()
2409 crc_ctx_pkt->handle = pkt->handle; in qlt_build_ctio_crc2_pkt()
2411 qlt_set_t10dif_tags(se_cmd, crc_ctx_pkt); in qlt_build_ctio_crc2_pkt()
2419 cur_dsd = (uint32_t *) &crc_ctx_pkt->u.nobundling.data_address; in qlt_build_ctio_crc2_pkt()
2426 crc_ctx_pkt->u.bundling.dif_byte_count = cpu_to_le32(dif_bytes); in qlt_build_ctio_crc2_pkt()
2427 crc_ctx_pkt->u.bundling.dseg_count = in qlt_build_ctio_crc2_pkt()
2429 cur_dsd = (uint32_t *) &crc_ctx_pkt->u.bundling.data_address; in qlt_build_ctio_crc2_pkt()
2433 crc_ctx_pkt->blk_size = cpu_to_le16(cmd->blk_sz); in qlt_build_ctio_crc2_pkt()
2434 crc_ctx_pkt->prot_opts = cpu_to_le16(fw_prot_opts); in qlt_build_ctio_crc2_pkt()
2435 crc_ctx_pkt->byte_count = cpu_to_le32(data_bytes); in qlt_build_ctio_crc2_pkt()
2436 crc_ctx_pkt->guard_seed = cpu_to_le16(0); in qlt_build_ctio_crc2_pkt()
2454 cur_dsd = (uint32_t *) &crc_ctx_pkt->u.bundling.dif_address; in qlt_build_ctio_crc2_pkt()