Lines Matching refs:src_nents
88 int src_nents; member
385 dma_unmap_sg(dev, req->src, rctx->src_nents, DMA_TO_DEVICE); in kmb_ocs_sk_dma_cleanup()
457 rctx->src_nents = sg_nents_for_len(req->src, req->cryptlen); in kmb_ocs_sk_prepare_notinplace()
458 if (rctx->src_nents < 0) in kmb_ocs_sk_prepare_notinplace()
463 rctx->src_nents, DMA_TO_DEVICE); in kmb_ocs_sk_prepare_notinplace()
692 dma_unmap_sg(dev, req->src, rctx->src_nents, DMA_TO_DEVICE); in kmb_ocs_aead_dma_cleanup()
733 rctx->src_nents = sg_nents_for_len(req->src, in kmb_ocs_aead_dma_prepare()
735 if (rctx->src_nents < 0) in kmb_ocs_aead_dma_prepare()
761 sg_pcopy_to_buffer(req->src, rctx->src_nents, rctx->in_tag, in kmb_ocs_aead_dma_prepare()
855 rctx->src_nents, DMA_TO_DEVICE); in kmb_ocs_aead_dma_prepare()
856 if (rctx->src_dma_count == 0 && rctx->src_nents != 0) { in kmb_ocs_aead_dma_prepare()