Lines Matching refs:dst_sg
28 struct scatterlist *dst_sg = areq->dst; in meson_cipher_need_fallback() local
33 if (sg_nents(src_sg) != sg_nents(dst_sg)) in meson_cipher_need_fallback()
37 if (sg_nents(src_sg) > MAXDESC - 3 || sg_nents(dst_sg) > MAXDESC - 3) in meson_cipher_need_fallback()
40 while (src_sg && dst_sg) { in meson_cipher_need_fallback()
43 if ((dst_sg->length % 16) != 0) in meson_cipher_need_fallback()
45 if (src_sg->length != dst_sg->length) in meson_cipher_need_fallback()
49 if (!IS_ALIGNED(dst_sg->offset, sizeof(u32))) in meson_cipher_need_fallback()
52 dst_sg = sg_next(dst_sg); in meson_cipher_need_fallback()
95 struct scatterlist *dst_sg = areq->dst; in meson_cipher() local
204 dst_sg = areq->dst; in meson_cipher()
211 desc->t_dst = cpu_to_le32(sg_dma_address(dst_sg)); in meson_cipher()
223 dst_sg = sg_next(dst_sg); in meson_cipher()