Home
last modified time | relevance | path

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

/arch/arm/mach-imx/
Dpm-imx27.c19 void __iomem *ccm_base; in mx27_suspend_enter() local
24 ccm_base = of_iomap(np, 0); in mx27_suspend_enter()
25 BUG_ON(!ccm_base); in mx27_suspend_enter()
30 cscr = imx_readl(ccm_base); in mx27_suspend_enter()
32 imx_writel(cscr, ccm_base); in mx27_suspend_enter()
Dpm-imx6.c62 static void __iomem *ccm_base; variable
225 struct imx6_pm_base ccm_base; member
234 u32 val = readl_relaxed(ccm_base + CGPR); in imx6_set_int_mem_clk_lpm()
239 writel_relaxed(val, ccm_base + CGPR); in imx6_set_int_mem_clk_lpm()
253 val = readl_relaxed(ccm_base + CCR); in imx6_enable_rbc()
256 writel_relaxed(val, ccm_base + CCR); in imx6_enable_rbc()
259 val = readl_relaxed(ccm_base + CCR); in imx6_enable_rbc()
262 writel(val, ccm_base + CCR); in imx6_enable_rbc()
280 val = readl_relaxed(ccm_base + CLPCR); in imx6q_enable_wb()
283 writel_relaxed(val, ccm_base + CLPCR); in imx6q_enable_wb()
[all …]
Dcpu-imx27.c25 void __iomem *ccm_base; in mx27_read_cpu_rev() local
30 ccm_base = of_iomap(np, 0); in mx27_read_cpu_rev()
32 BUG_ON(!ccm_base); in mx27_read_cpu_rev()
38 val = imx_readl(ccm_base + SYSCTRL_OFFSET + SYS_CHIP_ID); in mx27_read_cpu_rev()
Dpm-imx5.c133 static void __iomem *ccm_base; variable
152 ccm_clpcr = imx_readl(ccm_base + MXC_CCM_CLPCR) & in mx5_cpu_lp_set()
194 imx_writel(ccm_clpcr, ccm_base + MXC_CCM_CLPCR); in mx5_cpu_lp_set()
388 ccm_base = ioremap(data->ccm_addr, SZ_16K); in imx5_pm_common_init()
391 WARN_ON(!ccm_base || !cortex_base || !gpc_base); in imx5_pm_common_init()