Searched refs:QM_Q_DEPTH (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/ |
D | sec.h | 104 struct sec_req *req_list[QM_Q_DEPTH]; 106 struct sec_alg_res res[QM_Q_DEPTH];
|
D | sec_crypto.c | 43 #define SEC_TOTAL_IV_SZ (SEC_IV_SIZE * QM_Q_DEPTH) 50 #define SEC_TOTAL_MAC_SZ (SEC_MAX_MAC_LEN * QM_Q_DEPTH) 58 #define SEC_PBUF_PAGE_NUM (QM_Q_DEPTH / SEC_PBUF_NUM) 59 #define SEC_PBUF_LEFT_SZ (SEC_PBUF_PKG * (QM_Q_DEPTH - \ 95 0, QM_Q_DEPTH, GFP_ATOMIC); in sec_alloc_req_id() 112 if (unlikely(req_id < 0 || req_id >= QM_Q_DEPTH)) { in sec_free_req_id() 239 for (i = 1; i < QM_Q_DEPTH; i++) { in sec_alloc_civ_resource() 263 for (i = 1; i < QM_Q_DEPTH; i++) { in sec_alloc_mac_resource() 312 if (k == QM_Q_DEPTH) in sec_alloc_pbuf_resource() 390 qp_ctx->c_in_pool = hisi_acc_create_sgl_pool(dev, QM_Q_DEPTH, in sec_create_qp_ctx() [all …]
|
D | sec_main.c | 30 #define SEC_SQ_SIZE (SEC_SQE_SIZE * QM_Q_DEPTH)
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/ |
D | qm.c | 195 ((QM_Q_DEPTH - 1) | ((cqe_sz) << QM_CQ_CQE_SIZE_SHIFT)) 209 ((QM_Q_DEPTH - 1) | ((u32)ilog2(sqe_sz) << QM_SQ_SQE_SIZE_SHIFT)) 611 if (qp->qp_status.cq_head == QM_Q_DEPTH - 1) { in qm_cq_head_update() 722 if (qm->status.aeq_head == QM_Q_DEPTH - 1) { in qm_aeq_irq() 1289 if (ret || *e_id >= QM_Q_DEPTH) { in q_dump_param_parse() 1290 dev_err(dev, "Please input sqe num (0-%d)", QM_Q_DEPTH - 1); in q_dump_param_parse() 1314 sqe = kzalloc(qm->sqe_size * QM_Q_DEPTH, GFP_KERNEL); in qm_sq_dump() 1319 memcpy(sqe, qp->sqe, qm->sqe_size * QM_Q_DEPTH); in qm_sq_dump() 1372 } else if (!strcmp(name, "AEQE") && xeqe_id >= QM_Q_DEPTH) { in qm_eq_aeq_dump() 1373 dev_err(dev, "Please input aeqe num (0-%d)", QM_Q_DEPTH - 1); in qm_eq_aeq_dump() [all …]
|
D | qm.h | 81 #define QM_Q_DEPTH 1024 macro
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/zip/ |
D | zip_crypto.c | 259 req_q->size = QM_Q_DEPTH; in hisi_zip_create_req_q() 313 tmp->sgl_pool = hisi_acc_create_sgl_pool(dev, QM_Q_DEPTH << 1, in hisi_zip_create_sgl_pool()
|
D | zip_main.c | 80 #define HZIP_SQ_SIZE (HZIP_SQE_SIZE * QM_Q_DEPTH)
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 107 id = idr_alloc(&ctx->req_idr, NULL, 0, QM_Q_DEPTH, GFP_ATOMIC); in hpre_alloc_req_id() 436 return hpre_ctx_set(ctx, qp, QM_Q_DEPTH); in hpre_ctx_init()
|