Lines Matching refs:win_num
63 uint32_t win_num) in io_win_enable_window() argument
73 if ((win_num == 0) || (win_num > MVEBU_IO_WIN_MAX_WINS)) { in io_win_enable_window()
74 ERROR("Enabling wrong IOW window %d!\n", win_num); in io_win_enable_window()
86 mmio_write_32(IO_WIN_ALR_OFFSET(ap_index, win_num), alr); in io_win_enable_window()
87 mmio_write_32(IO_WIN_AHR_OFFSET(ap_index, win_num), ahr); in io_win_enable_window()
90 mmio_write_32(IO_WIN_CR_OFFSET(ap_index, win_num), win->target_id); in io_win_enable_window()
93 static void io_win_disable_window(int ap_index, uint32_t win_num) in io_win_disable_window() argument
97 if ((win_num == 0) || (win_num > MVEBU_IO_WIN_MAX_WINS)) { in io_win_disable_window()
98 ERROR("Disabling wrong IOW window %d!\n", win_num); in io_win_disable_window()
102 win_reg = mmio_read_32(IO_WIN_ALR_OFFSET(ap_index, win_num)); in io_win_disable_window()
104 mmio_write_32(IO_WIN_ALR_OFFSET(ap_index, win_num), win_reg); in io_win_disable_window()