Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/lib/
H A Dcache-cp15.c209 static void cache_enable(uint32_t cache_bit) in cache_enable() argument
215 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() argument
234 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()