Lines Matching refs:win_param
240 struct mvgbe_winparam win_param; in set_dram_access() local
245 win_param.win = i; /* Use Ethernet window i */ in set_dram_access()
247 win_param.target = MVGBE_TARGET_DRAM; in set_dram_access()
249 win_param.access_ctrl = EWIN_ACCESS_FULL; in set_dram_access()
250 win_param.high_addr = 0; in set_dram_access()
252 win_param.base_addr = gd->bd->bi_dram[i].start; in set_dram_access()
253 win_param.size = gd->bd->bi_dram[i].size; in set_dram_access()
254 if (win_param.size == 0) in set_dram_access()
255 win_param.enable = 0; in set_dram_access()
257 win_param.enable = 1; /* Enable the access */ in set_dram_access()
262 win_param.attrib = EBAR_DRAM_CS0; in set_dram_access()
265 win_param.attrib = EBAR_DRAM_CS1; in set_dram_access()
268 win_param.attrib = EBAR_DRAM_CS2; in set_dram_access()
271 win_param.attrib = EBAR_DRAM_CS3; in set_dram_access()
275 win_param.enable = 0; in set_dram_access()
276 win_param.attrib = 0; in set_dram_access()
280 set_access_control(regs, &win_param); in set_dram_access()