Lines Matching refs:riscv_pmu
344 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_get_idx()
403 struct riscv_pmu *rvpmu = to_riscv_pmu(event->pmu); in pmu_sbi_ctr_clear_idx()
607 static inline void pmu_sbi_stop_all(struct riscv_pmu *pmu) in pmu_sbi_stop_all()
617 static inline void pmu_sbi_stop_hw_ctrs(struct riscv_pmu *pmu) in pmu_sbi_stop_hw_ctrs()
632 static inline void pmu_sbi_start_overflow_mask(struct riscv_pmu *pmu, in pmu_sbi_start_overflow_mask()
678 struct riscv_pmu *pmu; in pmu_sbi_ovf_handler()
766 struct riscv_pmu *pmu = hlist_entry_safe(node, struct riscv_pmu, node); in pmu_sbi_starting_cpu()
804 static int pmu_sbi_setup_irqs(struct riscv_pmu *pmu, struct platform_device *pdev) in pmu_sbi_setup_irqs()
850 struct riscv_pmu *rvpmu = container_of(b, struct riscv_pmu, riscv_pm_nb); in riscv_pm_pmu_notify()
886 static int riscv_pm_pmu_register(struct riscv_pmu *pmu) in riscv_pm_pmu_register()
892 static void riscv_pm_pmu_unregister(struct riscv_pmu *pmu) in riscv_pm_pmu_unregister()
897 static inline int riscv_pm_pmu_register(struct riscv_pmu *pmu) { return 0; } in riscv_pm_pmu_register()
898 static inline void riscv_pm_pmu_unregister(struct riscv_pmu *pmu) { } in riscv_pm_pmu_unregister()
901 static void riscv_pmu_destroy(struct riscv_pmu *pmu) in riscv_pmu_destroy()
1024 struct riscv_pmu *pmu = NULL; in pmu_sbi_device_probe()