Lines Matching refs:out_sg
108 #define _walked_out (cryp->out_walk.offset - cryp->out_sg->offset)
152 struct scatterlist *out_sg; member
322 ret = stm32_cryp_check_aligned(cryp->out_sg, cryp->total_out, in stm32_cryp_check_io_aligned()
373 cryp->out_sg_save = cryp->out_sg; in stm32_cryp_copy_sgs()
374 cryp->out_sg = &cryp->out_sgl; in stm32_cryp_copy_sgs()
982 cryp->out_sg = req ? req->dst : areq->dst; in stm32_cryp_prepare_req()
983 cryp->out_sg_save = cryp->out_sg; in stm32_cryp_prepare_req()
992 cryp->out_sg_len = sg_nents_for_len(cryp->out_sg, cryp->total_out); in stm32_cryp_prepare_req()
1004 scatterwalk_start(&cryp->out_walk, cryp->out_sg); in stm32_cryp_prepare_req()
1074 if (unlikely(cryp->out_sg->length == _walked_out)) { in stm32_cryp_next_out()
1075 cryp->out_sg = sg_next(cryp->out_sg); in stm32_cryp_next_out()
1076 if (cryp->out_sg) { in stm32_cryp_next_out()
1077 scatterwalk_start(&cryp->out_walk, cryp->out_sg); in stm32_cryp_next_out()
1078 return (sg_virt(cryp->out_sg) + _walked_out); in stm32_cryp_next_out()
1159 dst = sg_virt(cryp->out_sg) + _walked_out; in stm32_cryp_read_auth_tag()
1246 dst = sg_virt(cryp->out_sg) + _walked_out; in stm32_cryp_irq_read_data()
1318 struct scatterlist *out_sg_ori = cryp->out_sg; in stm32_cryp_irq_write_gcm_padded_data()
1412 struct scatterlist *out_sg_ori = cryp->out_sg; in stm32_cryp_irq_write_ccm_padded_data()