Lines Matching refs:base

27 	void __iomem *base;  member
122 info->ppmu.base + PPMU_CNTENC); in exynos_ppmu_disable()
125 pmnc = __raw_readl(info->ppmu.base + PPMU_PMNC); in exynos_ppmu_disable()
127 __raw_writel(pmnc, info->ppmu.base + PPMU_PMNC); in exynos_ppmu_disable()
142 cntens = __raw_readl(info->ppmu.base + PPMU_CNTENS); in exynos_ppmu_set_event()
144 __raw_writel(cntens, info->ppmu.base + PPMU_CNTENS); in exynos_ppmu_set_event()
148 info->ppmu.base + PPMU_BEVTxSEL(id)); in exynos_ppmu_set_event()
151 pmnc = __raw_readl(info->ppmu.base + PPMU_PMNC); in exynos_ppmu_set_event()
158 __raw_writel(pmnc, info->ppmu.base + PPMU_PMNC); in exynos_ppmu_set_event()
174 pmnc = __raw_readl(info->ppmu.base + PPMU_PMNC); in exynos_ppmu_get_event()
176 __raw_writel(pmnc, info->ppmu.base + PPMU_PMNC); in exynos_ppmu_get_event()
179 edata->total_count = __raw_readl(info->ppmu.base + PPMU_CCNT); in exynos_ppmu_get_event()
187 = __raw_readl(info->ppmu.base + PPMU_PMNCT(id)); in exynos_ppmu_get_event()
191 ((__raw_readl(info->ppmu.base + PPMU_PMCNT3_HIGH) << 8) in exynos_ppmu_get_event()
192 | __raw_readl(info->ppmu.base + PPMU_PMCNT3_LOW)); in exynos_ppmu_get_event()
199 cntenc = __raw_readl(info->ppmu.base + PPMU_CNTENC); in exynos_ppmu_get_event()
201 __raw_writel(cntenc, info->ppmu.base + PPMU_CNTENC); in exynos_ppmu_get_event()
227 __raw_writel(clear, info->ppmu.base + PPMU_V2_FLAG); in exynos_ppmu_v2_disable()
228 __raw_writel(clear, info->ppmu.base + PPMU_V2_INTENC); in exynos_ppmu_v2_disable()
229 __raw_writel(clear, info->ppmu.base + PPMU_V2_CNTENC); in exynos_ppmu_v2_disable()
230 __raw_writel(clear, info->ppmu.base + PPMU_V2_CNT_RESET); in exynos_ppmu_v2_disable()
232 __raw_writel(0x0, info->ppmu.base + PPMU_V2_CIG_CFG0); in exynos_ppmu_v2_disable()
233 __raw_writel(0x0, info->ppmu.base + PPMU_V2_CIG_CFG1); in exynos_ppmu_v2_disable()
234 __raw_writel(0x0, info->ppmu.base + PPMU_V2_CIG_CFG2); in exynos_ppmu_v2_disable()
235 __raw_writel(0x0, info->ppmu.base + PPMU_V2_CIG_RESULT); in exynos_ppmu_v2_disable()
236 __raw_writel(0x0, info->ppmu.base + PPMU_V2_CNT_AUTO); in exynos_ppmu_v2_disable()
237 __raw_writel(0x0, info->ppmu.base + PPMU_V2_CH_EV0_TYPE); in exynos_ppmu_v2_disable()
238 __raw_writel(0x0, info->ppmu.base + PPMU_V2_CH_EV1_TYPE); in exynos_ppmu_v2_disable()
239 __raw_writel(0x0, info->ppmu.base + PPMU_V2_CH_EV2_TYPE); in exynos_ppmu_v2_disable()
240 __raw_writel(0x0, info->ppmu.base + PPMU_V2_CH_EV3_TYPE); in exynos_ppmu_v2_disable()
241 __raw_writel(0x0, info->ppmu.base + PPMU_V2_SM_ID_V); in exynos_ppmu_v2_disable()
242 __raw_writel(0x0, info->ppmu.base + PPMU_V2_SM_ID_A); in exynos_ppmu_v2_disable()
243 __raw_writel(0x0, info->ppmu.base + PPMU_V2_SM_OTHERS_V); in exynos_ppmu_v2_disable()
244 __raw_writel(0x0, info->ppmu.base + PPMU_V2_SM_OTHERS_A); in exynos_ppmu_v2_disable()
245 __raw_writel(0x0, info->ppmu.base + PPMU_V2_INTERRUPT_RESET); in exynos_ppmu_v2_disable()
248 pmnc = __raw_readl(info->ppmu.base + PPMU_V2_PMNC); in exynos_ppmu_v2_disable()
250 __raw_writel(pmnc, info->ppmu.base + PPMU_V2_PMNC); in exynos_ppmu_v2_disable()
262 cntens = __raw_readl(info->ppmu.base + PPMU_V2_CNTENS); in exynos_ppmu_v2_set_event()
264 __raw_writel(cntens, info->ppmu.base + PPMU_V2_CNTENS); in exynos_ppmu_v2_set_event()
272 info->ppmu.base + PPMU_V2_CH_EVx_TYPE(id)); in exynos_ppmu_v2_set_event()
276 info->ppmu.base + PPMU_V2_CH_EVx_TYPE(id)); in exynos_ppmu_v2_set_event()
281 pmnc = __raw_readl(info->ppmu.base + PPMU_V2_PMNC); in exynos_ppmu_v2_set_event()
291 __raw_writel(pmnc, info->ppmu.base + PPMU_V2_PMNC); in exynos_ppmu_v2_set_event()
306 pmnc = __raw_readl(info->ppmu.base + PPMU_V2_PMNC); in exynos_ppmu_v2_get_event()
308 __raw_writel(pmnc, info->ppmu.base + PPMU_V2_PMNC); in exynos_ppmu_v2_get_event()
311 edata->total_count = __raw_readl(info->ppmu.base + PPMU_V2_CCNT); in exynos_ppmu_v2_get_event()
317 load_count = __raw_readl(info->ppmu.base + PPMU_V2_PMNCT(id)); in exynos_ppmu_v2_get_event()
320 pmcnt_high = __raw_readl(info->ppmu.base + PPMU_V2_PMCNT3_HIGH); in exynos_ppmu_v2_get_event()
321 pmcnt_low = __raw_readl(info->ppmu.base + PPMU_V2_PMCNT3_LOW); in exynos_ppmu_v2_get_event()
329 cntenc = __raw_readl(info->ppmu.base + PPMU_V2_CNTENC); in exynos_ppmu_v2_get_event()
331 __raw_writel(cntenc, info->ppmu.base + PPMU_V2_CNTENC); in exynos_ppmu_v2_get_event()
431 info->ppmu.base = of_iomap(np, 0); in exynos_ppmu_parse_dt()
432 if (IS_ERR_OR_NULL(info->ppmu.base)) { in exynos_ppmu_parse_dt()
452 iounmap(info->ppmu.base); in exynos_ppmu_parse_dt()
504 iounmap(info->ppmu.base); in exynos_ppmu_probe()
514 iounmap(info->ppmu.base); in exynos_ppmu_remove()