Searched refs:l2c_ctrl (Results 1 – 1 of 1) sorted by relevance
188 uint32_t l2c_ctrl = sys_read32(L2C_CTRL); in nds_l2_cache_enable() local190 if (!(l2c_ctrl & L2C_CTRL_CEN)) { in nds_l2_cache_enable()191 WRITE_BIT(l2c_ctrl, 0, true); in nds_l2_cache_enable()192 sys_write32(l2c_ctrl, L2C_CTRL); in nds_l2_cache_enable()200 uint32_t l2c_ctrl = sys_read32(L2C_CTRL); in nds_l2_cache_disable() local202 if (l2c_ctrl & L2C_CTRL_CEN) { in nds_l2_cache_disable()203 WRITE_BIT(l2c_ctrl, 0, false); in nds_l2_cache_disable()204 sys_write32(l2c_ctrl, L2C_CTRL); in nds_l2_cache_disable()212 uint32_t l2c_ctrl; in nds_l2_cache_init() local254 l2c_ctrl = sys_read32(L2C_CTRL); in nds_l2_cache_init()[all …]