Searched refs:win_num (Results 1 – 5 of 5) sorted by relevance
/external/arm-trusted-firmware/drivers/marvell/ |
D | gwin.c | 65 uint32_t win_num) in gwin_enable_window() argument 82 mmio_write_32(GWIN_ALR_OFFSET(ap_index, win_num), alr); in gwin_enable_window() 83 mmio_write_32(GWIN_AHR_OFFSET(ap_index, win_num), ahr); in gwin_enable_window() 86 mmio_write_32(GWIN_CR_OFFSET(ap_index, win_num), in gwin_enable_window() 90 static void gwin_disable_window(int ap_index, uint32_t win_num) in gwin_disable_window() argument 94 win_reg = mmio_read_32(GWIN_CR_OFFSET(ap_index, win_num)); in gwin_disable_window() 96 mmio_write_32(GWIN_CR_OFFSET(ap_index, win_num), win_reg); in gwin_disable_window() 154 uint32_t win_num; in dump_gwin() local 159 for (win_num = 0; win_num < MVEBU_GWIN_MAX_WINS; win_num++) { in dump_gwin() 163 cr = mmio_read_32(GWIN_CR_OFFSET(ap_index, win_num)); in dump_gwin() [all …]
|
D | io_win.c | 60 uint32_t win_num) in io_win_enable_window() argument 70 if ((win_num == 0) || (win_num > MVEBU_IO_WIN_MAX_WINS)) { in io_win_enable_window() 71 ERROR("Enabling wrong IOW window %d!\n", win_num); in io_win_enable_window() 83 mmio_write_32(IO_WIN_ALR_OFFSET(ap_index, win_num), alr); in io_win_enable_window() 84 mmio_write_32(IO_WIN_AHR_OFFSET(ap_index, win_num), ahr); in io_win_enable_window() 87 mmio_write_32(IO_WIN_CR_OFFSET(ap_index, win_num), win->target_id); in io_win_enable_window() 90 static void io_win_disable_window(int ap_index, uint32_t win_num) in io_win_disable_window() argument 94 if ((win_num == 0) || (win_num > MVEBU_IO_WIN_MAX_WINS)) { in io_win_disable_window() 95 ERROR("Disabling wrong IOW window %d!\n", win_num); in io_win_disable_window() 99 win_reg = mmio_read_32(IO_WIN_ALR_OFFSET(ap_index, win_num)); in io_win_disable_window() [all …]
|
D | amb_adec.c | 41 static void amb_check_win(struct addr_map_win *win, uint32_t win_num) in amb_check_win() argument 48 win_num, win->base_addr); in amb_check_win() 59 win_num, AMB_WIN_ALIGNMENT_1M); in amb_check_win() 66 win_num, win->win_size); in amb_check_win() 72 static void amb_enable_win(struct addr_map_win *win, uint32_t win_num) in amb_enable_win() argument 85 mmio_write_32(AMB_WIN_BASE_OFFSET(win_num), base); in amb_enable_win() 86 mmio_write_32(AMB_WIN_CR_OFFSET(win_num), ctrl); in amb_enable_win() 90 mmio_write_32(AMB_WIN_CR_OFFSET(win_num), ctrl); in amb_enable_win()
|
D | iob.c | 49 static void iob_win_check(struct addr_map_win *win, uint32_t win_num) in iob_win_check() argument 55 win_num, IOB_WIN_ALIGNMENT); in iob_win_check() 63 ERROR("Window %d: window size unaligned to 0x%x\n", win_num, in iob_win_check()
|
/external/arm-trusted-firmware/plat/marvell/armada/a3k/common/include/ |
D | platform_def.h | 204 #define CPU_DEC_WIN_CTRL_REG(win_num) \ argument 205 (MVEBU_CPU_DEC_WIN_REG_BASE + (win_num) * 0x10) 211 #define CPU_DEC_WIN_SIZE_REG(win_num) \ argument 212 (MVEBU_CPU_DEC_WIN_REG_BASE + 0x4 + (win_num) * 0x10) 218 #define CPU_DEC_WIN_BASE_REG(win_num) \ argument 219 (MVEBU_CPU_DEC_WIN_REG_BASE + 0x8 + (win_num) * 0x10) 224 #define CPU_DEC_REMAP_LOW_REG(win_num) \ argument 225 (MVEBU_CPU_DEC_WIN_REG_BASE + 0xC + (win_num) * 0x10)
|