Lines Matching defs:cpu_pmu
31 static struct nds32_pmu *cpu_pmu; variable
229 struct nds32_pmu *cpu_pmu = (struct nds32_pmu *)dev; in nds32_pmu_handle_irq() local
287 static inline int nds32_pfm_counter_valid(struct nds32_pmu *cpu_pmu, int idx) in nds32_pfm_counter_valid()
417 struct nds32_pmu *cpu_pmu = to_nds32_pmu(event->pmu); in nds32_pmu_enable_event() local
468 struct nds32_pmu *cpu_pmu = to_nds32_pmu(event->pmu); in nds32_pmu_disable_event() local
497 struct nds32_pmu *cpu_pmu = to_nds32_pmu(event->pmu); in nds32_pmu_read_counter() local
526 struct nds32_pmu *cpu_pmu = to_nds32_pmu(event->pmu); in nds32_pmu_write_counter() local
595 static void nds32_pmu_start(struct nds32_pmu *cpu_pmu) in nds32_pmu_start()
612 static void nds32_pmu_stop(struct nds32_pmu *cpu_pmu) in nds32_pmu_stop()
641 static void nds32_pmu_init(struct nds32_pmu *cpu_pmu) in nds32_pmu_init()
661 static int device_pmu_init(struct nds32_pmu *cpu_pmu) in device_pmu_init()
1071 static int cpu_pmu_request_irq(struct nds32_pmu *cpu_pmu, irq_handler_t handler) in cpu_pmu_request_irq()
1096 static void cpu_pmu_free_irq(struct nds32_pmu *cpu_pmu) in cpu_pmu_free_irq()
1106 static void cpu_pmu_init(struct nds32_pmu *cpu_pmu) in cpu_pmu_init()