Home
last modified time | relevance | path

Searched refs:dstsg (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/crypto/chelsio/
H A Dchcr_crypto.h295 struct scatterlist *dstsg; member
H A Dchcr_algo.c648 int srcsg = minsg, dstsg = minsg; in chcr_sg_ent_in_wr() local
661 space > (sgl_ent_len[srcsg + 1] + dsgl_ent_len[dstsg])) { in chcr_sg_ent_in_wr()
667 while (dst && ((dstsg + 1) <= MAX_DSGL_ENT) && in chcr_sg_ent_in_wr()
668 space > (sgl_ent_len[srcsg] + dsgl_ent_len[dstsg + 1])) { in chcr_sg_ent_in_wr()
679 dstsg++; in chcr_sg_ent_in_wr()
827 nents = sg_nents_xlen(reqctx->dstsg, wrparam->bytes, CHCR_DST_SG_SIZE, in create_cipher_wr()
1188 bytes = chcr_sg_ent_in_wr(reqctx->srcsg, reqctx->dstsg, 0, in chcr_handle_cipher_resp()
1347 reqctx->dstsg = req->dst; in process_cipher()
2768 dsgl_walk_add_sg(&dsgl_walk, reqctx->dstsg, wrparam->bytes, in chcr_add_cipher_dst_ent()
2770 reqctx->dstsg = dsgl_walk.last_sg; in chcr_add_cipher_dst_ent()
/OK3568_Linux_fs/kernel/drivers/crypto/axis/
H A Dartpec6_crypto.c1041 struct scatterlist *dstsg, unsigned int nbytes) in artpec6_crypto_common_init() argument