Lines Matching refs:ccm_base
64 static void __iomem *ccm_base; variable
227 struct imx6_pm_base ccm_base; member
236 u32 val = readl_relaxed(ccm_base + CGPR); in imx6_set_int_mem_clk_lpm()
241 writel_relaxed(val, ccm_base + CGPR); in imx6_set_int_mem_clk_lpm()
255 val = readl_relaxed(ccm_base + CCR); in imx6_enable_rbc()
258 writel_relaxed(val, ccm_base + CCR); in imx6_enable_rbc()
261 val = readl_relaxed(ccm_base + CCR); in imx6_enable_rbc()
264 writel(val, ccm_base + CCR); in imx6_enable_rbc()
282 val = readl_relaxed(ccm_base + CLPCR); in imx6q_enable_wb()
285 writel_relaxed(val, ccm_base + CLPCR); in imx6q_enable_wb()
288 val = readl_relaxed(ccm_base + CCR); in imx6q_enable_wb()
291 writel_relaxed(val, ccm_base + CCR); in imx6q_enable_wb()
296 u32 val = readl_relaxed(ccm_base + CLPCR); in imx6_set_lpm()
356 writel_relaxed(val, ccm_base + CLPCR); in imx6_set_lpm()
524 pm_info->ccm_base.vbase = ccm_base; in imx6q_suspend_init()
602 WARN_ON(!ccm_base); in imx6_pm_common_init()
653 ccm_base = of_iomap(np, 0); in imx6_pm_ccm_init()
654 BUG_ON(!ccm_base); in imx6_pm_ccm_init()
660 val = readl_relaxed(ccm_base + CLPCR); in imx6_pm_ccm_init()
662 writel_relaxed(val, ccm_base + CLPCR); in imx6_pm_ccm_init()