Home
last modified time | relevance | path

Searched refs:dc_base (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/arch/arm/mach-uniphier/dram/
Dumc-ld4.c80 static int umc_dramcont_init(void __iomem *dc_base, void __iomem *ca_base, in umc_dramcont_init() argument
117 writel(umc_cmdctla_plus[freq_e], dc_base + UMC_CMDCTLA); in umc_dramcont_init()
118 writel(umc_cmdctlb_plus[freq_e], dc_base + UMC_CMDCTLB); in umc_dramcont_init()
119 writel(umc_spcctla[freq_e][size_e], dc_base + UMC_SPCCTLA); in umc_dramcont_init()
120 writel(umc_spcctlb[freq_e], dc_base + UMC_SPCCTLB); in umc_dramcont_init()
121 writel(umc_rdatactl[freq_e], dc_base + UMC_RDATACTL_D0); in umc_dramcont_init()
122 writel(0x04060806, dc_base + UMC_WDATACTL_D0); in umc_dramcont_init()
123 writel(0x04a02000, dc_base + UMC_DATASET); in umc_dramcont_init()
125 writel(0x00400020, dc_base + UMC_DCCGCTL); in umc_dramcont_init()
126 writel(0x00000003, dc_base + 0x7000); in umc_dramcont_init()
[all …]
Dumc-pro4.c72 static int umc_dramcont_init(void __iomem *dc_base, void __iomem *ca_base, in umc_dramcont_init() argument
102 writel(0x66bb0f17, dc_base + UMC_CMDCTLA); in umc_dramcont_init()
103 writel(0x18c6aa44, dc_base + UMC_CMDCTLB); in umc_dramcont_init()
104 writel(umc_spcctla[size_e], dc_base + UMC_SPCCTLA); in umc_dramcont_init()
105 writel(0x00ff0008, dc_base + UMC_SPCCTLB); in umc_dramcont_init()
106 writel(0x000c00ae, dc_base + UMC_RDATACTL_D0); in umc_dramcont_init()
107 writel(0x000c00ae, dc_base + UMC_RDATACTL_D1); in umc_dramcont_init()
108 writel(0x04060802, dc_base + UMC_WDATACTL_D0); in umc_dramcont_init()
109 writel(0x04060802, dc_base + UMC_WDATACTL_D1); in umc_dramcont_init()
110 writel(0x04a02000, dc_base + UMC_DATASET); in umc_dramcont_init()
[all …]
Dumc-sld8.c83 static int umc_dramcont_init(void __iomem *dc_base, void __iomem *ca_base, in umc_dramcont_init() argument
119 dc_base + UMC_CMDCTLA); in umc_dramcont_init()
121 dc_base + UMC_CMDCTLB); in umc_dramcont_init()
122 writel(umc_spcctla[freq_e][size_e], dc_base + UMC_SPCCTLA); in umc_dramcont_init()
123 writel(umc_spcctlb[freq_e], dc_base + UMC_SPCCTLB); in umc_dramcont_init()
124 writel(umc_rdatactl[freq_e], dc_base + UMC_RDATACTL_D0); in umc_dramcont_init()
125 writel(0x04060806, dc_base + UMC_WDATACTL_D0); in umc_dramcont_init()
126 writel(0x04a02000, dc_base + UMC_DATASET); in umc_dramcont_init()
128 writel(0x00400020, dc_base + UMC_DCCGCTL); in umc_dramcont_init()
129 writel(0x00000003, dc_base + 0x7000); in umc_dramcont_init()
[all …]
Dumc-pxs2.c410 static void umc_set_system_latency(void __iomem *dc_base, int phy_latency) in umc_set_system_latency() argument
415 val = readl(dc_base + UMC_RDATACTL_D0); in umc_set_system_latency()
433 writel(val, dc_base + UMC_RDATACTL_D0); in umc_set_system_latency()
434 writel(val, dc_base + UMC_RDATACTL_D1); in umc_set_system_latency()
436 readl(dc_base + UMC_RDATACTL_D1); /* relax */ in umc_set_system_latency()
440 static void umc_refresh_ctrl(void __iomem *dc_base, int enable) in umc_refresh_ctrl() argument
444 tmp = readl(dc_base + UMC_SPCSETB); in umc_refresh_ctrl()
452 writel(tmp, dc_base + UMC_SPCSETB); in umc_refresh_ctrl()
464 static int umc_dc_init(void __iomem *dc_base, enum dram_freq freq, in umc_dc_init() argument
486 writel(umc_cmdctla[freq], dc_base + UMC_CMDCTLA); in umc_dc_init()
[all …]