Lines Matching refs:hpre
14 #include "hpre.h"
407 * uacce_mode = 0 means hpre only register to crypto,
408 * uacce_mode = 1 means hpre both register to crypto and uacce.
540 * Or it may stay in D3 state when we bind and unbind hpre quickly,
753 /* disable hpre hw error interrupts */
777 /* enable hpre hw error interrupts */
783 struct hpre *hpre = container_of(file->debug, struct hpre, debug);
785 return &hpre->qm;
957 struct hpre *hpre = container_of(qm, struct hpre, qm);
958 struct hpre_debug *dbg = &hpre->debug;
1054 struct hpre *hpre = container_of(qm, struct hpre, qm);
1055 struct hpre_dfx *dfx = hpre->debug.dfx;
1170 pci_err(pdev, "Failed to init hpre qm configures!\n");
1185 pci_err(pdev, "Failed to set hpre algs!\n");
1342 static int hpre_pf_probe_init(struct hpre *hpre)
1344 struct hisi_qm *qm = &hpre->qm;
1363 static int hpre_probe_init(struct hpre *hpre)
1366 struct hisi_qm *qm = &hpre->qm;
1370 ret = hpre_pf_probe_init(hpre);
1386 struct hpre *hpre;
1389 hpre = devm_kzalloc(&pdev->dev, sizeof(*hpre), GFP_KERNEL);
1390 if (!hpre)
1393 qm = &hpre->qm;
1400 ret = hpre_probe_init(hpre);
1530 pr_err("hpre: can't register hisi hpre driver.\n");