Lines Matching refs:sdram_ch
291 const struct rk3399_sdram_channel *sdram_ch = ¶ms->ch[channel]; in set_memory_map() local
299 if (sdram_ch->cap_info.ddrconfig < 2 || in set_memory_map()
300 sdram_ch->cap_info.ddrconfig == 4) in set_memory_map()
302 else if (sdram_ch->cap_info.ddrconfig == 3 || in set_memory_map()
303 sdram_ch->cap_info.ddrconfig == 5) in set_memory_map()
308 cs_map = (sdram_ch->cap_info.rank > 1) ? 3 : 1; in set_memory_map()
309 reduc = (sdram_ch->cap_info.bw == 2) ? 0 : 1; in set_memory_map()
312 clrsetbits_le32(&denali_ctl[191], 0xF, (12 - sdram_ch->cap_info.col)); in set_memory_map()
314 ((3 - sdram_ch->cap_info.bk) << 16) | in set_memory_map()
321 clrsetbits_le32(&denali_pi[199], 0xF, (12 - sdram_ch->cap_info.col)); in set_memory_map()
325 ((3 - sdram_ch->cap_info.bk) << 16) | in set_memory_map()
339 if (sdram_ch->cap_info.rank == 1 && params->base.dramtype == DDR3) in set_memory_map()