Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-hash.c311 if (!rctx->t_dst[i].addr) in sun8i_ss_run_hash_task()
317 writel(rctx->t_dst[i - 1].addr, ss->base + SS_KEY_ADR_REG); in sun8i_ss_run_hash_task()
318 writel(rctx->t_dst[i - 1].addr, ss->base + SS_IV_ADR_REG); in sun8i_ss_run_hash_task()
324 rctx->t_src[i].len, rctx->t_dst[i].len, in sun8i_ss_run_hash_task()
325 rctx->method, rctx->t_src[i].addr, rctx->t_dst[i].addr); in sun8i_ss_run_hash_task()
328 writel(rctx->t_dst[i].addr, ss->base + SS_DST_ADR_REG); in sun8i_ss_run_hash_task()
519 rctx->t_dst[i].addr = 0; in sun8i_ss_hash_run()
520 rctx->t_dst[i].len = 0; in sun8i_ss_hash_run()
557 rctx->t_dst[i].addr = addr_res; in sun8i_ss_hash_run()
558 rctx->t_dst[i].len = digestsize / 4; in sun8i_ss_hash_run()
[all …]
Dsun8i-ss.h189 struct sginfo t_dst[MAX_SG]; member
258 struct sginfo t_dst[MAX_SG]; member
Dsun8i-ss-core.c102 if (!rctx->t_dst[i].addr) in sun8i_ss_run_task()
113 writel(rctx->t_dst[i - 1].addr + rctx->t_dst[i - 1].len * 4 - ivlen, ss->base + SS_IV_ADR_REG); in sun8i_ss_run_task()
122 rctx->t_src[i].len, rctx->t_dst[i].len, in sun8i_ss_run_task()
127 writel(rctx->t_dst[i].addr, ss->base + SS_DST_ADR_REG); in sun8i_ss_run_task()
Dsun8i-ss-cipher.c276 rctx->t_dst[i].addr = sg_dma_address(sg); in sun8i_ss_cipher()
278 rctx->t_dst[i].len = todo / 4; in sun8i_ss_cipher()
280 areq->cryptlen, i, rctx->t_dst[i].len, sg->offset, todo); in sun8i_ss_cipher()
/Linux-v6.1/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-trng.c80 cet->t_dst[0].addr = cpu_to_le32(dma_dst); in sun8i_ce_trng_read()
81 cet->t_dst[0].len = cpu_to_le32(todo / 4); in sun8i_ce_trng_read()
Dsun8i-ce-prng.c138 cet->t_dst[0].addr = cpu_to_le32(dma_dst); in sun8i_ce_prng_generate()
139 cet->t_dst[0].len = cpu_to_le32(todo / 4); in sun8i_ce_prng_generate()
Dsun8i-ce-cipher.c249 cet->t_dst[i].addr = cpu_to_le32(sg_dma_address(sg)); in sun8i_ce_cipher_prepare()
251 cet->t_dst[i].len = cpu_to_le32(todo / 4); in sun8i_ce_cipher_prepare()
253 areq->cryptlen, i, cet->t_dst[i].len, sg->offset, todo); in sun8i_ce_cipher_prepare()
Dsun8i-ce.h177 struct sginfo t_dst[MAX_SG]; member
Dsun8i-ce-hash.c411 cet->t_dst[0].addr = cpu_to_le32(addr_res); in sun8i_ce_hash_run()
412 cet->t_dst[0].len = cpu_to_le32(digestsize / 4); in sun8i_ce_hash_run()
/Linux-v6.1/drivers/crypto/gemini/
Dsl3516-ce-cipher.c203 rctx->t_dst[i].addr = sg_dma_address(sg); in sl3516_ce_cipher()
205 rctx->t_dst[i].len = todo; in sl3516_ce_cipher()
207 areq->cryptlen, i, rctx->t_dst[i].len, sg->offset, todo); in sl3516_ce_cipher()
Dsl3516-ce-core.c133 i, rctx->nr_sgd, rctx->t_dst[i].len); in sl3516_ce_run_task()
135 rdd->buf_adr = rctx->t_dst[i].addr; in sl3516_ce_run_task()
136 rdd->frame_ctrl.bits.buffer_size = rctx->t_dst[i].len; in sl3516_ce_run_task()
Dsl3516-ce.h283 struct sginfo t_dst[MAXDESC]; member
/Linux-v6.1/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()