Lines Matching refs:win_id
96 uint32_t ctrl, base, win_id, attr; in dump_amb_adec() local
102 for (win_id = 0; win_id < AMB_MAX_WIN_ID; win_id++) { in dump_amb_adec()
103 ctrl = mmio_read_32(AMB_WIN_CR_OFFSET(win_id)); in dump_amb_adec()
105 base = mmio_read_32(AMB_WIN_BASE_OFFSET(win_id)); in dump_amb_adec()
119 uint32_t win_id, win_reg; in init_amb_adec() local
138 for (win_id = 0; win_id < AMB_MAX_WIN_ID; win_id++) { in init_amb_adec()
139 win_reg = mmio_read_32(AMB_WIN_CR_OFFSET(win_id)); in init_amb_adec()
141 mmio_write_32(AMB_WIN_CR_OFFSET(win_id), win_reg); in init_amb_adec()
145 for (win_id = 0; win_id < win_count; win_id++, win++) { in init_amb_adec()
146 amb_check_win(win, win_id); in init_amb_adec()
147 amb_enable_win(win, win_id); in init_amb_adec()