Searched refs:cache_bit (Results 1 – 1 of 1) sorted by relevance
209 static void cache_enable(uint32_t cache_bit) in cache_enable() argument215 if ((cache_bit == CR_C) && !mmu_enabled()) in cache_enable()218 if ((cache_bit == CR_C) && !mpu_enabled()) { in cache_enable()224 set_cr(reg | cache_bit); in cache_enable()228 static void cache_disable(uint32_t cache_bit) in cache_disable() argument234 if (cache_bit == CR_C) { in cache_disable()239 cache_bit |= CR_M; in cache_disable()243 if (cache_bit == (CR_C | CR_M)) in cache_disable()245 set_cr(reg & ~cache_bit); in cache_disable()