aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/devfreq/exynos/exynos_ppmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/devfreq/exynos/exynos_ppmu.h')
-rw-r--r--drivers/devfreq/exynos/exynos_ppmu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/devfreq/exynos/exynos_ppmu.h b/drivers/devfreq/exynos/exynos_ppmu.h
index 7dfb221eaccd..71f17ba3563c 100644
--- a/drivers/devfreq/exynos/exynos_ppmu.h
+++ b/drivers/devfreq/exynos/exynos_ppmu.h
@@ -69,10 +69,18 @@ struct exynos_ppmu {
69 bool count_overflow[PPMU_PMNCNT_MAX]; 69 bool count_overflow[PPMU_PMNCNT_MAX];
70}; 70};
71 71
72struct busfreq_ppmu_data {
73 struct exynos_ppmu *ppmu;
74 int ppmu_end;
75};
76
72void exynos_ppmu_reset(void __iomem *ppmu_base); 77void exynos_ppmu_reset(void __iomem *ppmu_base);
73void exynos_ppmu_setevent(void __iomem *ppmu_base, unsigned int ch, 78void exynos_ppmu_setevent(void __iomem *ppmu_base, unsigned int ch,
74 unsigned int evt); 79 unsigned int evt);
75void exynos_ppmu_start(void __iomem *ppmu_base); 80void exynos_ppmu_start(void __iomem *ppmu_base);
76void exynos_ppmu_stop(void __iomem *ppmu_base); 81void exynos_ppmu_stop(void __iomem *ppmu_base);
77unsigned int exynos_ppmu_read(void __iomem *ppmu_base, unsigned int ch); 82unsigned int exynos_ppmu_read(void __iomem *ppmu_base, unsigned int ch);
83void busfreq_mon_reset(struct busfreq_ppmu_data *ppmu_data);
84void exynos_read_ppmu(struct busfreq_ppmu_data *ppmu_data);
85int exynos_get_busier_ppmu(struct busfreq_ppmu_data *ppmu_data);
78#endif /* __DEVFREQ_EXYNOS_PPMU_H */ 86#endif /* __DEVFREQ_EXYNOS_PPMU_H */