Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/ux500/cryp/
Dcryp.h214 int sg_dst_len; member
Dcryp_core.c565 ctx->device->dma.sg_dst_len = dma_map_sg(channel->device->dev, in cryp_set_dma_transfer()
570 if (!ctx->device->dma.sg_dst_len) { in cryp_set_dma_transfer()
582 ctx->device->dma.sg_dst_len, in cryp_set_dma_transfer()
617 ctx->device->dma.sg_dst_len, DMA_FROM_DEVICE); in cryp_dma_done()
/Linux-v4.19/drivers/crypto/ccp/
Dccp-ops.c332 unsigned int sg_src_len, sg_dst_len, op_len; in ccp_prepare_data() local
343 sg_dst_len = sg_dma_len(dst->sg_wa.sg) - dst->sg_wa.sg_used; in ccp_prepare_data()
344 sg_dst_len = min_t(u64, src->sg_wa.bytes_left, sg_dst_len); in ccp_prepare_data()
345 op_len = min(sg_src_len, sg_dst_len); in ccp_prepare_data()
381 if (sg_dst_len < block_size) { in ccp_prepare_data()