Lines Matching refs:nr_dst
74 int nr_src, nr_dst; member
651 if (sreq->nr_dst > 0) in safexcel_handle_req_result()
652 dma_unmap_sg(priv->dev, dst, sreq->nr_dst, in safexcel_handle_req_result()
662 sg_pcopy_to_buffer(dst, sreq->nr_dst, areq->iv, in safexcel_handle_req_result()
727 sreq->nr_dst = sg_nents_for_len(dst, totlen_dst); in safexcel_send_req()
737 sreq->nr_src = max(sreq->nr_src, sreq->nr_dst); in safexcel_send_req()
738 sreq->nr_dst = sreq->nr_src; in safexcel_send_req()
759 if (unlikely(totlen_dst && (sreq->nr_dst <= 0))) { in safexcel_send_req()
766 if (sreq->nr_dst > 0 && in safexcel_send_req()
767 !dma_map_sg(priv->dev, dst, sreq->nr_dst, DMA_FROM_DEVICE)) { in safexcel_send_req()
832 for_each_sg(dst, sg, sreq->nr_dst, i) { in safexcel_send_req()
833 bool last = (i == sreq->nr_dst - 1); in safexcel_send_req()
909 if (sreq->nr_dst > 0) in safexcel_send_req()
910 dma_unmap_sg(priv->dev, dst, sreq->nr_dst, in safexcel_send_req()