Lines Matching refs:pmu_hw_events
33 static DEFINE_PER_CPU(struct pmu_hw_events, cpu_hw_events);
230 struct pmu_hw_events *cpuc = cpu_pmu->get_hw_events(); in nds32_pmu_handle_irq()
418 struct pmu_hw_events *events = cpu_pmu->get_hw_events(); in nds32_pmu_enable_event()
469 struct pmu_hw_events *events = cpu_pmu->get_hw_events(); in nds32_pmu_disable_event()
551 static int nds32_pmu_get_event_idx(struct pmu_hw_events *cpuc, in nds32_pmu_get_event_idx()
599 struct pmu_hw_events *events = cpu_pmu->get_hw_events(); in nds32_pmu_start()
616 struct pmu_hw_events *events = cpu_pmu->get_hw_events(); in nds32_pmu_stop()
697 struct pmu_hw_events *hw_events = nds32_pmu->get_hw_events(); in nds32_pmu_enable()
751 validate_event(struct pmu *pmu, struct pmu_hw_events *hw_events, in validate_event()
774 struct pmu_hw_events fake_pmu; in validate_group()
909 struct pmu_hw_events *hw_events = nds32_pmu->get_hw_events(); in nds32_pmu_add()
987 struct pmu_hw_events *hw_events = nds32_pmu->get_hw_events(); in nds32_pmu_del()
1066 static struct pmu_hw_events *cpu_pmu_get_cpu_events(void) in cpu_pmu_get_cpu_events()
1109 struct pmu_hw_events *events = &per_cpu(cpu_hw_events, cpu); in cpu_pmu_init()