• Home
  • Raw
  • Download

Lines Matching refs:src_nents

535 	int src_nents;  member
548 if (edesc->src_nents) in ahash_unmap()
549 dma_unmap_sg(dev, req->src, edesc->src_nents, DMA_TO_DEVICE); in ahash_unmap()
824 int src_nents, mapped_nents, sec4_sg_bytes, sec4_sg_src_index; in ahash_update_ctx() local
846 src_nents = sg_nents_for_len(req->src, src_len); in ahash_update_ctx()
847 if (src_nents < 0) { in ahash_update_ctx()
849 return src_nents; in ahash_update_ctx()
852 if (src_nents) { in ahash_update_ctx()
853 mapped_nents = dma_map_sg(jrdev, req->src, src_nents, in ahash_update_ctx()
874 dma_unmap_sg(jrdev, req->src, src_nents, DMA_TO_DEVICE); in ahash_update_ctx()
878 edesc->src_nents = src_nents; in ahash_update_ctx()
1007 int src_nents, mapped_nents; in ahash_finup_ctx() local
1012 src_nents = sg_nents_for_len(req->src, req->nbytes); in ahash_finup_ctx()
1013 if (src_nents < 0) { in ahash_finup_ctx()
1015 return src_nents; in ahash_finup_ctx()
1018 if (src_nents) { in ahash_finup_ctx()
1019 mapped_nents = dma_map_sg(jrdev, req->src, src_nents, in ahash_finup_ctx()
1035 dma_unmap_sg(jrdev, req->src, src_nents, DMA_TO_DEVICE); in ahash_finup_ctx()
1041 edesc->src_nents = src_nents; in ahash_finup_ctx()
1080 int src_nents, mapped_nents; in ahash_digest() local
1086 src_nents = sg_nents_for_len(req->src, req->nbytes); in ahash_digest()
1087 if (src_nents < 0) { in ahash_digest()
1089 return src_nents; in ahash_digest()
1092 if (src_nents) { in ahash_digest()
1093 mapped_nents = dma_map_sg(jrdev, req->src, src_nents, in ahash_digest()
1107 dma_unmap_sg(jrdev, req->src, src_nents, DMA_TO_DEVICE); in ahash_digest()
1111 edesc->src_nents = src_nents; in ahash_digest()
1199 int sec4_sg_bytes, src_nents, mapped_nents; in ahash_update_no_ctx() local
1222 src_nents = sg_nents_for_len(req->src, src_len); in ahash_update_no_ctx()
1223 if (src_nents < 0) { in ahash_update_no_ctx()
1225 return src_nents; in ahash_update_no_ctx()
1228 if (src_nents) { in ahash_update_no_ctx()
1229 mapped_nents = dma_map_sg(jrdev, req->src, src_nents, in ahash_update_no_ctx()
1250 dma_unmap_sg(jrdev, req->src, src_nents, DMA_TO_DEVICE); in ahash_update_no_ctx()
1254 edesc->src_nents = src_nents; in ahash_update_no_ctx()
1317 int sec4_sg_bytes, sec4_sg_src_index, src_nents, mapped_nents; in ahash_finup_no_ctx() local
1322 src_nents = sg_nents_for_len(req->src, req->nbytes); in ahash_finup_no_ctx()
1323 if (src_nents < 0) { in ahash_finup_no_ctx()
1325 return src_nents; in ahash_finup_no_ctx()
1328 if (src_nents) { in ahash_finup_no_ctx()
1329 mapped_nents = dma_map_sg(jrdev, req->src, src_nents, in ahash_finup_no_ctx()
1347 dma_unmap_sg(jrdev, req->src, src_nents, DMA_TO_DEVICE); in ahash_finup_no_ctx()
1353 edesc->src_nents = src_nents; in ahash_finup_no_ctx()
1397 int src_nents, mapped_nents; in ahash_update_first() local
1416 src_nents = sg_nents_for_len(req->src, in ahash_update_first()
1418 if (src_nents < 0) { in ahash_update_first()
1420 return src_nents; in ahash_update_first()
1423 if (src_nents) { in ahash_update_first()
1424 mapped_nents = dma_map_sg(jrdev, req->src, src_nents, in ahash_update_first()
1443 dma_unmap_sg(jrdev, req->src, src_nents, DMA_TO_DEVICE); in ahash_update_first()
1447 edesc->src_nents = src_nents; in ahash_update_first()