Lines Matching refs:qm
124 dev_dbg(&qp_ctx->qp->qm->pdev->dev, "req cache is full!\n");
218 struct device *dev = &qp->qm->pdev->dev;
285 struct device *dev = &qp->qm->pdev->dev;
318 struct device *dev = &qp_ctx->qp->qm->pdev->dev;
339 struct device *dev = &qp_ctx->qp->qm->pdev->dev;
360 struct device *dev = &qp->qm->pdev->dev;
410 hisi_zip = container_of(qps[0]->qm, struct hisi_zip, qm);
502 dev = &tmp->qp->qm->pdev->dev;
515 hisi_acc_free_sgl_pool(&ctx->qp_ctx[HZIP_QPC_COMP].qp->qm->pdev->dev,
525 hisi_acc_free_sgl_pool(&ctx->qp_ctx[i].qp->qm->pdev->dev,
551 dev = &ctx->qp_ctx[0].qp->qm->pdev->dev;
601 static int hisi_zip_register_deflate(struct hisi_qm *qm)
605 if (!hisi_zip_alg_support(qm, HZIP_ALG_DEFLATE))
610 dev_err(&qm->pdev->dev, "failed to register to deflate (%d)!\n", ret);
615 static void hisi_zip_unregister_deflate(struct hisi_qm *qm)
617 if (!hisi_zip_alg_support(qm, HZIP_ALG_DEFLATE))
623 int hisi_zip_register_to_crypto(struct hisi_qm *qm)
631 ret = hisi_zip_register_deflate(qm);
640 void hisi_zip_unregister_from_crypto(struct hisi_qm *qm)
646 hisi_zip_unregister_deflate(qm);