• Home
  • Raw
  • Download

Lines Matching refs:win_id

114 	uint32_t win_id;  in iow_temp_win_insert()  local
117 win_id = MVEBU_IO_WIN_MAX_WINS - i - 1; in iow_temp_win_insert()
119 io_win_enable_window(ap_index, win, win_id); in iow_temp_win_insert()
130 uint32_t win_id; in iow_temp_win_remove() local
137 win_id = MVEBU_IO_WIN_MAX_WINS - i - 1; in iow_temp_win_remove()
139 target = mmio_read_32(IO_WIN_CR_OFFSET(ap_index, win_id)); in iow_temp_win_remove()
140 base = mmio_read_32(IO_WIN_ALR_OFFSET(ap_index, win_id)); in iow_temp_win_remove()
146 __func__, win_id); in iow_temp_win_remove()
149 io_win_disable_window(ap_index, win_id); in iow_temp_win_remove()
157 uint32_t trgt_id, win_id; in dump_io_win() local
164 for (win_id = 0; win_id < MVEBU_IO_WIN_MAX_WINS; win_id++) { in dump_io_win()
165 alr = mmio_read_32(IO_WIN_ALR_OFFSET(ap_index, win_id)); in dump_io_win()
168 ahr = mmio_read_32(IO_WIN_AHR_OFFSET(ap_index, win_id)); in dump_io_win()
170 win_id)); in dump_io_win()
186 int win_id, idx; in iow_save_win_range() local
189 for (idx = 0, win_id = win_first; win_id <= win_last; win_id++) { in iow_save_win_range()
190 buffer[idx++] = mmio_read_32(IO_WIN_CR_OFFSET(ap_id, win_id)); in iow_save_win_range()
191 buffer[idx++] = mmio_read_32(IO_WIN_ALR_OFFSET(ap_id, win_id)); in iow_save_win_range()
192 buffer[idx++] = mmio_read_32(IO_WIN_AHR_OFFSET(ap_id, win_id)); in iow_save_win_range()
201 int win_id, idx; in iow_restore_win_range() local
204 for (idx = 0, win_id = win_first; win_id <= win_last; win_id++) { in iow_restore_win_range()
205 mmio_write_32(IO_WIN_CR_OFFSET(ap_id, win_id), buffer[idx++]); in iow_restore_win_range()
206 mmio_write_32(IO_WIN_ALR_OFFSET(ap_id, win_id), buffer[idx++]); in iow_restore_win_range()
207 mmio_write_32(IO_WIN_AHR_OFFSET(ap_id, win_id), buffer[idx++]); in iow_restore_win_range()
228 uint32_t win_id, win_reg; in init_io_win() local
250 for (win_id = 1; win_id < MVEBU_IO_WIN_MAX_WINS; win_id++) in init_io_win()
251 io_win_disable_window(ap_index, win_id); in init_io_win()
256 for (win_id = 1; win_id <= win_count; win_id++, win++) { in init_io_win()
258 io_win_enable_window(ap_index, win, win_id); in init_io_win()