Searched refs:addr_iv (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-cipher.c | 171 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 D | sun8i-ce.h | 247 * @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 D | sun8i-ce-cipher.c | 204 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 D | sun8i-ce.h | 251 * @addr_iv: The IV addr returned by dma_map_single, need to unmap later 261 dma_addr_t addr_iv; member
|
Completed in 3 milliseconds