Home
last modified time | relevance | path

Searched refs:PPC_CCBR (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/arch/sh/kernel/cpu/sh4a/
Dperf_event.c17 #define PPC_CCBR(idx) (0xff200800 + (sizeof(u32) * idx)) macro
239 tmp = __raw_readl(PPC_CCBR(idx)); in sh4a_pmu_disable()
241 __raw_writel(tmp, PPC_CCBR(idx)); in sh4a_pmu_disable()
253 tmp = __raw_readl(PPC_CCBR(idx)); in sh4a_pmu_enable()
255 __raw_writel(tmp, PPC_CCBR(idx)); in sh4a_pmu_enable()
257 __raw_writel(__raw_readl(PPC_CCBR(idx)) | CCBR_DUC, PPC_CCBR(idx)); in sh4a_pmu_enable()
265 __raw_writel(__raw_readl(PPC_CCBR(i)) & ~CCBR_DUC, PPC_CCBR(i)); in sh4a_pmu_disable_all()
273 __raw_writel(__raw_readl(PPC_CCBR(i)) | CCBR_DUC, PPC_CCBR(i)); in sh4a_pmu_enable_all()