Lines Matching refs:scache_size
112 static unsigned long scache_size __read_mostly;
420 if (scache_size == 0) in r4k_blast_scache_page_setup()
438 if (scache_size == 0) in r4k_blast_scache_page_indexed_setup()
456 if (scache_size == 0) in r4k_blast_scache_setup()
867 if (size >= scache_size) { in r4k_dma_cache_wback_inv()
937 if (size >= scache_size) { in r4k_dma_cache_inv()
1589 scache_size = addr; in probe_scache()
1601 scache_size = 512*1024; in loongson2_sc_init()
1605 c->scache.waysize = scache_size / (c->scache.ways); in loongson2_sc_init()
1606 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in loongson2_sc_init()
1608 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in loongson2_sc_init()
1633 scache_size = c->scache.sets * c->scache.ways * c->scache.linesz; in loongson3_sc_init()
1636 c->scache.waysize = scache_size / c->scache.ways; in loongson3_sc_init()
1638 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in loongson3_sc_init()
1639 if (scache_size) in loongson3_sc_init()
1673 scache_size = 0x80000 << ((config & R10K_CONF_SS) >> 16); in setup_scache()
1713 scache_size = c->scache.ways * c->scache.sets * c->scache.linesz; in setup_scache()
1715 scache_size >> 10, in setup_scache()
1735 c->scache.waysize = scache_size / c->scache.ways; in setup_scache()
1737 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in setup_scache()
1740 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in setup_scache()