Home
last modified time | relevance | path

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

/openbmc/linux/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()
498 qp_ctx->res = kcalloc(q_depth, sizeof(struct sec_alg_res), GFP_KERNEL); in sec_alloc_qp_ctx_resource()
[all …]