Lines Matching refs:scache_size
113 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()
865 if (size >= scache_size) { in r4k_dma_cache_wback_inv()
906 if (size >= scache_size) { in r4k_dma_cache_inv()
1555 scache_size = addr; in probe_scache()
1567 scache_size = 512*1024; in loongson2_sc_init()
1571 c->scache.waysize = scache_size / (c->scache.ways); in loongson2_sc_init()
1572 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in loongson2_sc_init()
1574 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in loongson2_sc_init()
1593 scache_size = c->scache.sets * in loongson3_sc_init()
1597 scache_size *= 4; in loongson3_sc_init()
1599 c->scache.waysize = scache_size / c->scache.ways; in loongson3_sc_init()
1601 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in loongson3_sc_init()
1602 if (scache_size) in loongson3_sc_init()
1636 scache_size = 0x80000 << ((config & R10K_CONF_SS) >> 16); in setup_scache()
1675 scache_size = c->scache.ways * c->scache.sets * c->scache.linesz; in setup_scache()
1677 scache_size >> 10, in setup_scache()
1693 c->scache.waysize = scache_size / c->scache.ways; in setup_scache()
1695 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in setup_scache()
1698 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in setup_scache()