Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/hisilicon/
H A Dhisi_qm.c81 #define QM_CQE_PHASE(cqe) (((cqe)->w7) & QM_FVT_CFG_RDY_BIT) argument
357 free(qp->cqe); in qp_free()
373 qp->cqe = memalign(HISI_QM_ALIGN32, cq_size); in qp_alloc()
374 if (!qp->cqe) { in qp_alloc()
379 qp->cqe_dma = virt_to_phys(qp->cqe); in qp_alloc()
726 memset(qp->cqe, 0, sizeof(struct qm_cqe) * HISI_QM_Q_DEPTH); in hisi_qm_create_qp()
830 struct qm_cqe *cqe = NULL; in hisi_qp_recv() local
837 cqe = qp->cqe + qp->cq_head; in hisi_qp_recv()
838 if (QM_CQE_PHASE(cqe) == qp->cqc_phase) { in hisi_qp_recv()
840 sqe = (void *)((vaddr_t)qp->sqe + qm->sqe_size * cqe->sq_head); in hisi_qp_recv()
H A Dhisi_qm.h142 struct qm_cqe *cqe; member