Home
last modified time | relevance | path

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

/linux-6.12.1/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;
326 if (scache_size == 0) in r4k_blast_scache_page_setup()
344 if (scache_size == 0) in r4k_blast_scache_setup()
756 if (size >= scache_size) { in r4k_dma_cache_wback_inv()
826 if (size >= scache_size) { in r4k_dma_cache_inv()
1433 scache_size = addr; in probe_scache()
1445 scache_size = 512*1024; in loongson2_sc_init()
1449 c->scache.waysize = scache_size / (c->scache.ways); in loongson2_sc_init()
1450 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in loongson2_sc_init()
1452 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in loongson2_sc_init()
[all …]
Dsc-ip22.c20 static unsigned long scache_size; variable
170 scache_size = size; in indy_sc_probe()