Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/mm/
Dsc-r5k.c20 static unsigned long scache_size; variable
28 unsigned long end = start + scache_size; in blast_r5000_scache()
43 if (size >= scache_size) { in r5k_dma_cache_inv_sc()
87 scache_size = (512 * 1024) << ((config & R5K_CONF_SS) >> 20); in r5k_sc_probe()
90 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.c113 static unsigned long scache_size __read_mostly;
414 if (scache_size == 0) in r4k_blast_scache_page_setup()
432 if (scache_size == 0) in r4k_blast_scache_page_indexed_setup()
450 if (scache_size == 0) in r4k_blast_scache_setup()
843 if (size >= scache_size) in r4k_dma_cache_wback_inv()
880 if (size >= scache_size) in r4k_dma_cache_inv()
965 if (!cpu_icache_snoops_remote_store && scache_size) in local_r4k_flush_cache_sigtramp()
1639 scache_size = addr; in probe_scache()
1651 scache_size = 512*1024; in loongson2_sc_init()
1655 c->scache.waysize = scache_size / (c->scache.ways); in loongson2_sc_init()
[all …]
Dsc-ip22.c21 static unsigned long scache_size; variable
171 scache_size = size; in indy_sc_probe()