Home
last modified time | relevance | path

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

/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c184 static int hpre_add_req_to_ctx(struct hpre_asym_request *hpre_req) in hpre_add_req_to_ctx() argument
190 ctx = hpre_req->ctx; in hpre_add_req_to_ctx()
195 ctx->req_list[id] = hpre_req; in hpre_add_req_to_ctx()
196 hpre_req->req_id = id; in hpre_add_req_to_ctx()
200 ktime_get_ts64(&hpre_req->req_time); in hpre_add_req_to_ctx()
205 static void hpre_rm_req_from_ctx(struct hpre_asym_request *hpre_req) in hpre_rm_req_from_ctx() argument
207 struct hpre_ctx *ctx = hpre_req->ctx; in hpre_rm_req_from_ctx()
208 int id = hpre_req->req_id; in hpre_rm_req_from_ctx()
210 if (hpre_req->req_id >= 0) { in hpre_rm_req_from_ctx()
211 hpre_req->req_id = HPRE_INVLD_REQ_ID; in hpre_rm_req_from_ctx()
[all …]