Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/mach-sunxi/
H A Ddram_sun8i_a23.c29 static const struct dram_para dram_para = { variable
101 if (dram_para.tpr13 & 0x20) in mctl_init()
106 if (dram_para.clock >= 480) in mctl_init()
140 if (dram_para.clock <= 240 || !dram_para.odt_en) { in mctl_init()
144 if (dram_para.clock <= 240) { in mctl_init()
200 writel((dram_para.mr0 << 16) | dram_para.mr1, &mctl_ctl->init3); in mctl_init()
201 writel((dram_para.mr2 << 16) | dram_para.mr3, &mctl_ctl->init4); in mctl_init()
210 if (dram_para.tpr13 & 0x20) in mctl_init()
253 if (dram_para.odt_correction) { in mctl_init()
255 dram_para.odt_correction); in mctl_init()
[all …]
H A Ddram_sun8i_a33.c22 struct dram_para { struct
32 static void mctl_set_cr(struct dram_para *para) in mctl_set_cr() argument
46 static void auto_detect_dram_size(struct dram_para *para) in auto_detect_dram_size()
86 static void auto_set_timing_para(struct dram_para *para) in auto_set_timing_para()
179 static void mctl_data_train_cfg(struct dram_para *para) in mctl_data_train_cfg()
190 static int mctl_train_dram(struct dram_para *para) in mctl_train_dram()
201 static int mctl_channel_init(struct dram_para *para) in mctl_channel_init()
294 static void mctl_sys_init(struct dram_para *para) in mctl_sys_init()
334 struct dram_para para = { in sunxi_dram_init()
H A Ddram_sun50i_h6.c49 struct dram_para { struct
59 static void mctl_sys_init(struct dram_para *para); argument
60 static void mctl_com_init(struct dram_para *para);
62 static void mctl_channel_init(struct dram_para *para);
64 static void mctl_core_init(struct dram_para *para) in mctl_core_init()
291 static void mctl_sys_init(struct dram_para *para) in mctl_sys_init()
337 static void mctl_set_addrmap(struct dram_para *para) in mctl_set_addrmap()
416 static void mctl_com_init(struct dram_para *para) in mctl_com_init()
524 static void mctl_channel_init(struct dram_para *para) in mctl_channel_init()
709 unsigned long mctl_calc_size(struct dram_para *para) in mctl_calc_size()
[all …]
H A Ddram_sun8i_a83t.c20 struct dram_para { struct
31 static void mctl_set_cr(struct dram_para *para) in mctl_set_cr() argument
45 static void auto_detect_dram_size(struct dram_para *para) in auto_detect_dram_size()
85 static void auto_set_timing_para(struct dram_para *para) in auto_set_timing_para()
211 static void mctl_data_train_cfg(struct dram_para *para) in mctl_data_train_cfg()
222 static int mctl_train_dram(struct dram_para *para) in mctl_train_dram()
257 static int mctl_channel_init(struct dram_para *para) in mctl_channel_init()
388 static void mctl_sys_init(struct dram_para *para) in mctl_sys_init()
432 struct dram_para para = { in sunxi_dram_init()
H A Ddram_sunxi_dw.c27 static void mctl_set_bit_delays(struct dram_para *para) in mctl_set_bit_delays()
267 static void mctl_h3_zq_calibration_quirk(struct dram_para *para) in mctl_h3_zq_calibration_quirk()
334 static void mctl_set_cr(uint16_t socid, struct dram_para *para) in mctl_set_cr()
364 static void mctl_sys_init(uint16_t socid, struct dram_para *para) in mctl_sys_init()
419 static int mctl_channel_init(uint16_t socid, struct dram_para *para) in mctl_channel_init()
584 static void mctl_auto_detect_dram_size(uint16_t socid, struct dram_para *para) in mctl_auto_detect_dram_size()
691 struct dram_para para = { in sunxi_dram_init()
H A Ddram_sun4i.c561 static unsigned long dramc_init_helper(struct dram_para *para) in dramc_init_helper()
692 unsigned long dramc_init(struct dram_para *para) in dramc_init()
/openbmc/u-boot/board/sunxi/
H A Ddram_sun4i_auto.c4 static struct dram_para dram_para = { variable
34 return dramc_init(&dram_para); in sunxi_dram_init()
H A Ddram_sun5i_auto.c6 static struct dram_para dram_para = { variable
37 return dramc_init(&dram_para); in sunxi_dram_init()
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/
H A Ddram_sun4i.h67 struct dram_para { struct
178 unsigned long dramc_init(struct dram_para *para);
H A Ddram_sunxi_dw.h218 struct dram_para { struct
236 void mctl_set_timing_params(uint16_t socid, struct dram_para *para); argument
H A Ddram_sun8i_a23.h16 struct dram_para { struct
/openbmc/u-boot/arch/arm/mach-sunxi/dram_timings/
H A Dddr2_v3s.c5 void mctl_set_timing_params(uint16_t socid, struct dram_para *para) in mctl_set_timing_params()
H A Dlpddr3_stock.c5 void mctl_set_timing_params(uint16_t socid, struct dram_para *para) in mctl_set_timing_params()
H A Dddr3_1333.c5 void mctl_set_timing_params(uint16_t socid, struct dram_para *para) in mctl_set_timing_params()