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()
111 static unsigned long scache_size __read_mostly;419 if (scache_size == 0) in r4k_blast_scache_page_setup()437 if (scache_size == 0) in r4k_blast_scache_page_indexed_setup()455 if (scache_size == 0) in r4k_blast_scache_setup()866 if (size >= scache_size) { in r4k_dma_cache_wback_inv()936 if (size >= scache_size) { in r4k_dma_cache_inv()1543 scache_size = addr; in probe_scache()1555 scache_size = 512*1024; in loongson2_sc_init()1559 c->scache.waysize = scache_size / (c->scache.ways); in loongson2_sc_init()1560 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in loongson2_sc_init()[all …]
20 static unsigned long scache_size; variable170 scache_size = size; in indy_sc_probe()