Searched refs:cache_bit (Results 1 – 1 of 1) sorted by relevance
224 static void cache_enable(uint32_t cache_bit) in cache_enable() argument230 if ((cache_bit == CR_C) && !mmu_enabled()) in cache_enable()233 if ((cache_bit == CR_C) && !mpu_enabled()) { in cache_enable()239 set_cr(reg | cache_bit); in cache_enable()243 static void cache_disable(uint32_t cache_bit) in cache_disable() argument249 if (cache_bit == CR_C) { in cache_disable()255 cache_bit |= CR_M; in cache_disable()261 if (cache_bit == (CR_C | CR_M)) in cache_disable()263 if (cache_bit == CR_C) in cache_disable()266 set_cr(reg & ~cache_bit); in cache_disable()
Completed in 3 milliseconds