Searched refs:cpa_pmu (Results 1 – 1 of 1) sorted by relevance
195 cpa_pmu->ccl_id = -1; in hisi_cpa_pmu_init_data()196 cpa_pmu->sccl_id = -1; in hisi_cpa_pmu_init_data()198 if (IS_ERR(cpa_pmu->base)) in hisi_cpa_pmu_init_data()201 cpa_pmu->identifier = readl(cpa_pmu->base + CPA_VERSION); in hisi_cpa_pmu_init_data()294 cpa_pmu->dev = &pdev->dev; in hisi_cpa_pmu_dev_probe()295 cpa_pmu->on_cpu = -1; in hisi_cpa_pmu_dev_probe()302 struct hisi_pmu *cpa_pmu; in hisi_cpa_pmu_probe() local306 cpa_pmu = devm_kzalloc(&pdev->dev, sizeof(*cpa_pmu), GFP_KERNEL); in hisi_cpa_pmu_probe()307 if (!cpa_pmu) in hisi_cpa_pmu_probe()315 cpa_pmu->sicl_id, cpa_pmu->index_id); in hisi_cpa_pmu_probe()[all …]