Lines Matching refs:src_nents
793 * @src_nents: number of segments in input scatterlist
800 * if decrypting (with authcheck), or either one of src_nents or dst_nents
805 int src_nents;
843 unsigned int src_nents = edesc->src_nents ? : 1;
850 dma_unmap_sg(dev, src, src_nents, DMA_TO_DEVICE);
864 dma_unmap_sg(dev, src, src_nents, DMA_BIDIRECTIONAL);
905 icvdata = &edesc->link_tbl[edesc->src_nents +
935 icvdata = &edesc->link_tbl[edesc->src_nents +
1050 sg_count = talitos_map_sg(dev, areq->src, edesc->src_nents ? : 1,
1092 &edesc->link_tbl[edesc->src_nents + 1];
1095 (edesc->src_nents + 1) *
1110 (edesc->src_nents + edesc->dst_nents + 2) *
1220 int src_nents, dst_nents, alloc_len, dma_len;
1230 src_nents = sg_count(src, cryptlen + authsize, &src_chained);
1231 src_nents = (src_nents == 1) ? 0 : src_nents;
1237 dst_nents = src_nents;
1251 if (src_nents || dst_nents) {
1252 dma_len = (src_nents + dst_nents + 2) *
1266 edesc->src_nents = src_nents;
1325 ((!edesc->src_nents && !edesc->dst_nents) ||
1346 icvdata = &edesc->link_tbl[edesc->src_nents +
1351 sg = sg_last(req->src, edesc->src_nents ? : 1);
1470 sg_count = talitos_map_sg(dev, areq->src, edesc->src_nents ? : 1,
1507 &edesc->link_tbl[edesc->src_nents + 1];
1510 (edesc->src_nents + 1) *
1668 edesc->src_nents ? : 1,