Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/ux500/cryp/
Dcryp.h213 int sg_src_len; member
Dcryp_core.c541 ctx->device->dma.sg_src_len = dma_map_sg(channel->device->dev, in cryp_set_dma_transfer()
546 if (!ctx->device->dma.sg_src_len) { in cryp_set_dma_transfer()
558 ctx->device->dma.sg_src_len, in cryp_set_dma_transfer()
612 ctx->device->dma.sg_src_len, DMA_TO_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
339 sg_src_len = sg_dma_len(src->sg_wa.sg) - src->sg_wa.sg_used; in ccp_prepare_data()
340 sg_src_len = min_t(u64, src->sg_wa.bytes_left, sg_src_len); in ccp_prepare_data()
345 op_len = min(sg_src_len, sg_dst_len); in ccp_prepare_data()
347 op_len = sg_src_len; in ccp_prepare_data()
359 if (sg_src_len < block_size) { in ccp_prepare_data()