Searched refs:ca_base (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/arch/arm/mach-uniphier/dram/ |
H A D | umc-ld4.c | 80 static int umc_dramcont_init(void __iomem *dc_base, void __iomem *ca_base, in umc_dramcont_init() argument 124 writel(0x00000000, ca_base + 0x2300); in umc_dramcont_init() 133 writel(0x80000201, ca_base + 0xc20); in umc_dramcont_init() 144 static int umc_ch_init(void __iomem *dc_base, void __iomem *ca_base, in umc_ch_init() argument 165 return umc_dramcont_init(dc_base, ca_base, freq, size, ddr3plus); in umc_ch_init() 171 void __iomem *ca_base = umc_base + 0x00001000; in uniphier_ld4_umc_init() local 177 ret = umc_ch_init(dc_base, ca_base, bd->dram_freq, in uniphier_ld4_umc_init() 185 ca_base += 0x00001000; in uniphier_ld4_umc_init()
|
H A D | umc-pro4.c | 72 static int umc_dramcont_init(void __iomem *dc_base, void __iomem *ca_base, in umc_dramcont_init() argument 111 writel(0x00000000, ca_base + 0x2300); in umc_dramcont_init() 119 writel(0x80000201, ca_base + 0xc20); in umc_dramcont_init() 130 static int umc_ch_init(void __iomem *dc_base, void __iomem *ca_base, in umc_ch_init() argument 158 return umc_dramcont_init(dc_base, ca_base, freq, size / (width / 16), in umc_ch_init() 165 void __iomem *ca_base = umc_base + 0x00001000; in uniphier_pro4_umc_init() local 171 ret = umc_ch_init(dc_base, ca_base, bd->dram_freq, in uniphier_pro4_umc_init() 180 ca_base += 0x00001000; in uniphier_pro4_umc_init()
|
H A D | umc-sld8.c | 83 static int umc_dramcont_init(void __iomem *dc_base, void __iomem *ca_base, in umc_dramcont_init() argument 127 writel(0x00000000, ca_base + 0x2300); in umc_dramcont_init() 136 writel(0x80000201, ca_base + 0xc20); in umc_dramcont_init() 147 static int umc_ch_init(void __iomem *dc_base, void __iomem *ca_base, in umc_ch_init() argument 168 return umc_dramcont_init(dc_base, ca_base, freq, size, ddr3plus); in umc_ch_init() 174 void __iomem *ca_base = umc_base + 0x00001000; in uniphier_sld8_umc_init() local 180 ret = umc_ch_init(dc_base, ca_base, bd->dram_freq, in uniphier_sld8_umc_init() 188 ca_base += 0x00001000; in uniphier_sld8_umc_init()
|