Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c171 static int hpre_add_req_to_ctx(struct hpre_asym_request *hpre_req) in hpre_add_req_to_ctx() argument
177 ctx = hpre_req->ctx; in hpre_add_req_to_ctx()
182 ctx->req_list[id] = hpre_req; in hpre_add_req_to_ctx()
183 hpre_req->req_id = id; in hpre_add_req_to_ctx()
187 ktime_get_ts64(&hpre_req->req_time); in hpre_add_req_to_ctx()
192 static void hpre_rm_req_from_ctx(struct hpre_asym_request *hpre_req) in hpre_rm_req_from_ctx() argument
194 struct hpre_ctx *ctx = hpre_req->ctx; in hpre_rm_req_from_ctx()
195 int id = hpre_req->req_id; in hpre_rm_req_from_ctx()
197 if (hpre_req->req_id >= 0) { in hpre_rm_req_from_ctx()
198 hpre_req->req_id = HPRE_INVLD_REQ_ID; in hpre_rm_req_from_ctx()
[all …]