Lines Matching refs:win_id
69 static void iob_enable_win(struct addr_map_win *win, uint32_t win_id) in iob_enable_win() argument
79 mmio_write_32(IOB_WIN_ALR_OFFSET(win_id), alr); in iob_enable_win()
80 mmio_write_32(IOB_WIN_AHR_OFFSET(win_id), ahr); in iob_enable_win()
85 mmio_write_32(IOB_WIN_CR_OFFSET(win_id), iob_win_reg); in iob_enable_win()
92 uint32_t win_id, win_cr, alr, ahr; in dump_iob() local
102 for (win_id = 0; win_id < MVEBU_IOB_MAX_WINS; win_id++) { in dump_iob()
103 win_cr = mmio_read_32(IOB_WIN_CR_OFFSET(win_id)); in dump_iob()
107 alr = mmio_read_32(IOB_WIN_ALR_OFFSET(win_id)); in dump_iob()
109 if (win_id != 0) { in dump_iob()
110 ahr = mmio_read_32(IOB_WIN_AHR_OFFSET(win_id)); in dump_iob()
119 win_id, iob_target_name[target_id], in dump_iob()
150 uint32_t win_id, win_reg; in init_iob() local
172 for (win_id = 1; win_id < MVEBU_IOB_MAX_WINS; win_id++) { in init_iob()
173 win_reg = mmio_read_32(IOB_WIN_CR_OFFSET(win_id)); in init_iob()
175 mmio_write_32(IOB_WIN_CR_OFFSET(win_id), win_reg); in init_iob()
181 mmio_write_32(IOB_WIN_SCR_OFFSET(win_id), win_reg); in init_iob()
184 for (win_id = 1; win_id < win_count + 1; win_id++, win++) { in init_iob()
185 iob_win_check(win, win_id); in init_iob()
186 iob_enable_win(win, win_id); in init_iob()