Home
last modified time | relevance | path

Searched refs:os_reg (Results 1 – 14 of 14) sorted by relevance

/u-boot/arch/arm/mach-rockchip/rk3036/
A Dsdram_rk3036.c701 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 Dgrf_rk3368.h102 u32 os_reg[4]; member
105 check_member(rk3368_pmu_grf, os_reg[0], 0x200);
A Dgrf_rk3036.h62 unsigned int os_reg[8]; member
A Dgrf_rk322x.h51 unsigned int os_reg[8]; member
A Dgrf_px30.h136 unsigned int os_reg[12]; member
A Dgrf_rk3188.h61 u32 os_reg[8]; member
A Dgrf_rk3328.h95 u32 os_reg[8]; member
A Dgrf_rk3128.h66 unsigned int os_reg[8]; member
A Dgrf_rk3288.h93 u32 os_reg[4]; member
/u-boot/drivers/ram/rockchip/
A Dsdram_rk3328.c314 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 Dsdram_px30.c427 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 Dsdram_rk3128.c28 (phys_addr_t)&priv->grf->os_reg[1]); in rk3128_dmc_probe()
A Dsdram_rk322x.c597 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 Ddmc-rk3368.c795 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