Home
last modified time | relevance | path

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

/linux/drivers/crypto/hisilicon/zip/
H A Dzip_crypto.c158 struct acomp_req *a_req = req->req; in hisi_zip_fill_buf_size() local
160 sqe->input_data_length = a_req->slen; in hisi_zip_fill_buf_size()
161 sqe->dest_avail_out = a_req->dlen; in hisi_zip_fill_buf_size()
217 struct acomp_req *a_req = req->req; in hisi_zip_do_work() local
223 if (unlikely(!a_req->src || !a_req->slen || !a_req->dst || !a_req->dlen)) in hisi_zip_do_work()
226 req->hw_src = hisi_acc_sg_buf_map_to_hw_sgl(dev, a_req->src, pool, in hisi_zip_do_work()
234 req->hw_dst = hisi_acc_sg_buf_map_to_hw_sgl(dev, a_req->dst, pool, in hisi_zip_do_work()
261 hisi_acc_sg_buf_unmap(dev, a_req->dst, req->hw_dst); in hisi_zip_do_work()
263 hisi_acc_sg_buf_unmap(dev, a_req->src, req->hw_src); in hisi_zip_do_work()