Home
last modified time | relevance | path

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

/drivers/crypto/hisilicon/
Dqm.c452 if (qp->qp_status.cq_head == QM_Q_DEPTH - 1) { in qm_cq_head_update()
453 qp->qp_status.cqc_phase = !qp->qp_status.cqc_phase; in qm_cq_head_update()
454 qp->qp_status.cq_head = 0; in qm_cq_head_update()
456 qp->qp_status.cq_head++; in qm_cq_head_update()
462 struct qm_cqe *cqe = qp->cqe + qp->qp_status.cq_head; in qm_poll_qp()
465 while (QM_CQE_PHASE(cqe) == qp->qp_status.cqc_phase) { in qm_poll_qp()
469 cqe = qp->cqe + qp->qp_status.cq_head; in qm_poll_qp()
471 qp->qp_status.cq_head, 0); in qm_poll_qp()
472 atomic_dec(&qp->qp_status.used); in qm_poll_qp()
477 qp->qp_status.cq_head, 1); in qm_poll_qp()
[all …]
Dqm.h188 struct hisi_qp_status qp_status; member