Home
last modified time | relevance | path

Searched refs:result_sg (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/crypto/qce/
H A Dcipher.h40 struct scatterlist result_sg; member
H A Dsha.c54 dma_unmap_sg(qce->dev, &rctx->result_sg, 1, DMA_FROM_DEVICE); in qce_ahash_done()
103 sg_init_one(&rctx->result_sg, qce->dma.result_buf, QCE_RESULT_BUF_SZ); in qce_ahash_async_req_handle()
105 ret = dma_map_sg(qce->dev, &rctx->result_sg, 1, DMA_FROM_DEVICE); in qce_ahash_async_req_handle()
112 &rctx->result_sg, 1, qce_ahash_done, async_req); in qce_ahash_async_req_handle()
127 dma_unmap_sg(qce->dev, &rctx->result_sg, 1, DMA_FROM_DEVICE); in qce_ahash_async_req_handle()
H A Dsha.h58 struct scatterlist result_sg; member
H A Daead.h32 struct scatterlist result_sg; member
H A Daead.c99 sg_init_one(&rctx->result_sg, qce->dma.result_buf, QCE_RESULT_BUF_SZ); in qce_aead_prepare_result_buf()
100 return qce_sgtable_add(tbl, &rctx->result_sg, QCE_RESULT_BUF_SZ); in qce_aead_prepare_result_buf()
108 sg_init_one(&rctx->result_sg, rctx->ccmresult_buf, QCE_BAM_BURST_SIZE); in qce_aead_prepare_ccm_result_buf()
109 return qce_sgtable_add(tbl, &rctx->result_sg, QCE_BAM_BURST_SIZE); in qce_aead_prepare_ccm_result_buf()
H A Dskcipher.c108 sg_init_one(&rctx->result_sg, qce->dma.result_buf, QCE_RESULT_BUF_SZ); in qce_skcipher_async_req_handle()
116 sg = qce_sgtable_add(&rctx->dst_tbl, &rctx->result_sg, in qce_skcipher_async_req_handle()