Home
last modified time | relevance | path

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

/u-boot/arch/arm/lib/
A Dcache-cp15.c224 static void cache_enable(uint32_t cache_bit) in cache_enable() argument
230 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() argument
249 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