Home
last modified time | relevance | path

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

/drivers/crypto/allwinner/sun8i-ss/
A Dsun8i-ss-hash.c552 rctx->t_src[i].len = todo / 4; in sun8i_ss_hash_run()
579 rctx->t_src[k + 1].addr = rctx->t_src[k].addr; in sun8i_ss_hash_run()
580 rctx->t_src[k + 1].len = rctx->t_src[k].len; in sun8i_ss_hash_run()
590 rctx->t_src[0].addr = addr_xpad; in sun8i_ss_hash_run()
591 rctx->t_src[0].len = bs / 4; in sun8i_ss_hash_run()
599 rctx->t_src[i].addr = 0; in sun8i_ss_hash_run()
600 rctx->t_src[i].len = 0; in sun8i_ss_hash_run()
617 rctx->t_src[0].addr = addr_xpad; in sun8i_ss_hash_run()
618 rctx->t_src[0].len = bs / 4; in sun8i_ss_hash_run()
650 rctx->t_src[i].addr = addr_pad; in sun8i_ss_hash_run()
[all …]
A Dsun8i-ss.h188 struct sginfo t_src[MAX_SG]; member
249 struct sginfo t_src[MAX_SG]; member
A Dsun8i-ss-cipher.c259 rctx->t_src[i].addr = sg_dma_address(sg); in sun8i_ss_cipher()
261 rctx->t_src[i].len = todo / 4; in sun8i_ss_cipher()
263 areq->cryptlen, i, rctx->t_src[i].len, sg->offset, todo); in sun8i_ss_cipher()
A Dsun8i-ss-core.c124 rctx->t_src[i].len, rctx->t_dst[i].len, in sun8i_ss_run_task()
126 rctx->op_dir, rctx->t_src[i].len); in sun8i_ss_run_task()
128 writel(rctx->t_src[i].addr, ss->base + SS_SRC_ADR_REG); in sun8i_ss_run_task()
130 writel(rctx->t_src[i].len, ss->base + SS_LEN_ADR_REG); in sun8i_ss_run_task()
/drivers/crypto/allwinner/sun8i-ce/
A Dsun8i-ce-hash.c394 cet->t_src[i].addr = desc_addr_val_le32(ce, sg_dma_address(sg)); in sun8i_ce_hash_run()
396 cet->t_src[i].len = cpu_to_le32(todo / 4); in sun8i_ce_hash_run()
436 cet->t_src[i].addr = desc_addr_val_le32(ce, addr_pad); in sun8i_ce_hash_run()
437 cet->t_src[i].len = cpu_to_le32(j); in sun8i_ce_hash_run()
A Dsun8i-ce-cipher.c251 cet->t_src[i].addr = desc_addr_val_le32(ce, sg_dma_address(sg)); in sun8i_ce_cipher_prepare()
253 cet->t_src[i].len = cpu_to_le32(todo / 4); in sun8i_ce_cipher_prepare()
255 areq->cryptlen, i, cet->t_src[i].len, sg->offset, todo); in sun8i_ce_cipher_prepare()
A Dsun8i-ce.h177 struct sginfo t_src[MAX_SG]; member
/drivers/crypto/gemini/
A Dsl3516-ce-core.c145 i, rctx->nr_sgs, rctx->t_src[i].len); in sl3516_ce_run_task()
146 rctx->h->algorithm_len = rctx->t_src[i].len; in sl3516_ce_run_task()
162 dd->frame_ctrl.bits.buffer_size = rctx->t_src[i].len; in sl3516_ce_run_task()
163 dd->buf_adr = rctx->t_src[i].addr; in sl3516_ce_run_task()
A Dsl3516-ce-cipher.c185 rctx->t_src[i].addr = sg_dma_address(sg); in sl3516_ce_cipher()
187 rctx->t_src[i].len = todo; in sl3516_ce_cipher()
189 areq->cryptlen, i, rctx->t_src[i].len, sg->offset, todo); in sl3516_ce_cipher()
A Dsl3516-ce.h281 struct sginfo t_src[MAXDESC]; member
/drivers/crypto/amlogic/
A Damlogic-gxl.h55 __le32 t_src; member
A 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()

Completed in 22 milliseconds