Home
last modified time | relevance | path

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

/u-boot/arch/arm/mach-rockchip/
A Dsdram.c87 u32 sys_reg2 = readl(reg); in rockchip_sdram_size() local
89 u32 ch_num = 1 + ((sys_reg2 >> SYS_REG_NUM_CH_SHIFT) in rockchip_sdram_size()
93 debug("%s %x %x\n", __func__, (u32)reg, sys_reg2); in rockchip_sdram_size()
95 rank = 1 + (sys_reg2 >> SYS_REG_RANK_SHIFT(ch) & in rockchip_sdram_size()
97 cs0_col = 9 + (sys_reg2 >> SYS_REG_COL_SHIFT(ch) & in rockchip_sdram_size()
106 SYS_REG_EXTEND_CS0_ROW_MASK) << 2) + (sys_reg2 >> in rockchip_sdram_size()
111 cs0_row = 13 + (sys_reg2 >> in rockchip_sdram_size()
123 cs1_row = 13 + (sys_reg2 >> in rockchip_sdram_size()
135 bw = (2 >> ((sys_reg2 >> SYS_REG_BW_SHIFT(ch)) & in rockchip_sdram_size()
137 row_3_4 = sys_reg2 >> SYS_REG_ROW_3_4_SHIFT(ch) & in rockchip_sdram_size()
[all …]
/u-boot/drivers/ram/rockchip/
A Dsdram_rk3328.c308 u32 sys_reg2 = 0; in dram_all_config() local
312 sdram_org_config(cap_info, &sdram_params->base, &sys_reg2, in dram_all_config()
314 writel(sys_reg2, &dram->grf->os_reg[2]); in dram_all_config()
A Dsdram_px30.c421 u32 sys_reg2 = 0; in dram_all_config() local
425 sdram_org_config(cap_info, &sdram_params->base, &sys_reg2, in dram_all_config()
427 writel(sys_reg2, &dram->pmugrf->os_reg[2]); in dram_all_config()
A Dsdram_rk3399.c1497 u32 sys_reg2 = 0; in dram_all_config() local
1511 &params->base, &sys_reg2, in dram_all_config()
1533 writel(sys_reg2, &dram->pmugrf->os_reg2); in dram_all_config()

Completed in 12 milliseconds