Lines Matching refs:crc_ctx_pkt
968 struct crc_context *crc_ctx_pkt = NULL;
1014 crc_ctx_pkt = sp->ctx = dma_pool_alloc(ha->dl_dma_pool,
1017 if (!crc_ctx_pkt)
1021 clr_ptr = (uint8_t *)crc_ctx_pkt;
1022 memset(clr_ptr, 0, sizeof(*crc_ctx_pkt));
1024 crc_ctx_pkt->crc_ctx_dma = crc_ctx_dma;
1029 crc_ctx_pkt->handle = cmd_pkt->handle;
1031 INIT_LIST_HEAD(&crc_ctx_pkt->dsd_list);
1034 &crc_ctx_pkt->ref_tag, tot_prot_dsds);
1055 fcp_cmnd = &crc_ctx_pkt->fcp_cmnd;
1094 cur_dsd = (uint32_t *) &crc_ctx_pkt->u.nobundling.data_address;
1101 crc_ctx_pkt->u.bundling.dif_byte_count = cpu_to_le32(dif_bytes);
1102 crc_ctx_pkt->u.bundling.dseg_count = cpu_to_le16(tot_dsds -
1104 cur_dsd = (uint32_t *) &crc_ctx_pkt->u.bundling.data_address;
1108 crc_ctx_pkt->blk_size = cpu_to_le16(blk_size);
1109 crc_ctx_pkt->prot_opts = cpu_to_le16(fw_prot_opts);
1110 crc_ctx_pkt->byte_count = cpu_to_le32(data_bytes);
1111 crc_ctx_pkt->guard_seed = __constant_cpu_to_le16(0);
1114 fcp_dl = (uint32_t *)(crc_ctx_pkt->fcp_cmnd.cdb + 16 +
1121 crc_ctx_pkt->blk_size, crc_ctx_pkt->blk_size));
1142 cur_dsd = (uint32_t *) &crc_ctx_pkt->u.bundling.dif_address;