Searched refs:hha_pmu (Results 1 – 2 of 2) sorted by relevance
321 hha_pmu->index_id = id; in hisi_hha_pmu_init_data()324 hha_pmu->ccl_id = -1; in hisi_hha_pmu_init_data()332 hha_pmu->identifier = readl(hha_pmu->base + HHA_VERSION); in hisi_hha_pmu_init_data()491 hha_pmu->dev = &pdev->dev; in hisi_hha_pmu_dev_probe()492 hha_pmu->on_cpu = -1; in hisi_hha_pmu_dev_probe()499 struct hisi_pmu *hha_pmu; in hisi_hha_pmu_probe() local503 hha_pmu = devm_kzalloc(&pdev->dev, sizeof(*hha_pmu), GFP_KERNEL); in hisi_hha_pmu_probe()504 if (!hha_pmu) in hisi_hha_pmu_probe()514 hha_pmu->sccl_id, hha_pmu->index_id); in hisi_hha_pmu_probe()519 &hha_pmu->node); in hisi_hha_pmu_probe()[all …]
114 static void hisi_ddrc_pmu_write_evtype(struct hisi_pmu *hha_pmu, int idx, in hisi_ddrc_pmu_write_evtype() argument119 if (hha_pmu->identifier >= HISI_PMU_V2) { in hisi_ddrc_pmu_write_evtype()121 writel(type, hha_pmu->base + offset); in hisi_ddrc_pmu_write_evtype()