Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-cipher.c143 rctx->addr_key = dma_map_single(ce->dev, op->key, op->keylen, DMA_TO_DEVICE); in sun8i_ce_cipher_prepare()
144 if (dma_mapping_error(ce->dev, rctx->addr_key)) { in sun8i_ce_cipher_prepare()
149 cet->t_key = cpu_to_le32(rctx->addr_key); in sun8i_ce_cipher_prepare()
266 dma_unmap_single(ce->dev, rctx->addr_key, op->keylen, DMA_TO_DEVICE); in sun8i_ce_cipher_prepare()
328 dma_unmap_single(ce->dev, rctx->addr_key, op->keylen, DMA_TO_DEVICE); in sun8i_ce_cipher_unprepare()
Dsun8i-ce.h260 dma_addr_t addr_key; member