Lines Matching refs:scache_size
111 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()
1477 scache_size = c->scache.sets * c->scache.ways * c->scache.linesz; in loongson3_sc_init()
1480 c->scache.waysize = scache_size / c->scache.ways; in loongson3_sc_init()
1482 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in loongson3_sc_init()
1483 if (scache_size) in loongson3_sc_init()
1513 scache_size = 0x80000 << ((config & R10K_CONF_SS) >> 16); in setup_scache()
1552 scache_size = c->scache.ways * c->scache.sets * c->scache.linesz; in setup_scache()
1554 scache_size >> 10, in setup_scache()
1574 c->scache.waysize = scache_size / c->scache.ways; in setup_scache()
1576 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in setup_scache()
1579 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in setup_scache()