Home
last modified time | relevance | path

Searched refs:addr_iv (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-cipher.c171 rctx->addr_iv = dma_map_single(ce->dev, rctx->bounce_iv, rctx->ivlen, in sun8i_ce_cipher_prepare()
173 if (dma_mapping_error(ce->dev, rctx->addr_iv)) { in sun8i_ce_cipher_prepare()
178 cet->t_iv = cpu_to_le32(rctx->addr_iv); in sun8i_ce_cipher_prepare()
253 if (rctx->addr_iv) in sun8i_ce_cipher_prepare()
254 dma_unmap_single(ce->dev, rctx->addr_iv, rctx->ivlen, DMA_TO_DEVICE); in sun8i_ce_cipher_prepare()
319 dma_unmap_single(ce->dev, rctx->addr_iv, rctx->ivlen, DMA_TO_DEVICE); in sun8i_ce_cipher_unprepare()
H A Dsun8i-ce.h247 * @addr_iv: The IV addr returned by dma_map_single, need to unmap later
259 dma_addr_t addr_iv; member
/kernel/linux/linux-6.6/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-cipher.c204 rctx->addr_iv = dma_map_single(ce->dev, chan->bounce_iv, rctx->ivlen, in sun8i_ce_cipher_prepare()
206 if (dma_mapping_error(ce->dev, rctx->addr_iv)) { in sun8i_ce_cipher_prepare()
211 cet->t_iv = cpu_to_le32(rctx->addr_iv); in sun8i_ce_cipher_prepare()
283 if (rctx->addr_iv) in sun8i_ce_cipher_prepare()
284 dma_unmap_single(ce->dev, rctx->addr_iv, rctx->ivlen, DMA_TO_DEVICE); in sun8i_ce_cipher_prepare()
348 dma_unmap_single(ce->dev, rctx->addr_iv, rctx->ivlen, DMA_TO_DEVICE); in sun8i_ce_cipher_unprepare()
H A Dsun8i-ce.h251 * @addr_iv: The IV addr returned by dma_map_single, need to unmap later
261 dma_addr_t addr_iv; member

Completed in 4 milliseconds