Lines Matching refs:dmc_base
25 static void __iomem *dmc_base[2]; variable
203 reg = (dmc_base[0] + 0x30); in s5pv210_set_refresh()
205 reg = (dmc_base[1] + 0x30); in s5pv210_set_refresh()
528 mem_type = check_mem_type(dmc_base[0]); in s5pv210_cpu_init()
537 s5pv210_dram_conf[0].refresh = (readl_relaxed(dmc_base[0] + 0x30) * 1000); in s5pv210_cpu_init()
540 s5pv210_dram_conf[1].refresh = (readl_relaxed(dmc_base[1] + 0x30) * 1000); in s5pv210_cpu_init()
634 if (id < 0 || id >= ARRAY_SIZE(dmc_base)) { in s5pv210_cpufreq_probe()
641 dmc_base[id] = of_iomap(np, 0); in s5pv210_cpufreq_probe()
642 if (!dmc_base[id]) { in s5pv210_cpufreq_probe()
650 for (id = 0; id < ARRAY_SIZE(dmc_base); ++id) { in s5pv210_cpufreq_probe()
651 if (!dmc_base[id]) { in s5pv210_cpufreq_probe()
663 for (id = 0; id < ARRAY_SIZE(dmc_base); ++id) in s5pv210_cpufreq_probe()
664 if (dmc_base[id]) { in s5pv210_cpufreq_probe()
665 iounmap(dmc_base[id]); in s5pv210_cpufreq_probe()
666 dmc_base[id] = NULL; in s5pv210_cpufreq_probe()