Lines Matching refs:ccm_base
238 static void __init imx6q_mmdc_ch1_mask_handshake(void __iomem *ccm_base) in imx6q_mmdc_ch1_mask_handshake() argument
242 reg = readl_relaxed(ccm_base + CCM_CCDR); in imx6q_mmdc_ch1_mask_handshake()
244 writel_relaxed(reg, ccm_base + CCM_CCDR); in imx6q_mmdc_ch1_mask_handshake()
252 static void mmdc_ch1_disable(void __iomem *ccm_base) in mmdc_ch1_disable() argument
266 reg = readl_relaxed(ccm_base + CCM_CCSR); in mmdc_ch1_disable()
268 writel_relaxed(reg, ccm_base + CCM_CCSR); in mmdc_ch1_disable()
271 static void mmdc_ch1_reenable(void __iomem *ccm_base) in mmdc_ch1_reenable() argument
276 reg = readl_relaxed(ccm_base + CCM_CCSR); in mmdc_ch1_reenable()
278 writel_relaxed(reg, ccm_base + CCM_CCSR); in mmdc_ch1_reenable()
312 static void init_ldb_clks(struct device_node *np, void __iomem *ccm_base) in init_ldb_clks() argument
318 reg = readl_relaxed(ccm_base + CCM_CS2CDR); in init_ldb_clks()
360 mmdc_ch1_disable(ccm_base); in init_ldb_clks()
363 reg = readl_relaxed(ccm_base + CCM_CS2CDR); in init_ldb_clks()
368 writel_relaxed(reg, ccm_base + CCM_CS2CDR); in init_ldb_clks()
371 mmdc_ch1_reenable(ccm_base); in init_ldb_clks()