Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/hisilicon/
H A Dqm.c494 qp_curr = atomic_read(&qp->qp_status.flags); in qm_qp_avail_state()
873 if (qp->qp_status.cq_head == qp->cq_depth - 1) { in qm_cq_head_update()
874 qp->qp_status.cqc_phase = !qp->qp_status.cqc_phase; in qm_cq_head_update()
875 qp->qp_status.cq_head = 0; in qm_cq_head_update()
877 qp->qp_status.cq_head++; in qm_cq_head_update()
883 struct qm_cqe *cqe = qp->cqe + qp->qp_status.cq_head; in qm_poll_req_cb()
886 while (QM_CQE_PHASE(cqe) == qp->qp_status.cqc_phase) { in qm_poll_req_cb()
891 cqe = qp->cqe + qp->qp_status.cq_head; in qm_poll_req_cb()
893 qp->qp_status.cq_head, 0); in qm_poll_req_cb()
894 atomic_dec(&qp->qp_status.used); in qm_poll_req_cb()
[all …]
/openbmc/linux/include/linux/
H A Dhisi_acc_qm.h415 struct hisi_qp_status qp_status; member
/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c257 atomic_inc(&qp->qp_status.used); in sec_req_cb()
280 atomic_read(&qp_ctx->qp->qp_status.used) && in sec_bd_send()
287 atomic_read(&qp_ctx->qp->qp_status.used) && !ret) { in sec_bd_send()
1432 atomic_read(&qp_ctx->qp->qp_status.used) && in sec_back_req_clear()