Home
last modified time | relevance | path

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

/linux/drivers/crypto/hisilicon/zip/
H A Dzip_crypto.c43 HZIP_CTX_Q_NUM enumerator
91 struct hisi_zip_qp_ctx qp_ctx[HZIP_CTX_Q_NUM];
420 struct hisi_qp *qps[HZIP_CTX_Q_NUM] = { NULL }; in hisi_zip_ctx_init()
422 u8 alg_type[HZIP_CTX_Q_NUM]; in hisi_zip_ctx_init()
427 for (i = 0; i < HZIP_CTX_Q_NUM; i++) in hisi_zip_ctx_init()
430 ret = zip_create_qps(qps, HZIP_CTX_Q_NUM, node, alg_type); in hisi_zip_ctx_init()
438 for (i = 0; i < HZIP_CTX_Q_NUM; i++) { in hisi_zip_ctx_init()
453 struct hisi_qp *qps[HZIP_CTX_Q_NUM] = { NULL }; in hisi_zip_ctx_exit()
456 for (i = 0; i < HZIP_CTX_Q_NUM; i++) in hisi_zip_ctx_exit()
459 hisi_qm_free_qps(qps, HZIP_CTX_Q_NUM); in hisi_zip_ctx_exit()
[all …]