Home
last modified time | relevance | path

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

/linux/drivers/crypto/hisilicon/
H A Dqm.c989 if (qp->qp_status.cq_head == qp->cq_depth - 1) { in qm_cq_head_update()
990 qp->qp_status.cqc_phase = !qp->qp_status.cqc_phase; in qm_cq_head_update()
991 qp->qp_status.cq_head = 0; in qm_cq_head_update()
993 qp->qp_status.cq_head++; in qm_cq_head_update()
999 struct qm_cqe *cqe = qp->cqe + qp->qp_status.cq_head; in qm_poll_req_cb()
1002 while (QM_CQE_PHASE(cqe) == qp->qp_status.cqc_phase) { in qm_poll_req_cb()
1007 cqe = qp->cqe + qp->qp_status.cq_head; in qm_poll_req_cb()
1009 qp->qp_status.cq_head, 0); in qm_poll_req_cb()
1010 atomic_dec(&qp->qp_status.used); in qm_poll_req_cb()
1016 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.h467 struct hisi_qp_status qp_status; member
/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c209 if (atomic_read(&qp_ctx->qp->qp_status.used) == qp_ctx->qp->sq_depth - 1) in qp_send_message()
213 if (atomic_read(&qp_ctx->qp->qp_status.used) == qp_ctx->qp->sq_depth - 1) { in qp_send_message()
291 const struct sec_sqe *sqe = qp->msg[qp->qp_status.cq_head]; in sec_req_cb()