Lines Matching refs:scache

1434 	c->scache.linesz = 16 << ((config & R4K_CONF_SB) >> 22);  in probe_scache()
1435 c->scache.ways = 1; in probe_scache()
1436 c->scache.waybit = 0; /* does not matter */ in probe_scache()
1446 c->scache.linesz = 32; in loongson2_sc_init()
1447 c->scache.ways = 4; in loongson2_sc_init()
1448 c->scache.waybit = 0; 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()
1465 c->scache.linesz = 2 << lsize; in loongson3_sc_init()
1467 c->scache.linesz = 0; in loongson3_sc_init()
1468 c->scache.sets = 64 << ((config2 >> 8) & 15); in loongson3_sc_init()
1469 c->scache.ways = 1 + (config2 & 15); in loongson3_sc_init()
1473 c->scache.sets *= 2; in loongson3_sc_init()
1475 c->scache.sets *= 4; in loongson3_sc_init()
1477 scache_size = c->scache.sets * c->scache.ways * c->scache.linesz; in loongson3_sc_init()
1479 c->scache.waybit = 0; 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()
1514 c->scache.linesz = 64 << ((config >> 13) & 1); in setup_scache()
1515 c->scache.ways = 2; in setup_scache()
1516 c->scache.waybit= 0; in setup_scache()
1552 scache_size = c->scache.ways * c->scache.sets * c->scache.linesz; in setup_scache()
1555 way_string[c->scache.ways], c->scache.linesz); in setup_scache()
1562 if (!(c->scache.flags & MIPS_CACHE_NOT_PRESENT)) 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()
1781 if (c->scache.flags & MIPS_CACHE_NOT_PRESENT) in r4k_cache_init()