Searched refs:t_dst (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-hash.c | 219 if (!rctx->t_dst[i].addr) in sun8i_ss_run_hash_task() 225 writel(rctx->t_dst[i - 1].addr, ss->base + SS_KEY_ADR_REG); in sun8i_ss_run_hash_task() 226 writel(rctx->t_dst[i - 1].addr, ss->base + SS_IV_ADR_REG); in sun8i_ss_run_hash_task() 232 rctx->t_src[i].len, rctx->t_dst[i].len, in sun8i_ss_run_hash_task() 233 rctx->method, rctx->t_src[i].addr, rctx->t_dst[i].addr); in sun8i_ss_run_hash_task() 236 writel(rctx->t_dst[i].addr, ss->base + SS_DST_ADR_REG); in sun8i_ss_run_hash_task() 356 rctx->t_dst[i].addr = 0; in sun8i_ss_hash_run() 357 rctx->t_dst[i].len = 0; in sun8i_ss_hash_run() 386 rctx->t_dst[i].addr = addr_res; in sun8i_ss_hash_run() 387 rctx->t_dst[i].len = digestsize / 4; in sun8i_ss_hash_run() [all …]
|
D | sun8i-ss.h | 178 struct sginfo t_dst[MAX_SG]; member 243 struct sginfo t_dst[MAX_SG]; member
|
D | sun8i-ss-core.c | 99 if (!rctx->t_dst[i].addr) in sun8i_ss_run_task() 111 …writel(rctx->t_dst[i - 1].addr + rctx->t_dst[i - 1].len * 4 - rctx->ivlen, ss->base + SS_IV_ADR_RE… in sun8i_ss_run_task() 120 rctx->t_src[i].len, rctx->t_dst[i].len, in sun8i_ss_run_task() 125 writel(rctx->t_dst[i].addr, ss->base + SS_DST_ADR_REG); in sun8i_ss_run_task()
|
D | sun8i-ss-cipher.c | 215 rctx->t_dst[i].addr = sg_dma_address(sg); in sun8i_ss_cipher() 217 rctx->t_dst[i].len = todo / 4; in sun8i_ss_cipher() 219 areq->cryptlen, i, rctx->t_dst[i].len, sg->offset, todo); in sun8i_ss_cipher()
|
/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-trng.c | 82 cet->t_dst[0].addr = cpu_to_le32(dma_dst); in sun8i_ce_trng_read() 83 cet->t_dst[0].len = cpu_to_le32(todo / 4); in sun8i_ce_trng_read()
|
D | sun8i-ce-prng.c | 142 cet->t_dst[0].addr = cpu_to_le32(dma_dst); in sun8i_ce_prng_generate() 143 cet->t_dst[0].len = cpu_to_le32(todo / 4); in sun8i_ce_prng_generate()
|
D | sun8i-ce-cipher.c | 223 cet->t_dst[i].addr = cpu_to_le32(sg_dma_address(sg)); in sun8i_ce_cipher_prepare() 225 cet->t_dst[i].len = cpu_to_le32(todo / 4); in sun8i_ce_cipher_prepare() 227 areq->cryptlen, i, cet->t_dst[i].len, sg->offset, todo); in sun8i_ce_cipher_prepare()
|
D | sun8i-ce.h | 175 struct sginfo t_dst[MAX_SG]; member
|
D | sun8i-ce-hash.c | 339 cet->t_dst[0].addr = cpu_to_le32(addr_res); in sun8i_ce_hash_run() 340 cet->t_dst[0].len = cpu_to_le32(digestsize / 4); in sun8i_ce_hash_run()
|
/kernel/linux/linux-5.10/drivers/crypto/amlogic/ |
D | amlogic-gxl.h | 56 __le32 t_dst; member
|
D | amlogic-gxl-cipher.c | 168 desc->t_dst = cpu_to_le32(i * 16); in meson_cipher() 211 desc->t_dst = cpu_to_le32(sg_dma_address(dst_sg)); in meson_cipher()
|