Lines Matching refs:dsgl_walk
380 static inline void dsgl_walk_init(struct dsgl_walk *walk, in dsgl_walk_init()
388 static inline void dsgl_walk_end(struct dsgl_walk *walk, unsigned short qid, in dsgl_walk_end()
410 static inline void dsgl_walk_add_page(struct dsgl_walk *walk, in dsgl_walk_add_page()
427 static void dsgl_walk_add_sg(struct dsgl_walk *walk, in dsgl_walk_add_sg()
2566 struct dsgl_walk dsgl_walk; in chcr_add_aead_dst_ent() local
2571 dsgl_walk_init(&dsgl_walk, phys_cpl); in chcr_add_aead_dst_ent()
2572 dsgl_walk_add_page(&dsgl_walk, IV + reqctx->b0_len, reqctx->iv_dma); in chcr_add_aead_dst_ent()
2575 dsgl_walk_add_sg(&dsgl_walk, req->dst, temp, 0); in chcr_add_aead_dst_ent()
2576 dsgl_walk_end(&dsgl_walk, qid, ctx->pci_chan_id); in chcr_add_aead_dst_ent()
2610 struct dsgl_walk dsgl_walk; in chcr_add_cipher_dst_ent() local
2612 dsgl_walk_init(&dsgl_walk, phys_cpl); in chcr_add_cipher_dst_ent()
2613 dsgl_walk_add_sg(&dsgl_walk, reqctx->dstsg, wrparam->bytes, in chcr_add_cipher_dst_ent()
2615 reqctx->dstsg = dsgl_walk.last_sg; in chcr_add_cipher_dst_ent()
2616 reqctx->dst_ofst = dsgl_walk.last_sg_len; in chcr_add_cipher_dst_ent()
2618 dsgl_walk_end(&dsgl_walk, qid, ctx->pci_chan_id); in chcr_add_cipher_dst_ent()