Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/
H A Dqm.c430 qp_curr = atomic_read(&qp->qp_status.flags); in qm_qp_avail_state()
611 if (qp->qp_status.cq_head == QM_Q_DEPTH - 1) { in qm_cq_head_update()
612 qp->qp_status.cqc_phase = !qp->qp_status.cqc_phase; in qm_cq_head_update()
613 qp->qp_status.cq_head = 0; in qm_cq_head_update()
615 qp->qp_status.cq_head++; in qm_cq_head_update()
627 struct qm_cqe *cqe = qp->cqe + qp->qp_status.cq_head; in qm_poll_qp()
629 while (QM_CQE_PHASE(cqe) == qp->qp_status.cqc_phase) { in qm_poll_qp()
634 cqe = qp->cqe + qp->qp_status.cq_head; in qm_poll_qp()
636 qp->qp_status.cq_head, 0); in qm_poll_qp()
637 atomic_dec(&qp->qp_status.used); in qm_poll_qp()
[all …]
H A Dqm.h277 struct hisi_qp_status qp_status; member
/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c166 atomic_inc(&qp->qp_status.used); in sec_req_cb()
200 atomic_read(&qp_ctx->qp->qp_status.used) && in sec_bd_send()
208 atomic_read(&qp_ctx->qp->qp_status.used) && !ret) { in sec_bd_send()
1072 atomic_read(&qp_ctx->qp->qp_status.used) && in sec_back_req_clear()