Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-hash.c232 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()
235 writel(rctx->t_src[i].addr, ss->base + SS_SRC_ADR_REG); in sun8i_ss_run_hash_task()
237 writel(rctx->t_src[i].len, ss->base + SS_LEN_ADR_REG); in sun8i_ss_run_hash_task()
380 rctx->t_src[i].addr = sg_dma_address(sg); in sun8i_ss_hash_run()
382 rctx->t_src[i].len = todo / 4; in sun8i_ss_hash_run()
421 rctx->t_src[i].addr = addr_pad; in sun8i_ss_hash_run()
422 rctx->t_src[i].len = j; in sun8i_ss_hash_run()
Dsun8i-ss.h177 struct sginfo t_src[MAX_SG]; member
242 struct sginfo t_src[MAX_SG]; member
Dsun8i-ss-core.c113 …writel(rctx->t_src[i - 1].addr + rctx->t_src[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()
122 rctx->op_dir, rctx->t_src[i].len); in sun8i_ss_run_task()
124 writel(rctx->t_src[i].addr, ss->base + SS_SRC_ADR_REG); in sun8i_ss_run_task()
126 writel(rctx->t_src[i].len, ss->base + SS_LEN_ADR_REG); in sun8i_ss_run_task()
Dsun8i-ss-cipher.c193 rctx->t_src[i].addr = sg_dma_address(sg); in sun8i_ss_cipher()
195 rctx->t_src[i].len = todo / 4; in sun8i_ss_cipher()
197 areq->cryptlen, i, rctx->t_src[i].len, sg->offset, todo); in sun8i_ss_cipher()
/Linux-v5.10/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-hash.c324 cet->t_src[i].addr = cpu_to_le32(sg_dma_address(sg)); in sun8i_ce_hash_run()
326 cet->t_src[i].len = cpu_to_le32(todo / 4); in sun8i_ce_hash_run()
385 cet->t_src[i].addr = cpu_to_le32(addr_pad); in sun8i_ce_hash_run()
386 cet->t_src[i].len = cpu_to_le32(j); in sun8i_ce_hash_run()
Dsun8i-ce-cipher.c208 cet->t_src[i].addr = cpu_to_le32(sg_dma_address(sg)); in sun8i_ce_cipher_prepare()
210 cet->t_src[i].len = cpu_to_le32(todo / 4); in sun8i_ce_cipher_prepare()
212 areq->cryptlen, i, cet->t_src[i].len, sg->offset, todo); in sun8i_ce_cipher_prepare()
Dsun8i-ce.h174 struct sginfo t_src[MAX_SG]; member
/Linux-v5.10/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()