Searched refs:scache_size (Results 1 – 4 of 4) sorted by relevance
19 static unsigned long scache_size; variable27 unsigned long end = start + scache_size; in blast_r5000_scache()42 if (size >= scache_size) { in r5k_dma_cache_inv_sc()86 scache_size = (512 * 1024) << ((config & R5K_CONF_SS) >> 20); in r5k_sc_probe()89 scache_size >> 10); in r5k_sc_probe()
27 #define scache_size (256*1024) /* Fixed to 256KiB on RM7000 */ macro142 for (i = 0; i < scache_size; i += sc_lsize) in __rm7k_sc_enable()239 c->scache.waybit= __ffs(scache_size / c->scache.ways); in rm7k_sc_init()240 c->scache.waysize = scache_size / c->scache.ways; in rm7k_sc_init()241 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in rm7k_sc_init()243 (scache_size >> 10), sc_lsize); in rm7k_sc_init()
68 static unsigned long scache_size __read_mostly;294 if (scache_size == 0) in r4k_blast_scache_page_setup()312 if (scache_size == 0) in r4k_blast_scache_page_indexed_setup()330 if (scache_size == 0) in r4k_blast_scache_setup()602 if (size >= scache_size) in r4k_dma_cache_wback_inv()632 if (size >= scache_size) in r4k_dma_cache_inv()687 if (!cpu_icache_snoops_remote_store && scache_size) in local_r4k_flush_cache_sigtramp()1157 scache_size = addr; in probe_scache()1170 scache_size = 512*1024; in loongson2_sc_init()1174 c->scache.waysize = scache_size / (c->scache.ways); in loongson2_sc_init()[all …]
20 static unsigned long scache_size; variable156 scache_size = size; in indy_sc_probe()