Lines Matching refs:imcr_get
112 #define imcr_get(reg) soc_readl(cache_base + (reg)) macro
122 while (imcr_get(wc_reg)) in cache_block_operation_wait()
150 if (unlikely(imcr_get(wc_reg))) { in cache_block_operation()
222 dummy = imcr_get(IMCR_L1PCFG); in L1_cache_off()
225 dummy = imcr_get(IMCR_L1DCFG); in L1_cache_off()
236 dummy = imcr_get(IMCR_L1PCFG); in L1_cache_on()
239 dummy = imcr_get(IMCR_L1DCFG); in L1_cache_on()
249 while (imcr_get(IMCR_L1PINV) & 1) in L1P_cache_global_invalidate()
264 while (imcr_get(IMCR_L1DINV) & 1) in L1D_cache_global_invalidate()
272 while (imcr_get(IMCR_L1DWB) & 1) in L1D_cache_global_writeback()
280 while (imcr_get(IMCR_L1DWBINV) & 1) in L1D_cache_global_writeback_invalidate()
293 unsigned int ccfg = imcr_get(IMCR_CCFG); in L2_cache_set_mode()
299 ccfg = imcr_get(IMCR_CCFG); in L2_cache_set_mode()
308 while (imcr_get(IMCR_L2WBINV)) in L2_cache_global_writeback_invalidate()
318 while (imcr_get(IMCR_L2WB)) in L2_cache_global_writeback()
331 imcr_set(mar, imcr_get(mar) | 1); in enable_caching()
340 imcr_set(mar, imcr_get(mar) & ~1); in disable_caching()