Lines Matching refs:ddrc_regs
32 struct ddrc *const ddrc_regs = (struct ddrc *)DDRC_IPS_BASE_ADDR; in mx7_dram_cfg() local
44 writel(ddrc_regs_val->mstr, &ddrc_regs->mstr); in mx7_dram_cfg()
45 writel(ddrc_regs_val->rfshtmg, &ddrc_regs->rfshtmg); in mx7_dram_cfg()
47 writel(ddrc_regs_val->init1, &ddrc_regs->init1); in mx7_dram_cfg()
48 writel(ddrc_regs_val->init0, &ddrc_regs->init0); in mx7_dram_cfg()
49 writel(ddrc_regs_val->init3, &ddrc_regs->init3); in mx7_dram_cfg()
50 writel(ddrc_regs_val->init4, &ddrc_regs->init4); in mx7_dram_cfg()
51 writel(ddrc_regs_val->init5, &ddrc_regs->init5); in mx7_dram_cfg()
52 writel(ddrc_regs_val->rankctl, &ddrc_regs->rankctl); in mx7_dram_cfg()
53 writel(ddrc_regs_val->dramtmg0, &ddrc_regs->dramtmg0); in mx7_dram_cfg()
54 writel(ddrc_regs_val->dramtmg1, &ddrc_regs->dramtmg1); in mx7_dram_cfg()
55 writel(ddrc_regs_val->dramtmg2, &ddrc_regs->dramtmg2); in mx7_dram_cfg()
56 writel(ddrc_regs_val->dramtmg3, &ddrc_regs->dramtmg3); in mx7_dram_cfg()
57 writel(ddrc_regs_val->dramtmg4, &ddrc_regs->dramtmg4); in mx7_dram_cfg()
58 writel(ddrc_regs_val->dramtmg5, &ddrc_regs->dramtmg5); in mx7_dram_cfg()
59 writel(ddrc_regs_val->dramtmg8, &ddrc_regs->dramtmg8); in mx7_dram_cfg()
60 writel(ddrc_regs_val->zqctl0, &ddrc_regs->zqctl0); in mx7_dram_cfg()
61 writel(ddrc_regs_val->dfitmg0, &ddrc_regs->dfitmg0); in mx7_dram_cfg()
62 writel(ddrc_regs_val->dfitmg1, &ddrc_regs->dfitmg1); in mx7_dram_cfg()
63 writel(ddrc_regs_val->dfiupd0, &ddrc_regs->dfiupd0); in mx7_dram_cfg()
64 writel(ddrc_regs_val->dfiupd1, &ddrc_regs->dfiupd1); in mx7_dram_cfg()
65 writel(ddrc_regs_val->dfiupd2, &ddrc_regs->dfiupd2); in mx7_dram_cfg()
66 writel(ddrc_regs_val->addrmap0, &ddrc_regs->addrmap0); in mx7_dram_cfg()
67 writel(ddrc_regs_val->addrmap1, &ddrc_regs->addrmap1); in mx7_dram_cfg()
68 writel(ddrc_regs_val->addrmap4, &ddrc_regs->addrmap4); in mx7_dram_cfg()
69 writel(ddrc_regs_val->addrmap5, &ddrc_regs->addrmap5); in mx7_dram_cfg()
70 writel(ddrc_regs_val->addrmap6, &ddrc_regs->addrmap6); in mx7_dram_cfg()
71 writel(ddrc_regs_val->odtcfg, &ddrc_regs->odtcfg); in mx7_dram_cfg()
72 writel(ddrc_regs_val->odtmap, &ddrc_regs->odtmap); in mx7_dram_cfg()
113 struct ddrc *const ddrc_regs = (struct ddrc *)DDRC_IPS_BASE_ADDR; in imx_ddr_size() local
118 reg_val = readl(&ddrc_regs->mstr); in imx_ddr_size()
127 reg_val = readl(&ddrc_regs->addrmap2); in imx_ddr_size()
140 reg_val = readl(&ddrc_regs->addrmap3); in imx_ddr_size()
153 reg_val = readl(&ddrc_regs->addrmap4); in imx_ddr_size()
161 reg_val = readl(&ddrc_regs->addrmap5); in imx_ddr_size()
174 reg_val = readl(&ddrc_regs->addrmap6); in imx_ddr_size()
188 reg_val = readl(&ddrc_regs->addrmap1); in imx_ddr_size()