Home
last modified time | relevance | path

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

/linux/drivers/crypto/hisilicon/sec2/
H A Dsec.h17 struct sec_alg_res { struct
163 struct sec_alg_res *res;
H A Dsec_crypto.c387 static int sec_alloc_civ_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_civ_resource()
405 static void sec_free_civ_resource(struct device *dev, struct sec_alg_res *res) in sec_free_civ_resource()
412 static int sec_alloc_aiv_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_aiv_resource()
430 static void sec_free_aiv_resource(struct device *dev, struct sec_alg_res *res) in sec_free_aiv_resource()
437 static int sec_alloc_mac_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_mac_resource()
456 static void sec_free_mac_resource(struct device *dev, struct sec_alg_res *res) in sec_free_mac_resource()
463 static void sec_free_pbuf_resource(struct device *dev, struct sec_alg_res *res) in sec_free_pbuf_resource()
474 static int sec_alloc_pbuf_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_pbuf_resource()
513 struct sec_alg_res *res = qp_ctx->res; in sec_alg_resource_alloc()
576 qp_ctx->res = kzalloc_objs(struct sec_alg_res, q_depth); in sec_alloc_qp_ctx_resource()
[all …]