Home
last modified time | relevance | path

Searched refs:t_src (Results 1 – 12 of 12) sorted by relevance

/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-hash.c324 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()
327 writel(rctx->t_src[i].addr, ss->base + SS_SRC_ADR_REG); in sun8i_ss_run_hash_task()
329 writel(rctx->t_src[i].len, ss->base + SS_LEN_ADR_REG); in sun8i_ss_run_hash_task()
555 rctx->t_src[i].addr = sg_dma_address(sg); in sun8i_ss_hash_run()
556 rctx->t_src[i].len = todo / 4; in sun8i_ss_hash_run()
583 rctx->t_src[k + 1].addr = rctx->t_src[k].addr; in sun8i_ss_hash_run()
584 rctx->t_src[k + 1].len = rctx->t_src[k].len; in sun8i_ss_hash_run()
594 rctx->t_src[0].addr = addr_xpad; in sun8i_ss_hash_run()
595 rctx->t_src[0].len = bs / 4; in sun8i_ss_hash_run()
[all …]
Dsun8i-ss.h188 struct sginfo t_src[MAX_SG]; member
257 struct sginfo t_src[MAX_SG]; member
Dsun8i-ss-cipher.c254 rctx->t_src[i].addr = sg_dma_address(sg); in sun8i_ss_cipher()
256 rctx->t_src[i].len = todo / 4; in sun8i_ss_cipher()
258 areq->cryptlen, i, rctx->t_src[i].len, sg->offset, todo); in sun8i_ss_cipher()
Dsun8i-ss-core.c122 rctx->t_src[i].len, rctx->t_dst[i].len, in sun8i_ss_run_task()
124 rctx->op_dir, rctx->t_src[i].len); in sun8i_ss_run_task()
126 writel(rctx->t_src[i].addr, ss->base + SS_SRC_ADR_REG); in sun8i_ss_run_task()
128 writel(rctx->t_src[i].len, ss->base + SS_LEN_ADR_REG); in sun8i_ss_run_task()
/drivers/crypto/gemini/
Dsl3516-ce-core.c143 i, rctx->nr_sgs, rctx->t_src[i].len); in sl3516_ce_run_task()
144 rctx->h->algorithm_len = rctx->t_src[i].len; in sl3516_ce_run_task()
160 dd->frame_ctrl.bits.buffer_size = rctx->t_src[i].len; in sl3516_ce_run_task()
161 dd->buf_adr = rctx->t_src[i].addr; in sl3516_ce_run_task()
Dsl3516-ce-cipher.c181 rctx->t_src[i].addr = sg_dma_address(sg); in sl3516_ce_cipher()
183 rctx->t_src[i].len = todo; in sl3516_ce_cipher()
185 areq->cryptlen, i, rctx->t_src[i].len, sg->offset, todo); in sl3516_ce_cipher()
Dsl3516-ce.h282 struct sginfo t_src[MAXDESC]; member
/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-hash.c400 cet->t_src[i].addr = cpu_to_le32(sg_dma_address(sg)); in sun8i_ce_hash_run()
402 cet->t_src[i].len = cpu_to_le32(todo / 4); in sun8i_ce_hash_run()
442 cet->t_src[i].addr = cpu_to_le32(addr_pad); in sun8i_ce_hash_run()
443 cet->t_src[i].len = cpu_to_le32(j); in sun8i_ce_hash_run()
Dsun8i-ce-cipher.c234 cet->t_src[i].addr = cpu_to_le32(sg_dma_address(sg)); in sun8i_ce_cipher_prepare()
236 cet->t_src[i].len = cpu_to_le32(todo / 4); in sun8i_ce_cipher_prepare()
238 areq->cryptlen, i, cet->t_src[i].len, sg->offset, todo); in sun8i_ce_cipher_prepare()
Dsun8i-ce.h176 struct sginfo t_src[MAX_SG]; member
/drivers/crypto/amlogic/
Damlogic-gxl.h55 __le32 t_src; member
Damlogic-gxl-cipher.c167 desc->t_src = cpu_to_le32(phykeyiv + i * 16); in meson_cipher()
210 desc->t_src = cpu_to_le32(sg_dma_address(src_sg)); in meson_cipher()