Home
last modified time | relevance | path

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

/linux-6.15/drivers/crypto/hisilicon/sec2/
H A Dsec.h11 struct sec_alg_res { struct
119 struct sec_alg_res *res;
H A Dsec_crypto.c310 static int sec_alloc_civ_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_civ_resource()
328 static void sec_free_civ_resource(struct device *dev, struct sec_alg_res *res) in sec_free_civ_resource()
335 static int sec_alloc_aiv_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_aiv_resource()
353 static void sec_free_aiv_resource(struct device *dev, struct sec_alg_res *res) in sec_free_aiv_resource()
360 static int sec_alloc_mac_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_mac_resource()
379 static void sec_free_mac_resource(struct device *dev, struct sec_alg_res *res) in sec_free_mac_resource()
386 static void sec_free_pbuf_resource(struct device *dev, struct sec_alg_res *res) in sec_free_pbuf_resource()
397 static int sec_alloc_pbuf_resource(struct device *dev, struct sec_alg_res *res) in sec_alloc_pbuf_resource()
436 struct sec_alg_res *res = qp_ctx->res; in sec_alg_resource_alloc()
499 qp_ctx->res = kcalloc(q_depth, sizeof(struct sec_alg_res), GFP_KERNEL); in sec_alloc_qp_ctx_resource()
[all …]