Home
last modified time | relevance | path

Searched refs:t_dst (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-hash.c219 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 …]
Dsun8i-ss.h178 struct sginfo t_dst[MAX_SG]; member
243 struct sginfo t_dst[MAX_SG]; member
Dsun8i-ss-core.c99 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()
Dsun8i-ss-cipher.c215 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/
Dsun8i-ce-trng.c82 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()
Dsun8i-ce-prng.c142 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()
Dsun8i-ce-cipher.c223 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()
Dsun8i-ce.h175 struct sginfo t_dst[MAX_SG]; member
Dsun8i-ce-hash.c339 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/
Damlogic-gxl.h56 __le32 t_dst; member
Damlogic-gxl-cipher.c168 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()