Home
last modified time | relevance | path

Searched refs:l2c_ctrl (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/cache/
Dcache_andes_l2.h188 uint32_t l2c_ctrl = sys_read32(L2C_CTRL); in nds_l2_cache_enable() local
190 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() local
202 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() local
254 l2c_ctrl = sys_read32(L2C_CTRL); in nds_l2_cache_init()
[all …]