Searched refs:cqe (Results 1 – 2 of 2) sorted by relevance
81 #define QM_CQE_PHASE(cqe) (((cqe)->w7) & QM_FVT_CFG_RDY_BIT) argument357 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() local837 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()
142 struct qm_cqe *cqe; member