Searched refs:ppmu_base (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/devfreq/exynos/ |
H A D | exynos_ppmu.c | 18 void exynos_ppmu_reset(void __iomem *ppmu_base) exynos_ppmu_reset() argument 20 __raw_writel(PPMU_CYCLE_RESET | PPMU_COUNTER_RESET, ppmu_base); exynos_ppmu_reset() 26 ppmu_base + PPMU_CNTENS); exynos_ppmu_reset() 29 void exynos_ppmu_setevent(void __iomem *ppmu_base, unsigned int ch, exynos_ppmu_setevent() argument 32 __raw_writel(evt, ppmu_base + PPMU_BEVTSEL(ch)); exynos_ppmu_setevent() 35 void exynos_ppmu_start(void __iomem *ppmu_base) exynos_ppmu_start() argument 37 __raw_writel(PPMU_ENABLE, ppmu_base); exynos_ppmu_start() 40 void exynos_ppmu_stop(void __iomem *ppmu_base) exynos_ppmu_stop() argument 42 __raw_writel(PPMU_DISABLE, ppmu_base); exynos_ppmu_stop() 45 unsigned int exynos_ppmu_read(void __iomem *ppmu_base, unsigned int ch) exynos_ppmu_read() argument 50 total = ((__raw_readl(ppmu_base + PMCNT_OFFSET(ch)) << 8) | exynos_ppmu_read() 51 __raw_readl(ppmu_base + PMCNT_OFFSET(ch + 1))); exynos_ppmu_read() 53 total = __raw_readl(ppmu_base + PMCNT_OFFSET(ch)); exynos_ppmu_read() 63 void __iomem *ppmu_base = ppmu_data->ppmu[i].hw_base; busfreq_mon_reset() local 66 exynos_ppmu_reset(ppmu_base); busfreq_mon_reset() 70 exynos_ppmu_setevent(ppmu_base, PPMU_PMNCNT3, busfreq_mon_reset() 73 exynos_ppmu_start(ppmu_base); busfreq_mon_reset() 83 void __iomem *ppmu_base = ppmu_data->ppmu[i].hw_base; exynos_read_ppmu() local 85 exynos_ppmu_stop(ppmu_base); exynos_read_ppmu() 88 ppmu_data->ppmu[i].ccnt = __raw_readl(ppmu_base + PPMU_CCNT); exynos_read_ppmu() 95 exynos_ppmu_read(ppmu_base, j); exynos_read_ppmu()
|
H A D | exynos_ppmu.h | 77 void exynos_ppmu_reset(void __iomem *ppmu_base); 78 void exynos_ppmu_setevent(void __iomem *ppmu_base, unsigned int ch, 80 void exynos_ppmu_start(void __iomem *ppmu_base); 81 void exynos_ppmu_stop(void __iomem *ppmu_base); 82 unsigned int exynos_ppmu_read(void __iomem *ppmu_base, unsigned int ch);
|
Completed in 86 milliseconds