Searched refs:QM_Q_DEPTH (Results 1 – 8 of 8) sorted by relevance
/drivers/crypto/hisilicon/sec2/ |
D | sec.h | 118 struct sec_req *req_list[QM_Q_DEPTH]; 120 struct sec_alg_res res[QM_Q_DEPTH];
|
D | sec_crypto.c | 60 #define SEC_TOTAL_IV_SZ (SEC_IV_SIZE * QM_Q_DEPTH) 66 #define SEC_TOTAL_MAC_SZ (SEC_MAX_MAC_LEN * QM_Q_DEPTH) 74 #define SEC_PBUF_PAGE_NUM (QM_Q_DEPTH / SEC_PBUF_NUM) 75 #define SEC_PBUF_LEFT_SZ (SEC_PBUF_PKG * (QM_Q_DEPTH - \ 130 0, QM_Q_DEPTH, GFP_ATOMIC); in sec_alloc_req_id() 148 if (unlikely(req_id < 0 || req_id >= QM_Q_DEPTH)) { in sec_free_req_id() 307 for (i = 1; i < QM_Q_DEPTH; i++) { in sec_alloc_civ_resource() 331 for (i = 1; i < QM_Q_DEPTH; i++) { in sec_alloc_aiv_resource() 355 for (i = 1; i < QM_Q_DEPTH; i++) { in sec_alloc_mac_resource() 404 if (k == QM_Q_DEPTH) in sec_alloc_pbuf_resource() [all …]
|
D | sec_main.c | 31 #define SEC_SQ_SIZE (SEC_SQE_SIZE * QM_Q_DEPTH)
|
/drivers/crypto/hisilicon/ |
D | qm.c | 282 ((QM_Q_DEPTH - 1) | ((cqe_sz) << QM_CQ_CQE_SIZE_SHIFT)) 296 ((QM_Q_DEPTH - 1) | ((u32)ilog2(sqe_sz) << QM_SQ_SQE_SIZE_SHIFT)) 776 if (qp->qp_status.cq_head == QM_Q_DEPTH - 1) { in qm_cq_head_update() 905 if (qm->status.aeq_head == QM_Q_DEPTH - 1) { in qm_aeq_irq() 1697 if (ret || *e_id >= QM_Q_DEPTH) { in q_dump_param_parse() 1698 dev_err(dev, "Please input sqe num (0-%d)", QM_Q_DEPTH - 1); in q_dump_param_parse() 1722 sqe = kzalloc(qm->sqe_size * QM_Q_DEPTH, GFP_KERNEL); in qm_sq_dump() 1727 memcpy(sqe, qp->sqe, qm->sqe_size * QM_Q_DEPTH); in qm_sq_dump() 1780 } else if (!strcmp(name, "AEQE") && xeqe_id >= QM_Q_DEPTH) { in qm_eq_aeq_dump() 1781 dev_err(dev, "Please input aeqe num (0-%d)", QM_Q_DEPTH - 1); in qm_eq_aeq_dump() [all …]
|
D | qm.h | 77 #define QM_Q_DEPTH 1024 macro
|
/drivers/crypto/hisilicon/zip/ |
D | zip_crypto.c | 607 req_q->size = QM_Q_DEPTH; in hisi_zip_create_req_q() 661 tmp->sgl_pool = hisi_acc_create_sgl_pool(dev, QM_Q_DEPTH << 1, in hisi_zip_create_sgl_pool()
|
D | zip_main.c | 82 #define HZIP_SQ_SIZE (HZIP_SQE_SIZE * QM_Q_DEPTH)
|
/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 150 id = idr_alloc(&ctx->req_idr, NULL, 0, QM_Q_DEPTH, GFP_ATOMIC); in hpre_alloc_req_id() 491 ret = hpre_ctx_set(ctx, qp, QM_Q_DEPTH); in hpre_ctx_init()
|