Searched refs:dma_iv (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-prng.c | 64 dma_addr_t dma_iv, dma_dst; in sun8i_ss_prng_generate() local 103 dma_iv = dma_map_single(ss->dev, ctx->seed, ctx->slen, DMA_TO_DEVICE); in sun8i_ss_prng_generate() 104 if (dma_mapping_error(ss->dev, dma_iv)) { in sun8i_ss_prng_generate() 124 writel(dma_iv, ss->base + SS_IV_ADR_REG); in sun8i_ss_prng_generate() 126 writel(dma_iv, ss->base + SS_KEY_ADR_REG); in sun8i_ss_prng_generate() 162 dma_unmap_single(ss->dev, dma_iv, ctx->slen, DMA_TO_DEVICE); in sun8i_ss_prng_generate()
|
/Linux-v5.10/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-prng.c | 64 dma_addr_t dma_iv, dma_dst; in sun8i_ce_prng_generate() local 99 dma_iv = dma_map_single(ce->dev, ctx->seed, ctx->slen, DMA_TO_DEVICE); in sun8i_ce_prng_generate() 100 if (dma_mapping_error(ce->dev, dma_iv)) { in sun8i_ce_prng_generate() 138 cet->t_key = cpu_to_le32(dma_iv); in sun8i_ce_prng_generate() 139 cet->t_iv = cpu_to_le32(dma_iv); in sun8i_ce_prng_generate() 153 dma_unmap_single(ce->dev, dma_iv, ctx->slen, DMA_TO_DEVICE); in sun8i_ce_prng_generate()
|
/Linux-v5.10/drivers/crypto/hisilicon/sec/ |
D | sec_algs.c | 528 dma_unmap_single(dev, sec_req->dma_iv, in sec_skcipher_alg_callback() 762 sec_req->dma_iv = dma_map_single(info->dev, skreq->iv, in sec_alg_skcipher_crypto() 765 if (dma_mapping_error(info->dev, sec_req->dma_iv)) { in sec_alg_skcipher_crypto() 785 el->req.cipher_iv_addr_lo = lower_32_bits(sec_req->dma_iv); in sec_alg_skcipher_crypto() 786 el->req.cipher_iv_addr_hi = upper_32_bits(sec_req->dma_iv); in sec_alg_skcipher_crypto() 845 dma_unmap_single(info->dev, sec_req->dma_iv, in sec_alg_skcipher_crypto()
|
D | sec_drv.h | 281 dma_addr_t dma_iv; member
|