Lines Matching refs:qm_sg_dma

148 		       enum dma_data_direction iv_dir, dma_addr_t qm_sg_dma,  in caam_unmap()  argument
164 dma_unmap_single(dev, qm_sg_dma, qm_sg_bytes, DMA_TO_DEVICE); in caam_unmap()
362 dma_addr_t qm_sg_dma, iv_dma = 0; in aead_edesc_alloc() local
530 qm_sg_dma = dma_map_single(dev, sg_table, qm_sg_bytes, DMA_TO_DEVICE); in aead_edesc_alloc()
531 if (dma_mapping_error(dev, qm_sg_dma)) { in aead_edesc_alloc()
540 edesc->qm_sg_dma = qm_sg_dma; in aead_edesc_alloc()
550 dpaa2_fl_set_addr(in_fle, qm_sg_dma); in aead_edesc_alloc()
559 dpaa2_fl_set_addr(out_fle, qm_sg_dma + in aead_edesc_alloc()
575 dpaa2_fl_set_addr(out_fle, qm_sg_dma + qm_sg_index * in aead_edesc_alloc()
1225 edesc->qm_sg_dma = dma_map_single(dev, sg_table, edesc->qm_sg_bytes, in skcipher_edesc_alloc()
1227 if (dma_mapping_error(dev, edesc->qm_sg_dma)) { in skcipher_edesc_alloc()
1241 dpaa2_fl_set_addr(in_fle, edesc->qm_sg_dma); in skcipher_edesc_alloc()
1246 dpaa2_fl_set_addr(out_fle, edesc->qm_sg_dma + in skcipher_edesc_alloc()
1249 dpaa2_fl_set_addr(out_fle, edesc->qm_sg_dma + dst_sg_idx * in skcipher_edesc_alloc()
1262 edesc->iv_dma, ivsize, DMA_TO_DEVICE, edesc->qm_sg_dma, in aead_unmap()
1274 edesc->iv_dma, ivsize, DMA_BIDIRECTIONAL, edesc->qm_sg_dma, in skcipher_unmap()
3361 dma_unmap_single(dev, edesc->qm_sg_dma, edesc->qm_sg_bytes, in ahash_unmap()
3587 edesc->qm_sg_dma = dma_map_single(ctx->dev, sg_table, in ahash_update_ctx()
3589 if (dma_mapping_error(ctx->dev, edesc->qm_sg_dma)) { in ahash_update_ctx()
3599 dpaa2_fl_set_addr(in_fle, edesc->qm_sg_dma); in ahash_update_ctx()
3669 edesc->qm_sg_dma = dma_map_single(ctx->dev, sg_table, qm_sg_bytes, in ahash_final_ctx()
3671 if (dma_mapping_error(ctx->dev, edesc->qm_sg_dma)) { in ahash_final_ctx()
3681 dpaa2_fl_set_addr(in_fle, edesc->qm_sg_dma); in ahash_final_ctx()
3763 edesc->qm_sg_dma = dma_map_single(ctx->dev, sg_table, qm_sg_bytes, in ahash_finup_ctx()
3765 if (dma_mapping_error(ctx->dev, edesc->qm_sg_dma)) { in ahash_finup_ctx()
3775 dpaa2_fl_set_addr(in_fle, edesc->qm_sg_dma); in ahash_finup_ctx()
3848 edesc->qm_sg_dma = dma_map_single(ctx->dev, sg_table, in ahash_digest()
3850 if (dma_mapping_error(ctx->dev, edesc->qm_sg_dma)) { in ahash_digest()
3856 dpaa2_fl_set_addr(in_fle, edesc->qm_sg_dma); in ahash_digest()
4027 edesc->qm_sg_dma = dma_map_single(ctx->dev, sg_table, in ahash_update_no_ctx()
4029 if (dma_mapping_error(ctx->dev, edesc->qm_sg_dma)) { in ahash_update_no_ctx()
4049 dpaa2_fl_set_addr(in_fle, edesc->qm_sg_dma); in ahash_update_no_ctx()
4138 edesc->qm_sg_dma = dma_map_single(ctx->dev, sg_table, qm_sg_bytes, in ahash_finup_no_ctx()
4140 if (dma_mapping_error(ctx->dev, edesc->qm_sg_dma)) { in ahash_finup_no_ctx()
4160 dpaa2_fl_set_addr(in_fle, edesc->qm_sg_dma); in ahash_finup_no_ctx()
4247 edesc->qm_sg_dma = dma_map_single(ctx->dev, sg_table, in ahash_update_first()
4250 if (dma_mapping_error(ctx->dev, edesc->qm_sg_dma)) { in ahash_update_first()
4257 dpaa2_fl_set_addr(in_fle, edesc->qm_sg_dma); in ahash_update_first()