Home
last modified time | relevance | path

Searched refs:pctl_regs (Results 1 – 10 of 10) sorted by relevance

/external/u-boot/drivers/ram/rockchip/
Dsdram_pctl_px30.c139 u32 pctl_remodify_sdram_params(struct ddr_pctl_regs *pctl_regs, in pctl_remodify_sdram_params() argument
145 for (i = 0; pctl_regs->pctl[i][0] != 0xFFFFFFFF; i++) { in pctl_remodify_sdram_params()
146 if (pctl_regs->pctl[i][0] == 0) { in pctl_remodify_sdram_params()
147 tmp = pctl_regs->pctl[i][1];/* MSTR */ in pctl_remodify_sdram_params()
180 pctl_regs->pctl[tmp_adr][1] = tmp; in pctl_remodify_sdram_params()
185 int pctl_cfg(void __iomem *pctl_base, struct ddr_pctl_regs *pctl_regs, in pctl_cfg() argument
190 for (i = 0; pctl_regs->pctl[i][0] != 0xFFFFFFFF; i++) { in pctl_cfg()
191 writel(pctl_regs->pctl[i][1], in pctl_cfg()
192 pctl_base + pctl_regs->pctl[i][0]); in pctl_cfg()
Dsdram_rk3328.c362 pctl_cfg(dram->pctl, &sdram_params->pctl_regs, SR_IDLE, PD_IDLE); in sdram_init()
489 pctl_remodify_sdram_params(&sdram_params->pctl_regs, cap_info, in sdram_init_detect()
Dsdram_px30.c496 pctl_cfg(dram->pctl, &sdram_params->pctl_regs, SR_IDLE, PD_IDLE); in sdram_init_()
651 pctl_remodify_sdram_params(&sdram_params->pctl_regs, cap_info, in sdram_init_detect()
Dsdram_rk3399.c217 return reg ? &chan->pctl->denali_ctl : &params->pctl_regs.denali_ctl; in get_denali_ctl()
895 const u32 *params_ctl = params->pctl_regs.denali_ctl; in pctl_cfg()
2140 denali_ctl_params = params->pctl_regs.denali_ctl; in lpddr4_modify_param()
/external/u-boot/arch/arm/include/asm/arch-rockchip/
Dsdram_pctl_px30.h133 u32 pctl_remodify_sdram_params(struct ddr_pctl_regs *pctl_regs,
136 int pctl_cfg(void __iomem *pctl_base, struct ddr_pctl_regs *pctl_regs,
Dsdram_rk3399.h76 struct rk3399_ddr_pctl_regs pctl_regs; member
Dsdram_px30.h128 struct ddr_pctl_regs pctl_regs; member
Dsdram_rk3328.h260 struct ddr_pctl_regs pctl_regs; member
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/dram/
Ddram.h146 struct rk3399_ddr_pctl_regs pctl_regs; member
Dsuspend.c491 const uint32_t *params_ctl = sdram_params->pctl_regs.denali_ctl; in pctl_cfg()
697 params_ctl = sdram_params->pctl_regs.denali_ctl; in dmc_suspend()