Lines Matching refs:DMA_TO_DEVICE
297 if (dma_map_sg(dev, &areq_ctx->ccm_adata_sg, 1, DMA_TO_DEVICE) != 1) { in cc_set_aead_conf_buf()
322 if (dma_map_sg(dev, areq_ctx->buff_sg, 1, DMA_TO_DEVICE) != 1) { in cc_set_hash_buf()
360 dma_unmap_sg(dev, src, req_ctx->in_nents, DMA_TO_DEVICE); in cc_unmap_cipher_request()
382 int src_direction = (src != dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL); in cc_map_cipher_request()
462 int src_direction = (req->src != req->dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL); in cc_unmap_aead_request()
477 AES_BLOCK_SIZE, DMA_TO_DEVICE); in cc_unmap_aead_request()
482 AES_BLOCK_SIZE, DMA_TO_DEVICE); in cc_unmap_aead_request()
487 AES_BLOCK_SIZE, DMA_TO_DEVICE); in cc_unmap_aead_request()
494 AES_BLOCK_SIZE, DMA_TO_DEVICE); in cc_unmap_aead_request()
497 dma_unmap_sg(dev, &areq_ctx->ccm_adata_sg, 1, DMA_TO_DEVICE); in cc_unmap_aead_request()
991 DMA_TO_DEVICE); in cc_map_aead_request()
1020 AES_BLOCK_SIZE, DMA_TO_DEVICE); in cc_map_aead_request()
1030 AES_BLOCK_SIZE, DMA_TO_DEVICE); in cc_map_aead_request()
1042 AES_BLOCK_SIZE, DMA_TO_DEVICE); in cc_map_aead_request()
1062 (req->src != req->dst ? DMA_TO_DEVICE : DMA_BIDIRECTIONAL), in cc_map_aead_request()
1177 rc = cc_map_sg(dev, src, nbytes, DMA_TO_DEVICE, in cc_map_hash_request_final()
1211 dma_unmap_sg(dev, src, areq_ctx->in_nents, DMA_TO_DEVICE); in cc_map_hash_request_final()
1215 dma_unmap_sg(dev, areq_ctx->buff_sg, 1, DMA_TO_DEVICE); in cc_map_hash_request_final()
1289 DMA_TO_DEVICE, &areq_ctx->in_nents, in cc_map_hash_request_update()
1322 dma_unmap_sg(dev, src, areq_ctx->in_nents, DMA_TO_DEVICE); in cc_map_hash_request_update()
1326 dma_unmap_sg(dev, areq_ctx->buff_sg, 1, DMA_TO_DEVICE); in cc_map_hash_request_update()
1353 areq_ctx->in_nents, DMA_TO_DEVICE); in cc_unmap_hash_request()
1361 dma_unmap_sg(dev, areq_ctx->buff_sg, 1, DMA_TO_DEVICE); in cc_unmap_hash_request()