/arm-trusted-firmware-2.8.0/drivers/marvell/ |
A D | cache_llc.c | 21 #define CCU_HTC_CR(ap_index) (MVEBU_CCU_BASE(ap_index) + 0x200) argument 35 llc_cache_sync(ap_index); in llc_flush_all() 41 llc_cache_sync(ap_index); in llc_clean_all() 44 void llc_inv_all(int ap_index) in llc_inv_all() argument 47 llc_cache_sync(ap_index); in llc_inv_all() 52 llc_flush_all(ap_index); in llc_disable() 62 llc_inv_all(ap_index); in llc_enable() 103 llc_enable(ap_index, 1); in llc_runtime_enable() 122 llc_enable(ap_index, 1); in llc_sram_enable() 123 llc_inv_all(ap_index); in llc_sram_enable() [all …]
|
A D | ccu.c | 70 static void dump_ccu(int ap_index) in dump_ccu() argument 84 alr = mmio_read_32(CCU_WIN_ALR_OFFSET(ap_index, in dump_ccu() 176 ccu_enable_win(ap_index, win, win_id); in ccu_temp_win_insert() 207 ccu_disable_win(ap_index, win_id); in ccu_temp_win_remove() 269 ccu_disable_win(ap_index, win_id); in ccu_dram_win_config() 274 ccu_enable_win(ap_index, win, win_id); in ccu_dram_win_config() 317 int init_ccu(int ap_index) in init_ccu() argument 350 dram_target = ccu_dram_target_get(ap_index); in init_ccu() 371 ccu_disable_win(ap_index, win_id); in init_ccu() 384 ccu_enable_win(ap_index, win, win_id); in init_ccu() [all …]
|
A D | gwin.c | 85 mmio_write_32(GWIN_ALR_OFFSET(ap_index, win_num), alr); in gwin_enable_window() 89 mmio_write_32(GWIN_CR_OFFSET(ap_index, win_num), in gwin_enable_window() 117 gwin_enable_window(ap_index, win, win_id); in gwin_temp_win_insert() 149 gwin_disable_window(ap_index, win_id); in gwin_temp_win_remove() 155 static void dump_gwin(int ap_index) in dump_gwin() argument 180 int init_gwin(int ap_index) in init_gwin() argument 204 gwin_disable_window(ap_index, win_id); in init_gwin() 209 gwin_enable_window(ap_index, win, win_id); in init_gwin() 220 win_reg = mmio_read_32(CCU_GRU_CR_OFFSET(ap_index)); in init_gwin() 222 mmio_write_32(CCU_GRU_CR_OFFSET(ap_index), win_reg); in init_gwin() [all …]
|
A D | io_win.c | 86 mmio_write_32(IO_WIN_ALR_OFFSET(ap_index, win_num), alr); in io_win_enable_window() 122 io_win_enable_window(ap_index, win, win_id); in iow_temp_win_insert() 152 io_win_disable_window(ap_index, win_id); in iow_temp_win_remove() 158 static void dump_io_win(int ap_index) in dump_io_win() argument 172 trgt_id = mmio_read_32(IO_WIN_CR_OFFSET(ap_index, in dump_io_win() 181 mmio_read_32(MVEBU_IO_WIN_BASE(ap_index) + in dump_io_win() 228 int init_io_win(int ap_index) in init_io_win() argument 248 win_reg = marvell_get_io_win_gcr_target(ap_index); in init_io_win() 254 io_win_disable_window(ap_index, win_id); in init_io_win() 261 io_win_enable_window(ap_index, win, win_id); in init_io_win() [all …]
|
/arm-trusted-firmware-2.8.0/include/drivers/marvell/ |
A D | cache_llc.h | 47 void llc_cache_sync(int ap_index); 48 void llc_flush_all(int ap_index); 49 void llc_clean_all(int ap_index); 50 void llc_inv_all(int ap_index); 51 void llc_disable(int ap_index); 52 void llc_enable(int ap_index, int excl_mode); 53 int llc_is_exclusive(int ap_index); 54 void llc_runtime_enable(int ap_index); 56 int llc_sram_enable(int ap_index, int size); 57 void llc_sram_disable(int ap_index); [all …]
|
A D | ccu.h | 42 void ccu_enable_win(int ap_index, struct addr_map_win *win, uint32_t win_id); 43 void ccu_temp_win_insert(int ap_index, struct addr_map_win *win, int size); 44 void ccu_temp_win_remove(int ap_index, struct addr_map_win *win, int size); 45 void ccu_dram_win_config(int ap_index, struct addr_map_win *win); 46 void ccu_dram_target_set(int ap_index, uint32_t target); 49 int ccu_is_win_enabled(int ap_index, uint32_t win_id);
|
A D | gwin.h | 15 int init_gwin(int ap_index); 16 void gwin_temp_win_insert(int ap_index, struct addr_map_win *win, int size); 17 void gwin_temp_win_remove(int ap_index, struct addr_map_win *win, int size);
|
A D | io_win.h | 15 int init_io_win(int ap_index); 16 void iow_temp_win_insert(int ap_index, struct addr_map_win *win, int size); 17 void iow_temp_win_remove(int ap_index, struct addr_map_win *win, int size);
|
/arm-trusted-firmware-2.8.0/drivers/marvell/mc_trustzone/ |
A D | mc_trustzone.c | 32 void tz_enable_win(int ap_index, const struct addr_map_win *win, int win_id) in tz_enable_win() argument 64 mmio_write_32(MVEBU_AP_MC_TRUSTZONE_REG_LOW(ap_index, win_id), val); in tz_enable_win() 67 MVEBU_AP_MC_TRUSTZONE_REG_LOW(ap_index, win_id), in tz_enable_win() 68 mmio_read_32(MVEBU_AP_MC_TRUSTZONE_REG_LOW(ap_index, win_id))); in tz_enable_win() 70 mmio_write_32(MVEBU_AP_MC_TRUSTZONE_REG_HIGH(ap_index, win_id), in tz_enable_win() 74 MVEBU_AP_MC_TRUSTZONE_REG_HIGH(ap_index, win_id), in tz_enable_win() 75 mmio_read_32(MVEBU_AP_MC_TRUSTZONE_REG_HIGH(ap_index, win_id))); in tz_enable_win()
|
A D | mc_trustzone.h | 25 void tz_enable_win(int ap_index, const struct addr_map_win *win, int win_id);
|
/arm-trusted-firmware-2.8.0/plat/marvell/armada/a8k/a70x0_mochabin/board/ |
A D | marvell_plat_config.c | 54 uint32_t marvell_get_io_win_gcr_target(int ap_index) in marvell_get_io_win_gcr_target() argument 59 int marvell_get_io_win_memory_map(int ap_index, struct addr_map_win **win, in marvell_get_io_win_memory_map() argument 124 int marvell_get_ccu_memory_map(int ap_index, struct addr_map_win **win, in marvell_get_ccu_memory_map() argument
|
/arm-trusted-firmware-2.8.0/plat/marvell/armada/a8k/a70x0/board/ |
A D | marvell_plat_config.c | 52 uint32_t marvell_get_io_win_gcr_target(int ap_index) in marvell_get_io_win_gcr_target() argument 57 int marvell_get_io_win_memory_map(int ap_index, struct addr_map_win **win, in marvell_get_io_win_memory_map() argument 122 int marvell_get_ccu_memory_map(int ap_index, struct addr_map_win **win, in marvell_get_ccu_memory_map() argument
|
/arm-trusted-firmware-2.8.0/plat/marvell/armada/a8k/a70x0_amc/board/ |
A D | marvell_plat_config.c | 49 uint32_t marvell_get_io_win_gcr_target(int ap_index) in marvell_get_io_win_gcr_target() argument 54 int marvell_get_io_win_memory_map(int ap_index, struct addr_map_win **win, in marvell_get_io_win_memory_map() argument 113 int marvell_get_ccu_memory_map(int ap_index, struct addr_map_win **win, in marvell_get_ccu_memory_map() argument
|
/arm-trusted-firmware-2.8.0/plat/marvell/octeontx/otx2/t91/t9130/board/ |
A D | marvell_plat_config.c | 70 uint32_t marvell_get_io_win_gcr_target(int ap_index) in marvell_get_io_win_gcr_target() argument 79 int marvell_get_io_win_memory_map(int ap_index, struct addr_map_win **win, in marvell_get_io_win_memory_map() argument 173 int marvell_get_ccu_memory_map(int ap_index, struct addr_map_win **win, in marvell_get_ccu_memory_map() argument
|
/arm-trusted-firmware-2.8.0/plat/marvell/armada/a8k/a80x0_mcbin/board/ |
A D | marvell_plat_config.c | 90 uint32_t marvell_get_io_win_gcr_target(int ap_index) in marvell_get_io_win_gcr_target() argument 95 int marvell_get_io_win_memory_map(int ap_index, struct addr_map_win **win, in marvell_get_io_win_memory_map() argument 181 int marvell_get_ccu_memory_map(int ap_index, struct addr_map_win **win, in marvell_get_ccu_memory_map() argument
|
/arm-trusted-firmware-2.8.0/plat/marvell/octeontx/otx2/t91/t9130_cex7_eval/board/ |
A D | marvell_plat_config.c | 93 uint32_t marvell_get_io_win_gcr_target(int ap_index) in marvell_get_io_win_gcr_target() argument 102 int marvell_get_io_win_memory_map(int ap_index, struct addr_map_win **win, in marvell_get_io_win_memory_map() argument 205 int marvell_get_ccu_memory_map(int ap_index, struct addr_map_win **win, in marvell_get_ccu_memory_map() argument
|
/arm-trusted-firmware-2.8.0/plat/marvell/armada/a8k/a80x0_puzzle/board/ |
A D | marvell_plat_config.c | 94 uint32_t marvell_get_io_win_gcr_target(int ap_index) in marvell_get_io_win_gcr_target() argument 99 int marvell_get_io_win_memory_map(int ap_index, struct addr_map_win **win, in marvell_get_io_win_memory_map() argument 182 int marvell_get_ccu_memory_map(int ap_index, struct addr_map_win **win, in marvell_get_ccu_memory_map() argument
|
/arm-trusted-firmware-2.8.0/plat/marvell/armada/a8k/common/include/ |
A D | a8k_plat_def.h | 36 #define MVEBU_IO_WIN_BASE(ap_index) (MVEBU_RFU_BASE) argument 43 #define MVEBU_CCU_BASE(ap_index) (MVEBU_REGS_BASE + 0x4000) argument 46 #define MVEBU_LLC_BASE(ap_index) (MVEBU_REGS_BASE + 0x8000) argument
|
/arm-trusted-firmware-2.8.0/plat/marvell/armada/a8k/a80x0/board/ |
A D | marvell_plat_config.c | 60 uint32_t marvell_get_io_win_gcr_target(int ap_index) in marvell_get_io_win_gcr_target() argument 65 int marvell_get_io_win_memory_map(int ap_index, struct addr_map_win **win, in marvell_get_io_win_memory_map() argument
|