Lines Matching refs:ablk_req
835 struct skcipher_request *ablk_req = skcipher_request_cast(req->req); in spacc_ablk_need_fallback() local
836 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(ablk_req); in spacc_ablk_need_fallback()
850 struct skcipher_request *ablk_req = skcipher_request_cast(req->req); in spacc_ablk_complete() local
852 if (ablk_req->src != ablk_req->dst) { in spacc_ablk_complete()
853 spacc_free_ddt(req, req->src_ddt, req->src_addr, ablk_req->src, in spacc_ablk_complete()
854 ablk_req->cryptlen, DMA_TO_DEVICE); in spacc_ablk_complete()
855 spacc_free_ddt(req, req->dst_ddt, req->dst_addr, ablk_req->dst, in spacc_ablk_complete()
856 ablk_req->cryptlen, DMA_FROM_DEVICE); in spacc_ablk_complete()
858 spacc_free_ddt(req, req->dst_ddt, req->dst_addr, ablk_req->dst, in spacc_ablk_complete()
859 ablk_req->cryptlen, DMA_BIDIRECTIONAL); in spacc_ablk_complete()
866 struct skcipher_request *ablk_req = skcipher_request_cast(req->req); in spacc_ablk_submit() local
867 struct crypto_skcipher *tfm = crypto_skcipher_reqtfm(ablk_req); in spacc_ablk_submit()
875 ctx->key_len, ablk_req->iv, alg->ivsize, in spacc_ablk_submit()
882 writel(ablk_req->cryptlen, engine->regs + SPA_PROC_LEN_REG_OFFSET); in spacc_ablk_submit()