Home
last modified time | relevance | path

Searched refs:ddr_freq_mhz (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/board/freescale/bsc9131rdb/
Dddr.c64 ulong ddr_freq, ddr_freq_mhz; in fixed_sdram() local
67 ddr_freq_mhz = ddr_freq / 1000000; in fixed_sdram()
73 if ((ddr_freq_mhz > fixed_ddr_parm_0[i].min_freq) && in fixed_sdram()
74 (ddr_freq_mhz <= fixed_ddr_parm_0[i].max_freq)) { in fixed_sdram()
/external/u-boot/board/freescale/bsc9132qds/
Dddr.c87 ulong ddr_freq, ddr_freq_mhz; in fixed_sdram() local
90 ddr_freq_mhz = ddr_freq / 1000000; in fixed_sdram()
96 if ((ddr_freq_mhz > fixed_ddr_parm_0[i].min_freq) && in fixed_sdram()
97 (ddr_freq_mhz <= fixed_ddr_parm_0[i].max_freq)) { in fixed_sdram()
/external/u-boot/board/freescale/corenet_ds/
Dddr.c32 ulong ddr_freq, ddr_freq_mhz; in fixed_sdram() local
35 ddr_freq_mhz = ddr_freq / 1000000; in fixed_sdram()
41 if ((ddr_freq_mhz > fixed_ddr_parm_0[i].min_freq) && in fixed_sdram()
42 (ddr_freq_mhz <= fixed_ddr_parm_0[i].max_freq)) { in fixed_sdram()
/external/u-boot/board/freescale/ls1043ardb/
Dddr.c179 ulong ddr_freq, ddr_freq_mhz; in fixed_sdram() local
182 ddr_freq_mhz = ddr_freq / 1000000; in fixed_sdram()
188 if ((ddr_freq_mhz > fixed_ddr_parm_0[i].min_freq) && in fixed_sdram()
189 (ddr_freq_mhz <= fixed_ddr_parm_0[i].max_freq)) { in fixed_sdram()
/external/u-boot/board/freescale/p1010rdb/
Dddr.c104 ulong ddr_freq, ddr_freq_mhz; in fixed_sdram() local
112 ddr_freq_mhz = ddr_freq / 1000000; in fixed_sdram()
118 if ((ddr_freq_mhz > fixed_ddr_parm_0[i].min_freq) && in fixed_sdram()
119 (ddr_freq_mhz <= fixed_ddr_parm_0[i].max_freq)) { in fixed_sdram()
/external/u-boot/drivers/ram/rockchip/
Dsdram_rk3188.c260 uint ddr_freq_mhz = sdram_params->base.ddr_freq / 1000000; in phy_cfg() local
264 dinit2 = DIV_ROUND_UP(ddr_freq_mhz * 200000, 1000); in phy_cfg()
270 writel(DIV_ROUND_UP(ddr_freq_mhz * 5120, 1000) << PRT_DLLLOCK_SHIFT | in phy_cfg()
271 DIV_ROUND_UP(ddr_freq_mhz * 50, 1000) << PRT_DLLSRST_SHIFT | in phy_cfg()
273 writel(DIV_ROUND_UP(ddr_freq_mhz * 500000, 1000) << PRT_DINIT0_SHIFT | in phy_cfg()
274 DIV_ROUND_UP(ddr_freq_mhz * 400, 1000) << PRT_DINIT1_SHIFT, in phy_cfg()
277 DIV_ROUND_UP(ddr_freq_mhz * 1000, 1000) << PRT_DINIT3_SHIFT, in phy_cfg()
Dsdram_rk3288.c294 uint ddr_freq_mhz = sdram_params->base.ddr_freq / 1000000; in phy_cfg() local
298 dinit2 = DIV_ROUND_UP(ddr_freq_mhz * 200000, 1000); in phy_cfg()
307 writel(DIV_ROUND_UP(ddr_freq_mhz * 5120, 1000) << PRT_DLLLOCK_SHIFT | in phy_cfg()
308 DIV_ROUND_UP(ddr_freq_mhz * 50, 1000) << PRT_DLLSRST_SHIFT | in phy_cfg()
310 writel(DIV_ROUND_UP(ddr_freq_mhz * 500000, 1000) << PRT_DINIT0_SHIFT | in phy_cfg()
311 DIV_ROUND_UP(ddr_freq_mhz * 400, 1000) << PRT_DINIT1_SHIFT, in phy_cfg()
314 DIV_ROUND_UP(ddr_freq_mhz * 1000, 1000) << PRT_DINIT3_SHIFT, in phy_cfg()