Lines Matching refs:dram_info
22 struct dram_info { struct
125 struct dram_info dram_info; variable
143 static void rkclk_ddr_reset(struct dram_info *dram, in rkclk_ddr_reset()
154 static void rkclk_set_dpll(struct dram_info *dram, unsigned int hz) in rkclk_set_dpll()
198 static void rkclk_configure_ddr(struct dram_info *dram, in rkclk_configure_ddr()
247 static void set_ctl_address_map(struct dram_info *dram, in set_ctl_address_map()
306 int read_mr(struct dram_info *dram, u32 rank, u32 mr_num) in read_mr()
317 static u32 check_rd_gate(struct dram_info *dram) in check_rd_gate()
352 static int data_training(struct dram_info *dram, u32 cs, u32 dramtype) in data_training()
375 static void dram_set_bw(struct dram_info *dram, u32 bw) in dram_set_bw()
380 static void set_ddrconfig(struct dram_info *dram, u32 ddrconfig) in set_ddrconfig()
417 static void dram_all_config(struct dram_info *dram, in dram_all_config()
433 static void enable_low_power(struct dram_info *dram, in enable_low_power()
485 static int sdram_init_(struct dram_info *dram, in sdram_init_()
566 static int dram_detect_cap(struct dram_info *dram, in dram_detect_cap()
647 static int sdram_init_detect(struct dram_info *dram, in sdram_init_detect()
700 dram_info.phy = (void *)DDR_PHY_BASE_ADDR; in sdram_init()
701 dram_info.pctl = (void *)DDRC_BASE_ADDR; in sdram_init()
702 dram_info.grf = (void *)GRF_BASE_ADDR; in sdram_init()
703 dram_info.cru = (void *)CRU_BASE_ADDR; in sdram_init()
704 dram_info.msch = (void *)SERVER_MSCH0_BASE_ADDR; in sdram_init()
705 dram_info.ddr_grf = (void *)DDR_GRF_BASE_ADDR; in sdram_init()
706 dram_info.pmugrf = (void *)PMUGRF_BASE_ADDR; in sdram_init()
709 ret = sdram_init_detect(&dram_info, sdram_params); in sdram_init()
725 struct dram_info *priv = dev_get_priv(dev); in px30_dmc_probe()
738 struct dram_info *priv = dev_get_priv(dev); in px30_dmc_get_info()
760 .priv_auto = sizeof(struct dram_info),