Lines Matching refs:memcfg
40 const struct ar934x_mem_config *memcfg; in ar934x_ddr_init() local
90 memcfg = &ar934x_mem_config[memtype]; in ar934x_ddr_init()
92 writel(memcfg->config1, ddr_regs + AR71XX_DDR_REG_CONFIG); in ar934x_ddr_init()
95 writel(memcfg->config2, ddr_regs + AR71XX_DDR_REG_CONFIG2); in ar934x_ddr_init()
101 writel(memcfg->mode | 0x100, ddr_regs + AR71XX_DDR_REG_MODE); in ar934x_ddr_init()
108 writel(memcfg->mode | 0x100, ddr_regs + AR71XX_DDR_REG_EMR); in ar934x_ddr_init()
126 writel(memcfg->mode, ddr_regs + AR71XX_DDR_REG_MODE); in ar934x_ddr_init()
135 writel(memcfg->tap, ddr_regs + AR71XX_DDR_REG_TAP_CTRL0); in ar934x_ddr_init()
136 writel(memcfg->tap, ddr_regs + AR71XX_DDR_REG_TAP_CTRL1); in ar934x_ddr_init()
140 writel(memcfg->tap, in ar934x_ddr_init()
142 writel(memcfg->tap, in ar934x_ddr_init()