Home
last modified time | relevance | path

Searched refs:sec_alg_res (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/
H A Dsec.h11 struct sec_alg_res { struct
104 struct sec_alg_res res[QM_Q_DEPTH];
H A Dsec_crypto.c229 static int sec_alloc_civ_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_civ_resource()
246 static void sec_free_civ_resource(struct device *dev, struct sec_alg_res *res) in sec_free_civ_resource()
253 static int sec_alloc_mac_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_mac_resource()
271 static void sec_free_mac_resource(struct device *dev, struct sec_alg_res *res) in sec_free_mac_resource()
278 static void sec_free_pbuf_resource(struct device *dev, struct sec_alg_res *res) in sec_free_pbuf_resource()
289 static int sec_alloc_pbuf_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_pbuf_resource()
325 struct sec_alg_res *res = qp_ctx->res; in sec_alg_resource_alloc()
749 struct sec_alg_res *res = &qp_ctx->res[req->req_id]; in sec_cipher_map()
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/sec2/
H A Dsec.h11 struct sec_alg_res { struct
121 struct sec_alg_res *res;
H A Dsec_crypto.c308 static int sec_alloc_civ_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_civ_resource()
326 static void sec_free_civ_resource(struct device *dev, struct sec_alg_res *res) in sec_free_civ_resource()
333 static int sec_alloc_aiv_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_aiv_resource()
351 static void sec_free_aiv_resource(struct device *dev, struct sec_alg_res *res) in sec_free_aiv_resource()
358 static int sec_alloc_mac_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_mac_resource()
377 static void sec_free_mac_resource(struct device *dev, struct sec_alg_res *res) in sec_free_mac_resource()
384 static void sec_free_pbuf_resource(struct device *dev, struct sec_alg_res *res) in sec_free_pbuf_resource()
395 static int sec_alloc_pbuf_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_pbuf_resource()
434 struct sec_alg_res *res = qp_ctx->res; in sec_alg_resource_alloc()
496 qp_ctx->res = kcalloc(q_depth, sizeof(struct sec_alg_res), GFP_KERNE in sec_alloc_qp_ctx_resource()
[all...]

Completed in 8 milliseconds