Home
last modified time | relevance | path

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

/linux/drivers/crypto/hisilicon/
H A Dqm.c921 if (qp->qp_status.cq_head == qp->cq_depth - 1) { in qm_cq_head_update()
922 qp->qp_status.cqc_phase = !qp->qp_status.cqc_phase; in qm_cq_head_update()
923 qp->qp_status.cq_head = 0; in qm_cq_head_update()
925 qp->qp_status.cq_head++; in qm_cq_head_update()
931 struct qm_cqe *cqe = qp->cqe + qp->qp_status.cq_head; in qm_poll_req_cb()
934 while (QM_CQE_PHASE(cqe) == qp->qp_status.cqc_phase) { in qm_poll_req_cb()
939 cqe = qp->cqe + qp->qp_status.cq_head; in qm_poll_req_cb()
941 qp->qp_status.cq_head, 0); in qm_poll_req_cb()
942 atomic_dec(&qp->qp_status.used); in qm_poll_req_cb()
948 qm_db(qm, qp->qp_id, QM_DOORBELL_CMD_CQ, qp->qp_status.cq_head, 1); in qm_poll_req_cb()
[all …]
/linux/include/linux/
H A Dhisi_acc_qm.h463 struct hisi_qp_status qp_status; member