Home
last modified time | relevance | path

Searched refs:cs0_cap (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/drivers/ram/rockchip/
Dsdram_common.c381 ulong cs0_cap; in sdram_detect_cs1_row() local
385 cs0_cap = sdram_get_cs_cap(cap_info, 0, dram_type); in sdram_detect_cs1_row()
412 cs0_cap + in sdram_detect_cs1_row()
414 writel(0, CONFIG_SYS_SDRAM_BASE + cs0_cap); in sdram_detect_cs1_row()
419 ((readl(CONFIG_SYS_SDRAM_BASE + cs0_cap) & in sdram_detect_cs1_row()
Dsdram_rk3399.c1458 unsigned int cs0_cap = 0; in set_ddrconfig() local
1461 cs0_cap = (1 << (params->ch[channel].cap_info.cs0_row in set_ddrconfig()
1466 cs1_cap = cs0_cap >> (params->ch[channel].cap_info.cs0_row in set_ddrconfig()
1469 cs0_cap = cs0_cap * 3 / 4; in set_ddrconfig()
1474 writel(((cs0_cap / 32) & 0xff) | (((cs1_cap / 32) & 0xff) << 8), in set_ddrconfig()
1804 u64 cs0_cap; in lpddr4_mr_detect() local
1848 cs0_cap = (1 << (params->ch[channel].cap_info.bw in lpddr4_mr_detect()
1854 cs0_cap = cs0_cap * 3 / 4; in lpddr4_mr_detect()
1865 addr = (void __iomem *)(cs0_cap + 0x100); in lpddr4_mr_detect()
2566 static void dram_set_cs(const struct chan_info *chan, u32 cs_map, u32 cs0_cap, in dram_set_cs() argument
[all …]
/external/arm-trusted-firmware/plat/rockchip/rk3399/drivers/dram/
Dsuspend.c434 unsigned int cs0_cap = 0; in set_ddrconfig() local
437 cs0_cap = (1 << (ch->cs0_row + ch->col + ch->bk + ch->bw - 20)); in set_ddrconfig()
439 cs1_cap = cs0_cap >> (ch->cs0_row - ch->cs1_row); in set_ddrconfig()
441 cs0_cap = cs0_cap * 3 / 4; in set_ddrconfig()
448 ((cs0_cap / 32) & 0xff) | (((cs1_cap / 32) & 0xff) << 8)); in set_ddrconfig()