Searched refs:win_num (Results 1 – 5 of 5) sorted by relevance
/trusted-firmware-a/drivers/marvell/ |
A D | gwin.c | 68 uint32_t win_num) in gwin_enable_window() argument 85 mmio_write_32(GWIN_ALR_OFFSET(ap_index, win_num), alr); in gwin_enable_window() 86 mmio_write_32(GWIN_AHR_OFFSET(ap_index, win_num), ahr); in gwin_enable_window() 89 mmio_write_32(GWIN_CR_OFFSET(ap_index, win_num), in gwin_enable_window() 97 win_reg = mmio_read_32(GWIN_CR_OFFSET(ap_index, win_num)); in gwin_disable_window() 99 mmio_write_32(GWIN_CR_OFFSET(ap_index, win_num), win_reg); in gwin_disable_window() 157 uint32_t win_num; in dump_gwin() local 162 for (win_num = 0; win_num < MVEBU_GWIN_MAX_WINS; win_num++) { in dump_gwin() 166 cr = mmio_read_32(GWIN_CR_OFFSET(ap_index, win_num)); in dump_gwin() 169 alr = mmio_read_32(GWIN_ALR_OFFSET(ap_index, win_num)); in dump_gwin() [all …]
|
A D | io_win.c | 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() [all …]
|
A D | amb_adec.c | 44 static void amb_check_win(struct addr_map_win *win, uint32_t win_num) in amb_check_win() argument 51 win_num, win->base_addr); in amb_check_win() 62 win_num, AMB_WIN_ALIGNMENT_1M); in amb_check_win() 69 win_num, win->win_size); in amb_check_win() 75 static void amb_enable_win(struct addr_map_win *win, uint32_t win_num) in amb_enable_win() argument 88 mmio_write_32(AMB_WIN_BASE_OFFSET(win_num), base); in amb_enable_win() 89 mmio_write_32(AMB_WIN_CR_OFFSET(win_num), ctrl); in amb_enable_win() 93 mmio_write_32(AMB_WIN_CR_OFFSET(win_num), ctrl); in amb_enable_win()
|
A D | iob.c | 56 static void iob_win_check(struct addr_map_win *win, uint32_t win_num) in iob_win_check() argument 62 win_num, IOB_WIN_ALIGNMENT); in iob_win_check() 70 ERROR("Window %d: window size unaligned to 0x%x\n", win_num, in iob_win_check()
|
/trusted-firmware-a/plat/marvell/armada/a3k/common/include/ |
A D | platform_def.h | 197 #define CPU_DEC_WIN_CTRL_REG(win_num) \ argument 198 (MVEBU_CPU_DEC_WIN_REG_BASE + (win_num) * 0x10) 204 #define CPU_DEC_WIN_SIZE_REG(win_num) \ argument 205 (MVEBU_CPU_DEC_WIN_REG_BASE + 0x4 + (win_num) * 0x10) 211 #define CPU_DEC_WIN_BASE_REG(win_num) \ argument 212 (MVEBU_CPU_DEC_WIN_REG_BASE + 0x8 + (win_num) * 0x10) 217 #define CPU_DEC_REMAP_LOW_REG(win_num) \ argument 218 (MVEBU_CPU_DEC_WIN_REG_BASE + 0xC + (win_num) * 0x10)
|
Completed in 7 milliseconds