Home
last modified time | relevance | path

Searched refs:dir_src (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/crypto/qce/
H A Dskcipher.c35 enum dma_data_direction dir_src, dir_dst; in qce_skcipher_done() local
41 dir_src = diff_dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL; in qce_skcipher_done()
50 dma_unmap_sg(qce->dev, rctx->src_sg, rctx->src_nents, dir_src); in qce_skcipher_done()
71 enum dma_data_direction dir_src, dir_dst; in qce_skcipher_async_req_handle() local
82 dir_src = diff_dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL; in qce_skcipher_async_req_handle()
133 src_nents = dma_map_sg(qce->dev, req->src, rctx->src_nents, dir_src); in qce_skcipher_async_req_handle()
162 dma_unmap_sg(qce->dev, req->src, rctx->src_nents, dir_src); in qce_skcipher_async_req_handle()
H A Daead.c32 enum dma_data_direction dir_src, dir_dst; in qce_aead_done() local
41 dir_src = diff_dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL; in qce_aead_done()
49 dma_unmap_sg(qce->dev, rctx->src_sg, rctx->src_nents, dir_src); in qce_aead_done()
416 enum dma_data_direction dir_src, dir_dst; in qce_aead_async_req_handle() local
437 dir_src = diff_dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL; in qce_aead_async_req_handle()
459 src_nents = dma_map_sg(qce->dev, rctx->src_sg, rctx->src_nents, dir_src); in qce_aead_async_req_handle()
488 dma_unmap_sg(qce->dev, req->src, rctx->src_nents, dir_src); in qce_aead_async_req_handle()