Lines Matching refs:hpre
378 struct hpre *hpre = container_of(file->debug, struct hpre, debug); in hpre_file_to_qm() local
380 return &hpre->qm; in hpre_file_to_qm()
591 struct hpre *hpre = container_of(qm, struct hpre, qm); in hpre_create_debugfs_file() local
592 struct hpre_debug *dbg = &hpre->debug; in hpre_create_debugfs_file()
685 struct hpre *hpre = container_of(qm, struct hpre, qm); in hpre_dfx_debug_init() local
686 struct hpre_dfx *dfx = hpre->debug.dfx; in hpre_dfx_debug_init()
809 static int hpre_pf_probe_init(struct hpre *hpre) in hpre_pf_probe_init() argument
811 struct hisi_qm *qm = &hpre->qm; in hpre_pf_probe_init()
826 static int hpre_probe_init(struct hpre *hpre) in hpre_probe_init() argument
828 struct hisi_qm *qm = &hpre->qm; in hpre_probe_init()
832 ret = hpre_pf_probe_init(hpre); in hpre_probe_init()
843 struct hpre *hpre; in hpre_probe() local
846 hpre = devm_kzalloc(&pdev->dev, sizeof(*hpre), GFP_KERNEL); in hpre_probe()
847 if (!hpre) in hpre_probe()
850 qm = &hpre->qm; in hpre_probe()
857 ret = hpre_probe_init(hpre); in hpre_probe()