diff options
Diffstat (limited to 'drivers/devfreq/exynos/exynos_ppmu.h')
-rw-r--r-- | drivers/devfreq/exynos/exynos_ppmu.h | 8 |
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 | ||
72 | struct busfreq_ppmu_data { | ||
73 | struct exynos_ppmu *ppmu; | ||
74 | int ppmu_end; | ||
75 | }; | ||
76 | |||
72 | void exynos_ppmu_reset(void __iomem *ppmu_base); | 77 | void exynos_ppmu_reset(void __iomem *ppmu_base); |
73 | void exynos_ppmu_setevent(void __iomem *ppmu_base, unsigned int ch, | 78 | void exynos_ppmu_setevent(void __iomem *ppmu_base, unsigned int ch, |
74 | unsigned int evt); | 79 | unsigned int evt); |
75 | void exynos_ppmu_start(void __iomem *ppmu_base); | 80 | void exynos_ppmu_start(void __iomem *ppmu_base); |
76 | void exynos_ppmu_stop(void __iomem *ppmu_base); | 81 | void exynos_ppmu_stop(void __iomem *ppmu_base); |
77 | unsigned int exynos_ppmu_read(void __iomem *ppmu_base, unsigned int ch); | 82 | unsigned int exynos_ppmu_read(void __iomem *ppmu_base, unsigned int ch); |
83 | void busfreq_mon_reset(struct busfreq_ppmu_data *ppmu_data); | ||
84 | void exynos_read_ppmu(struct busfreq_ppmu_data *ppmu_data); | ||
85 | int exynos_get_busier_ppmu(struct busfreq_ppmu_data *ppmu_data); | ||
78 | #endif /* __DEVFREQ_EXYNOS_PPMU_H */ | 86 | #endif /* __DEVFREQ_EXYNOS_PPMU_H */ |