Searched refs:nr_src (Results 1 – 1 of 1) sorted by relevance
/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 75 int nr_src, nr_dst; member 645 dma_unmap_sg(priv->dev, src, sreq->nr_src, DMA_BIDIRECTIONAL); in safexcel_handle_req_result() 647 dma_unmap_sg(priv->dev, src, sreq->nr_src, DMA_TO_DEVICE); in safexcel_handle_req_result() 691 sreq->nr_src = sg_nents_for_len(src, totlen_src); in safexcel_send_req() 716 sg_pcopy_to_buffer(src, sreq->nr_src, areq->iv, in safexcel_send_req() 732 sreq->nr_src = max(sreq->nr_src, sreq->nr_dst); in safexcel_send_req() 733 sreq->nr_dst = sreq->nr_src; in safexcel_send_req() 735 (sreq->nr_src <= 0))) { in safexcel_send_req() 740 dma_map_sg(priv->dev, src, sreq->nr_src, DMA_BIDIRECTIONAL); in safexcel_send_req() 742 if (unlikely(totlen_src && (sreq->nr_src <= 0))) { in safexcel_send_req() [all …]
|