Lines Matching refs:scache_size
80 static unsigned long scache_size __read_mostly;
381 if (scache_size == 0) in r4k_blast_scache_page_setup()
399 if (scache_size == 0) in r4k_blast_scache_page_indexed_setup()
417 if (scache_size == 0) in r4k_blast_scache_setup()
719 if (size >= scache_size) in r4k_dma_cache_wback_inv()
752 if (size >= scache_size) in r4k_dma_cache_inv()
798 if (!cpu_icache_snoops_remote_store && scache_size) in local_r4k_flush_cache_sigtramp()
1383 scache_size = addr; in probe_scache()
1395 scache_size = 512*1024; in loongson2_sc_init()
1399 c->scache.waysize = scache_size / (c->scache.ways); in loongson2_sc_init()
1400 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in loongson2_sc_init()
1402 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in loongson2_sc_init()
1421 scache_size = c->scache.sets * in loongson3_sc_init()
1425 scache_size *= 4; in loongson3_sc_init()
1428 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in loongson3_sc_init()
1429 if (scache_size) in loongson3_sc_init()
1463 scache_size = 0x80000 << ((config & R10K_CONF_SS) >> 16); in setup_scache()
1502 scache_size = c->scache.ways * c->scache.sets * c->scache.linesz; in setup_scache()
1504 scache_size >> 10, in setup_scache()
1520 c->scache.waysize = scache_size / c->scache.ways; in setup_scache()
1522 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in setup_scache()
1525 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in setup_scache()