Home
last modified time | relevance | path

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

/drivers/crypto/qce/
Dskcipher.c35 enum dma_data_direction dir_src, dir_dst; in qce_skcipher_done() local
42 dir_dst = diff_dst ? DMA_FROM_DEVICE : DMA_BIDIRECTIONAL; in qce_skcipher_done()
51 dma_unmap_sg(qce->dev, rctx->dst_sg, rctx->dst_nents, dir_dst); in qce_skcipher_done()
71 enum dma_data_direction dir_src, dir_dst; in qce_skcipher_async_req_handle() local
83 dir_dst = diff_dst ? DMA_FROM_DEVICE : DMA_BIDIRECTIONAL; in qce_skcipher_async_req_handle()
126 dst_nents = dma_map_sg(qce->dev, rctx->dst_sg, rctx->dst_nents, dir_dst); in qce_skcipher_async_req_handle()
164 dma_unmap_sg(qce->dev, rctx->dst_sg, rctx->dst_nents, dir_dst); in qce_skcipher_async_req_handle()
Daead.c32 enum dma_data_direction dir_src, dir_dst; in qce_aead_done() local
42 dir_dst = diff_dst ? DMA_FROM_DEVICE : DMA_BIDIRECTIONAL; in qce_aead_done()
51 dma_unmap_sg(qce->dev, rctx->dst_sg, rctx->dst_nents, dir_dst); in qce_aead_done()
416 enum dma_data_direction dir_src, dir_dst; in qce_aead_async_req_handle() local
438 dir_dst = diff_dst ? DMA_FROM_DEVICE : DMA_BIDIRECTIONAL; in qce_aead_async_req_handle()
452 dst_nents = dma_map_sg(qce->dev, rctx->dst_sg, rctx->dst_nents, dir_dst); in qce_aead_async_req_handle()
490 dma_unmap_sg(qce->dev, rctx->dst_sg, rctx->dst_nents, dir_dst); in qce_aead_async_req_handle()