Home
last modified time | relevance | path

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

/openbmc/linux/arch/sh/kernel/cpu/sh4a/
H A Dperf_event.c14 #define PPC_CCBR(idx) (0xff200800 + (sizeof(u32) * idx)) macro
236 tmp = __raw_readl(PPC_CCBR(idx)); in sh4a_pmu_disable()
238 __raw_writel(tmp, PPC_CCBR(idx)); in sh4a_pmu_disable()
250 tmp = __raw_readl(PPC_CCBR(idx)); in sh4a_pmu_enable()
252 __raw_writel(tmp, PPC_CCBR(idx)); in sh4a_pmu_enable()
254 __raw_writel(__raw_readl(PPC_CCBR(idx)) | CCBR_DUC, PPC_CCBR(idx)); in sh4a_pmu_enable()
262 __raw_writel(__raw_readl(PPC_CCBR(i)) & ~CCBR_DUC, PPC_CCBR(i)); in sh4a_pmu_disable_all()
270 __raw_writel(__raw_readl(PPC_CCBR(i)) | CCBR_DUC, PPC_CCBR(i)); in sh4a_pmu_enable_all()