Lines Matching refs:todo
103 unsigned int todo, offset; in sun8i_ss_setup_ivs() local
137 todo = min(len, sg_dma_len(sg)); in sun8i_ss_setup_ivs()
138 len -= todo; in sun8i_ss_setup_ivs()
169 unsigned int todo, len, offset, ivsize; in sun8i_ss_cipher() local
237 todo = min(len, sg_dma_len(sg)); in sun8i_ss_cipher()
238 rctx->t_src[i].len = todo / 4; in sun8i_ss_cipher()
240 areq->cryptlen, i, rctx->t_src[i].len, sg->offset, todo); in sun8i_ss_cipher()
241 len -= todo; in sun8i_ss_cipher()
259 todo = min(len, sg_dma_len(sg)); in sun8i_ss_cipher()
260 rctx->t_dst[i].len = todo / 4; in sun8i_ss_cipher()
262 areq->cryptlen, i, rctx->t_dst[i].len, sg->offset, todo); in sun8i_ss_cipher()
263 len -= todo; in sun8i_ss_cipher()