Home
last modified time | relevance | path

Searched refs:cesa_dev (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/crypto/marvell/cesa/
H A Dcipher.c64 dma_unmap_sg(cesa_dev->dev, req->dst, creq->dst_nents, in mv_cesa_skcipher_dma_cleanup()
66 dma_unmap_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_skcipher_dma_cleanup()
69 dma_unmap_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_skcipher_dma_cleanup()
327 ret = dma_map_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_skcipher_dma_req_init()
332 ret = dma_map_sg(cesa_dev->dev, req->dst, creq->dst_nents, in mv_cesa_skcipher_dma_req_init()
339 ret = dma_map_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_skcipher_dma_req_init()
396 dma_unmap_sg(cesa_dev->dev, req->dst, creq->dst_nents, in mv_cesa_skcipher_dma_req_init()
400 dma_unmap_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_skcipher_dma_req_init()
435 dev_err(cesa_dev->dev, "Invalid number of src SG"); in mv_cesa_skcipher_req_init()
440 dev_err(cesa_dev->dev, "Invalid number of dst SG"); in mv_cesa_skcipher_req_init()
[all …]
H A Dtdma.c67 dma_pool_free(cesa_dev->dma->op_pool, tdma->op, in mv_cesa_dma_cleanup()
71 dma_pool_free(cesa_dev->dma->tdma_desc_pool, old_tdma, in mv_cesa_dma_cleanup()
197 new_tdma = dma_pool_zalloc(cesa_dev->dma->tdma_desc_pool, flags, in mv_cesa_dma_add_desc()
263 op = dma_pool_alloc(cesa_dev->dma->op_pool, flags, &dma_handle); in mv_cesa_dma_add_op()
H A Dhash.c52 req->cache = dma_pool_alloc(cesa_dev->dma->cache_pool, flags, in mv_cesa_ahash_dma_alloc_cache()
66 dma_pool_free(cesa_dev->dma->cache_pool, req->cache, in mv_cesa_ahash_dma_free_cache()
76 req->padding = dma_pool_alloc(cesa_dev->dma->padding_pool, flags, in mv_cesa_ahash_dma_alloc_padding()
89 dma_pool_free(cesa_dev->dma->padding_pool, req->padding, in mv_cesa_ahash_dma_free_padding()
105 dma_unmap_sg(cesa_dev->dev, req->src, creq->src_nents, DMA_TO_DEVICE); in mv_cesa_ahash_dma_cleanup()
647 ret = dma_map_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_ahash_dma_req_init()
753 dma_unmap_sg(cesa_dev->dev, req->src, creq->src_nents, DMA_TO_DEVICE); in mv_cesa_ahash_dma_req_init()
767 dev_err(cesa_dev->dev, "Invalid number of src SG"); in mv_cesa_ahash_req_init()
776 if (cesa_dev->caps->has_tdma) in mv_cesa_ahash_req_init()
H A Dcesa.h196 #define CESA_SA_SRAM_PAYLOAD_SIZE (cesa_dev->sram_size - \
627 extern struct mv_cesa_dev *cesa_dev;
743 for (i = 0; i < cesa_dev->caps->nengines; i++) { in mv_cesa_select_engine()
744 struct mv_cesa_engine *engine = cesa_dev->engines + i; in mv_cesa_select_engine()
H A Dcesa.c35 struct mv_cesa_dev *cesa_dev; variable
443 if (cesa_dev) { in mv_cesa_probe()
560 cesa_dev = cesa; in mv_cesa_probe()
564 cesa_dev = NULL; in mv_cesa_probe()