Searched refs:pctl_timing (Results 1 – 6 of 6) sorted by relevance
/external/u-boot/drivers/ram/rockchip/ |
D | dmc-rk3368.c | 37 struct rk3288_sdram_pctl_timing pctl_timing; member 237 mr[0] = DDR3_MR0_WR(params->pctl_timing.twr) | in memory_init() 238 DDR3_MR0_CL(params->pctl_timing.tcl) | in memory_init() 241 mr[2] = DDR3_MR2_TWL(params->pctl_timing.tcwl); in memory_init() 451 struct rk3288_sdram_pctl_timing *pctl_timing = ¶ms->pctl_timing; in pctl_calc_timings() local 463 pctl_timing->togcnt1u = DIV_ROUND_UP(freq, 2 * MHz); in pctl_calc_timings() 464 pctl_timing->togcnt100n = DIV_ROUND_UP(freq / 10, 2 * MHz); in pctl_calc_timings() 466 pctl_timing->tinit = 200; /* 200 usec */ in pctl_calc_timings() 467 pctl_timing->trsth = 500; /* 500 usec */ in pctl_calc_timings() 468 pctl_timing->trefi = 78; /* 7.8usec = 78 * 100ns */ in pctl_calc_timings() [all …]
|
D | sdram_rk3288.c | 51 struct rk3288_sdram_pctl_timing pctl_timing; member 246 copy_to_reg(&pctl->togcnt1u, &sdram_params->pctl_timing.togcnt1u, in pctl_cfg() 247 sizeof(sdram_params->pctl_timing)); in pctl_cfg() 250 writel(sdram_params->pctl_timing.tcl - 1, in pctl_cfg() 252 writel(sdram_params->pctl_timing.tcwl, in pctl_cfg() 267 writel(sdram_params->pctl_timing.tcl - 3, in pctl_cfg() 270 writel(sdram_params->pctl_timing.tcl - 2, in pctl_cfg() 273 writel(sdram_params->pctl_timing.tcwl - 1, in pctl_cfg() 530 writel(sdram_params->pctl_timing.trefi, &pctl->trefi); in data_training() 978 (u32 *)¶ms->pctl_timing, in rk3288_dmc_ofdata_to_platdata() [all …]
|
D | sdram_rk3188.c | 48 struct rk3288_sdram_pctl_timing pctl_timing; member 230 copy_to_reg(&pctl->togcnt1u, &sdram_params->pctl_timing.togcnt1u, in pctl_cfg() 231 sizeof(sdram_params->pctl_timing)); in pctl_cfg() 235 writel(sdram_params->pctl_timing.tcl - 3, in pctl_cfg() 238 writel(sdram_params->pctl_timing.tcl - 2, in pctl_cfg() 241 writel(sdram_params->pctl_timing.tcwl - 1, in pctl_cfg() 472 writel(sdram_params->pctl_timing.trefi, &pctl->trefi); in data_training() 822 (u32 *)¶ms->pctl_timing, in rk3188_dmc_ofdata_to_platdata() 823 sizeof(params->pctl_timing) / sizeof(u32)); in rk3188_dmc_ofdata_to_platdata() 858 memcpy(&plat->pctl_timing, of_plat->rockchip_pctl_timing, in conv_of_platdata() [all …]
|
D | sdram_rk322x.c | 45 struct rk322x_pctl_timing pctl_timing; member 423 copy_to_reg(&pctl->togcnt1u, &sdram_params->pctl_timing.togcnt1u, in pctl_cfg() 475 struct rk322x_pctl_timing *pctl_timing = &sdram_params->pctl_timing; in phy_cfg() local 497 writel(pctl_timing->tcwl, &ddr_phy->ddrphy_reg[0xc]); in phy_cfg() 726 (u32 *)¶ms->pctl_timing, in rk322x_dmc_ofdata_to_platdata() 727 sizeof(params->pctl_timing) / sizeof(u32)); in rk322x_dmc_ofdata_to_platdata() 762 memcpy(&plat->pctl_timing, of_plat->rockchip_pctl_timing, in conv_of_platdata() 763 sizeof(plat->pctl_timing)); in conv_of_platdata()
|
/external/u-boot/arch/arm/include/asm/arch-rockchip/ |
D | sdram_rk3036.h | 295 struct rk3036_pctl_timing pctl_timing; member
|
/external/u-boot/arch/arm/mach-rockchip/rk3036/ |
D | sdram_rk3036.c | 608 copy_to_reg(&pctl->togcnt1u, &ddr_timing.pctl_timing.togcnt1u, in pctl_cfg()
|