Lines Matching refs:pmu
155 struct pmu pmu; member
163 #define to_l3cache_pmu(p) (container_of(p, struct l3cache_pmu, pmu))
195 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); in qcom_l3_cache__64bit_counter_start()
227 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); in qcom_l3_cache__64bit_counter_stop()
241 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); in qcom_l3_cache__64bit_counter_update()
276 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); in qcom_l3_cache__32bit_counter_start()
302 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); in qcom_l3_cache__32bit_counter_stop()
318 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); in qcom_l3_cache__32bit_counter_update()
427 static void qcom_l3_cache__pmu_enable(struct pmu *pmu) in qcom_l3_cache__pmu_enable() argument
429 struct l3cache_pmu *l3pmu = to_l3cache_pmu(pmu); in qcom_l3_cache__pmu_enable()
437 static void qcom_l3_cache__pmu_disable(struct pmu *pmu) in qcom_l3_cache__pmu_disable() argument
439 struct l3cache_pmu *l3pmu = to_l3cache_pmu(pmu); in qcom_l3_cache__pmu_disable()
457 if (leader->pmu != event->pmu && !is_software_event(leader)) in qcom_l3_cache__validate_event_group()
466 if (sibling->pmu != event->pmu) in qcom_l3_cache__validate_event_group()
480 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); in qcom_l3_cache__event_init()
486 if (event->attr.type != event->pmu->type) in qcom_l3_cache__event_init()
549 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); in qcom_l3_cache__event_add()
577 struct l3cache_pmu *l3pmu = to_l3cache_pmu(event->pmu); in qcom_l3_cache__event_del()
724 perf_pmu_migrate_context(&l3pmu->pmu, cpu, target); in qcom_l3_cache_pmu_offline_cpu()
749 l3pmu->pmu = (struct pmu) { in qcom_l3_cache_pmu_probe()
791 ret = perf_pmu_register(&l3pmu->pmu, name, -1); in qcom_l3_cache_pmu_probe()
797 dev_info(&pdev->dev, "Registered %s, type: %d\n", name, l3pmu->pmu.type); in qcom_l3_cache_pmu_probe()