Lines Matching refs:arm_pmu
102 static DEFINE_PER_CPU(struct arm_pmu *, cpu_armpmu);
200 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_event_set_period()
242 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_event_update()
272 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_stop()
288 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_start()
313 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_del()
329 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_add()
365 struct arm_pmu *armpmu; in validate_event()
419 struct arm_pmu *armpmu; in armpmu_dispatch_irq()
444 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in __hw_perf_event_init()
500 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_event_init()
525 struct arm_pmu *armpmu = to_arm_pmu(pmu); in armpmu_enable()
539 struct arm_pmu *armpmu = to_arm_pmu(pmu); in armpmu_disable()
555 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_filter_match()
569 struct arm_pmu *armpmu = to_arm_pmu(dev_get_drvdata(dev)); in cpus_show()
694 static int armpmu_get_cpu_irq(struct arm_pmu *pmu, int cpu) in armpmu_get_cpu_irq()
708 struct arm_pmu *pmu = hlist_entry_safe(node, struct arm_pmu, node); in arm_perf_starting_cpu()
727 struct arm_pmu *pmu = hlist_entry_safe(node, struct arm_pmu, node); in arm_perf_teardown_cpu()
743 static void cpu_pm_pmu_setup(struct arm_pmu *armpmu, unsigned long cmd) in cpu_pm_pmu_setup()
786 struct arm_pmu *armpmu = container_of(b, struct arm_pmu, cpu_pm_nb); in cpu_pm_pmu_notify()
820 static int cpu_pm_pmu_register(struct arm_pmu *cpu_pmu) in cpu_pm_pmu_register()
826 static void cpu_pm_pmu_unregister(struct arm_pmu *cpu_pmu) in cpu_pm_pmu_unregister()
831 static inline int cpu_pm_pmu_register(struct arm_pmu *cpu_pmu) { return 0; } in cpu_pm_pmu_register()
832 static inline void cpu_pm_pmu_unregister(struct arm_pmu *cpu_pmu) { } in cpu_pm_pmu_unregister()
835 static int cpu_pmu_init(struct arm_pmu *cpu_pmu) in cpu_pmu_init()
857 static void cpu_pmu_destroy(struct arm_pmu *cpu_pmu) in cpu_pmu_destroy()
864 static struct arm_pmu *__armpmu_alloc(gfp_t flags) in __armpmu_alloc()
866 struct arm_pmu *pmu; in __armpmu_alloc()
919 struct arm_pmu *armpmu_alloc(void) in armpmu_alloc()
924 struct arm_pmu *armpmu_alloc_atomic(void) in armpmu_alloc_atomic()
930 void armpmu_free(struct arm_pmu *pmu) in armpmu_free()
936 int armpmu_register(struct arm_pmu *pmu) in armpmu_register()