Searched refs:os_reg (Results 1 – 14 of 14) sorted by relevance
/u-boot/arch/arm/mach-rockchip/rk3036/ |
A D | sdram_rk3036.c | 701 u32 os_reg = 0; in sdram_all_config() local 708 os_reg = config.ddr_type << DDR_TYPE_SHIFT | in sdram_all_config() 717 writel(os_reg, &priv->grf->os_reg[1]); in sdram_all_config() 722 u32 size, os_reg, cs0_row, cs1_row, col, bank, rank; in sdram_size() local 725 os_reg = readl(&grf->os_reg[1]); in sdram_size() 727 cs0_row = 13 + ((os_reg >> DDR_CS0_ROW_SHIFT) & DDR_CS0_ROW_MASK); in sdram_size() 728 cs1_row = 13 + ((os_reg >> DDR_CS1_ROW_SHIFT) & DDR_CS1_ROW_MASK); in sdram_size() 729 col = 9 + ((os_reg >> DDR_COL_SHIFT) & DDR_COL_MASK); in sdram_size() 730 bank = 3 - ((os_reg >> DDR_BANK_SHIFT) & DDR_BANK_MASK); in sdram_size() 731 rank = 1 + ((os_reg >> DDR_RANK_CNT_SHIFT) & DDR_RANK_CNT_MASK); in sdram_size()
|
/u-boot/arch/arm/include/asm/arch-rockchip/ |
A D | grf_rk3368.h | 102 u32 os_reg[4]; member 105 check_member(rk3368_pmu_grf, os_reg[0], 0x200);
|
A D | grf_rk3036.h | 62 unsigned int os_reg[8]; member
|
A D | grf_rk322x.h | 51 unsigned int os_reg[8]; member
|
A D | grf_px30.h | 136 unsigned int os_reg[12]; member
|
A D | grf_rk3188.h | 61 u32 os_reg[8]; member
|
A D | grf_rk3328.h | 95 u32 os_reg[8]; member
|
A D | grf_rk3128.h | 66 unsigned int os_reg[8]; member
|
A D | grf_rk3288.h | 93 u32 os_reg[4]; member
|
/u-boot/drivers/ram/rockchip/ |
A D | sdram_rk3328.c | 314 writel(sys_reg2, &dram->grf->os_reg[2]); in dram_all_config() 315 writel(sys_reg3, &dram->grf->os_reg[3]); in dram_all_config() 501 sys_reg = readl(&dram->grf->os_reg[2]); in sdram_init_detect() 502 sys_reg3 = readl(&dram->grf->os_reg[3]); in sdram_init_detect() 505 writel(sys_reg, &dram->grf->os_reg[2]); in sdram_init_detect() 506 writel(sys_reg3, &dram->grf->os_reg[3]); in sdram_init_detect() 585 (phys_addr_t)&priv->grf->os_reg[2]); in rk3328_dmc_probe()
|
A D | sdram_px30.c | 427 writel(sys_reg2, &dram->pmugrf->os_reg[2]); in dram_all_config() 428 writel(sys_reg3, &dram->pmugrf->os_reg[3]); in dram_all_config() 672 sys_reg = readl(&dram->pmugrf->os_reg[2]); in sdram_init_detect() 673 sys_reg3 = readl(&dram->pmugrf->os_reg[3]); in sdram_init_detect() 676 writel(sys_reg, &dram->pmugrf->os_reg[2]); in sdram_init_detect() 677 writel(sys_reg3, &dram->pmugrf->os_reg[3]); in sdram_init_detect() 731 rockchip_sdram_size((phys_addr_t)&priv->pmugrf->os_reg[2]); in px30_dmc_probe()
|
A D | sdram_rk3128.c | 28 (phys_addr_t)&priv->grf->os_reg[1]); in rk3128_dmc_probe()
|
A D | sdram_rk322x.c | 597 writel(sys_reg, &dram->grf->os_reg[2]); in dram_all_config() 817 (phys_addr_t)&priv->grf->os_reg[2]); in rk322x_dmc_probe()
|
A D | dmc-rk3368.c | 795 writel(sys_reg, &pmugrf->os_reg[2]); in dram_all_config() 965 rockchip_sdram_size((phys_addr_t)&priv->pmugrf->os_reg[2]); in rk3368_dmc_probe()
|
Completed in 23 milliseconds