Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/crypto/hisilicon/
Dqm.c576 qp_curr = atomic_read(&qp->qp_status.flags); in qm_qp_avail_state()
889 if (qp->qp_status.cq_head == QM_Q_DEPTH - 1) { in qm_cq_head_update()
890 qp->qp_status.cqc_phase = !qp->qp_status.cqc_phase; in qm_cq_head_update()
891 qp->qp_status.cq_head = 0; in qm_cq_head_update()
893 qp->qp_status.cq_head++; in qm_cq_head_update()
899 if (unlikely(atomic_read(&qp->qp_status.flags) == QP_STOP)) in qm_poll_qp()
908 struct qm_cqe *cqe = qp->cqe + qp->qp_status.cq_head; in qm_poll_qp()
910 while (QM_CQE_PHASE(cqe) == qp->qp_status.cqc_phase) { in qm_poll_qp()
915 cqe = qp->cqe + qp->qp_status.cq_head; in qm_poll_qp()
917 qp->qp_status.cq_head, 0); in qm_poll_qp()
[all …]
/linux-5.19.10/include/linux/
Dhisi_acc_qm.h357 struct hisi_qp_status qp_status; member
/linux-5.19.10/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c249 atomic_inc(&qp->qp_status.used); in sec_req_cb()
272 atomic_read(&qp_ctx->qp->qp_status.used) && in sec_bd_send()
280 atomic_read(&qp_ctx->qp->qp_status.used) && !ret) { in sec_bd_send()
1387 atomic_read(&qp_ctx->qp->qp_status.used) && in sec_back_req_clear()