Home
last modified time | relevance | path

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

/linux-6.1.9/arch/mips/mm/
Dsc-r5k.c19 static unsigned long scache_size; variable
27 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()
Dsc-rm7k.c27 #define scache_size (256*1024) /* Fixed to 256KiB on RM7000 */ macro
142 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()
Dc-r4k.c111 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 …]
Dsc-ip22.c20 static unsigned long scache_size; variable
170 scache_size = size; in indy_sc_probe()