Lines Matching refs:soc_info
51 mt7620_dram_init(struct ralink_soc_info *soc_info) in mt7620_dram_init() argument
56 soc_info->mem_size_min = MT7620_SDRAM_SIZE_MIN; in mt7620_dram_init()
57 soc_info->mem_size_max = MT7620_SDRAM_SIZE_MAX; in mt7620_dram_init()
62 soc_info->mem_size_min = MT7620_DDR1_SIZE_MIN; in mt7620_dram_init()
63 soc_info->mem_size_max = MT7620_DDR1_SIZE_MAX; in mt7620_dram_init()
68 soc_info->mem_size_min = MT7620_DDR2_SIZE_MIN; in mt7620_dram_init()
69 soc_info->mem_size_max = MT7620_DDR2_SIZE_MAX; in mt7620_dram_init()
77 mt7628_dram_init(struct ralink_soc_info *soc_info) in mt7628_dram_init() argument
82 soc_info->mem_size_min = MT7620_DDR1_SIZE_MIN; in mt7628_dram_init()
83 soc_info->mem_size_max = MT7620_DDR1_SIZE_MAX; in mt7628_dram_init()
88 soc_info->mem_size_min = MT7620_DDR2_SIZE_MIN; in mt7628_dram_init()
89 soc_info->mem_size_max = MT7620_DDR2_SIZE_MAX; in mt7628_dram_init()
149 static const char __init *mt7620_get_soc_name(struct ralink_soc_info *soc_info) in mt7620_get_soc_name() argument
156 soc_info->compatible = "ralink,mt7620a-soc"; in mt7620_get_soc_name()
160 soc_info->compatible = "ralink,mt7620n-soc"; in mt7620_get_soc_name()
174 soc_info->compatible = "ralink,mt7628an-soc"; in mt7620_get_soc_name()
220 void __init prom_soc_init(struct ralink_soc_info *soc_info) in prom_soc_init() argument
222 const char *name = mt7620_get_soc_name(soc_info); in prom_soc_init()
227 snprintf(soc_info->sys_type, RAMIPS_SYS_TYPE_LEN, in prom_soc_init()
241 soc_info->mem_base = MT7620_DRAM_BASE; in prom_soc_init()
243 mt7628_dram_init(soc_info); in prom_soc_init()
245 mt7620_dram_init(soc_info); in prom_soc_init()
255 soc_info_ptr = soc_info; in prom_soc_init()