Home
last modified time | relevance | path

Searched refs:sg_dst_len (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/crypto/ux500/cryp/
Dcryp.h214 int sg_dst_len; member
Dcryp_core.c558 ctx->device->dma.sg_dst_len = dma_map_sg(channel->device->dev, in cryp_set_dma_transfer()
563 if (!ctx->device->dma.sg_dst_len) { in cryp_set_dma_transfer()
575 ctx->device->dma.sg_dst_len, in cryp_set_dma_transfer()
616 ctx->device->dma.sg_dst_len, DMA_FROM_DEVICE); in cryp_dma_done()
/Linux-v5.10/drivers/crypto/ccp/
Dccp-ops.c343 unsigned int sg_src_len, sg_dst_len, op_len; in ccp_prepare_data() local
354 sg_dst_len = sg_dma_len(dst->sg_wa.dma_sg) - dst->sg_wa.sg_used; in ccp_prepare_data()
355 sg_dst_len = min_t(u64, src->sg_wa.bytes_left, sg_dst_len); in ccp_prepare_data()
356 op_len = min(sg_src_len, sg_dst_len); in ccp_prepare_data()
392 if (sg_dst_len < block_size) { in ccp_prepare_data()