/external/u-boot/drivers/ram/rockchip/ |
sdram_rk322x.c | 27 struct rk322x_ddr_pctl *pctl; member in struct:chan_info 153 static void send_command(struct rk322x_ddr_pctl *pctl, 156 writel((START_CMD | (rank << 20) | arg | cmd), &pctl->mcmd); 158 while (readl(&pctl->mcmd) & START_CMD) 165 struct rk322x_ddr_pctl *pctl = chan->pctl; local 169 send_command(pctl, 3, DESELECT_CMD, 0); 171 send_command(pctl, 3, PREA_CMD, 0); 172 send_command(pctl, 3, MRS_CMD, 177 send_command(pctl, 3, MRS_CMD 233 struct rk322x_ddr_pctl *pctl = chan->pctl; local 380 struct rk322x_ddr_pctl *pctl = dram->chan[0].pctl; local [all...] |
sdram_rk3188.c | 28 struct rk3288_ddr_pctl *pctl; member in struct:chan_info 172 static void dfi_cfg(struct rk3288_ddr_pctl *pctl, u32 dramtype) 174 writel(DFI_INIT_START, &pctl->dfistcfg0); 176 &pctl->dfistcfg1); 177 writel(DFI_PARITY_INTR_EN | DFI_PARITY_EN, &pctl->dfistcfg2); 179 &pctl->dfilpcfg0); 181 writel(2 << TCTRL_DELAY_TIME_SHIFT, &pctl->dfitctrldelay); 182 writel(1 << TPHY_WRDATA_TIME_SHIFT, &pctl->dfitphywrdata); 183 writel(0xf << TPHY_RDLAT_TIME_SHIFT, &pctl->dfitphyrdlat); 184 writel(2 << TDRAM_CLK_DIS_TIME_SHIFT, &pctl->dfitdramclkdis) 379 struct rk3288_ddr_pctl *pctl = chan->pctl; local 423 struct rk3288_ddr_pctl *pctl = chan->pctl; local 480 struct rk3288_ddr_pctl *pctl = chan->pctl; local 631 struct rk3288_ddr_pctl *pctl = chan->pctl; local 730 struct rk3288_ddr_pctl *pctl = chan->pctl; local [all...] |
sdram_rk3288.c | 30 struct rk3288_ddr_pctl *pctl; member in struct:chan_info 171 static void dfi_cfg(struct rk3288_ddr_pctl *pctl, u32 dramtype) 173 writel(DFI_INIT_START, &pctl->dfistcfg0); 175 &pctl->dfistcfg1); 176 writel(DFI_PARITY_INTR_EN | DFI_PARITY_EN, &pctl->dfistcfg2); 178 &pctl->dfilpcfg0); 180 writel(2 << TCTRL_DELAY_TIME_SHIFT, &pctl->dfitctrldelay); 181 writel(1 << TPHY_WRDATA_TIME_SHIFT, &pctl->dfitphywrdata); 182 writel(0xf << TPHY_RDLAT_TIME_SHIFT, &pctl->dfitphyrdlat); 183 writel(2 << TDRAM_CLK_DIS_TIME_SHIFT, &pctl->dfitdramclkdis) 437 struct rk3288_ddr_pctl *pctl = chan->pctl; local 481 struct rk3288_ddr_pctl *pctl = chan->pctl; local 538 struct rk3288_ddr_pctl *pctl = chan->pctl; local 676 struct rk3288_ddr_pctl *pctl = chan->pctl; local 806 struct rk3288_ddr_pctl *pctl = chan->pctl; local [all...] |
sdram_rk3399.c | 26 struct rk3399_ddr_pctl_regs *pctl; member in struct:chan_info 116 u32 *denali_ctl = chan->pctl->denali_ctl; 458 u32 *denali_ctl = chan->pctl->denali_ctl; 584 u32 *denali_ctl = chan->pctl->denali_ctl; 976 setbits_le32(&dram->chan[channel].pctl->denali_ctl[276], [all...] |
dmc-rk3368.c | 27 struct rk3368_ddr_pctl *pctl; member in struct:dram_info 192 static void send_command(struct rk3368_ddr_pctl *pctl, u32 rank, u32 cmd) 197 writel(mcmd, &pctl->mcmd); 198 while (readl(&pctl->mcmd) & START_CMD) 202 static void send_mrs(struct rk3368_ddr_pctl *pctl, 208 writel(mcmd, &pctl->mcmd); 209 while (readl(&pctl->mcmd) & START_CMD) 213 static int memory_init(struct rk3368_ddr_pctl *pctl, 221 * Power up DRAM by DDR_PCTL_POWCTL[0] register of PCTL and 223 * of PCTL 603 struct rk3368_ddr_pctl *pctl = priv->pctl; local 798 struct rk3368_ddr_pctl *pctl = priv->pctl; local 906 struct rk3368_ddr_pctl *pctl; local [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3368/drivers/ddr/ |
ddr_rk3368.c | 164 struct PCTL_SAVE_REG_TAG pctl; member in struct:BACKUP_REG_TAG 246 struct PCTL_SAVE_REG_TAG *pctl_tim = &p_ddr_reg->pctl; 432 /* pctl phy soft reset */
|
/external/u-boot/arch/arm/mach-rockchip/rk3036/ |
sdram_rk3036.c | 29 struct rk3036_ddr_pctl *pctl; member in struct:rk3036_sdram_priv 443 static void send_command(struct rk3036_ddr_pctl *pctl, 446 writel((START_CMD | (rank << 20) | arg | cmd), &pctl->mcmd); 448 while (readl(&pctl->mcmd) & START_CMD) 454 struct rk3036_ddr_pctl *pctl = priv->pctl; local 456 send_command(pctl, 3, DESELECT_CMD, 0); 458 send_command(pctl, 3, PREA_CMD, 0); 459 send_command(pctl, 3, MRS_CMD, 464 send_command(pctl, 3, MRS_CMD 485 struct rk3036_ddr_pctl *pctl = priv->pctl; local 518 struct rk3036_ddr_pctl *pctl = priv->pctl; local 550 struct rk3036_ddr_pctl *pctl = priv->pctl; local 580 struct rk3036_ddr_pctl *pctl = priv->pctl; local [all...] |