Lines Matching refs:sets
1284 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_pcache()
1286 icache_size = c->icache.sets * in probe_pcache()
1296 c->dcache.sets = 64 << ((config1 >> 13) & 7); in probe_pcache()
1298 dcache_size = c->dcache.sets * in probe_pcache()
1311 c->icache.sets = 16; in probe_pcache()
1314 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_pcache()
1318 c->dcache.sets = 8; in probe_pcache()
1319 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_pcache()
1341 c->icache.sets = 32 << (((config1 >> 22) + 1) & 7); in probe_pcache()
1344 icache_size = c->icache.sets * in probe_pcache()
1365 c->dcache.sets = 32 << (((config1 >> 13) + 1) & 7); in probe_pcache()
1368 dcache_size = c->dcache.sets * in probe_pcache()
1395 c->icache.sets = c->icache.linesz ? in probe_pcache()
1397 c->dcache.sets = c->dcache.linesz ? in probe_pcache()
1523 c->vcache.sets = 64 << ((config2 >> 24) & 15); in probe_vcache()
1526 vcache_size = c->vcache.sets * c->vcache.ways * c->vcache.linesz; in probe_vcache()
1605 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in loongson2_sc_init()
1623 c->scache.sets = 64 << ((config2 >> 8) & 15); in loongson3_sc_init()
1628 c->scache.sets *= 2; in loongson3_sc_init()
1630 c->scache.sets *= 4; in loongson3_sc_init()
1632 scache_size = c->scache.sets * c->scache.ways * c->scache.linesz; in loongson3_sc_init()
1711 scache_size = c->scache.ways * c->scache.sets * c->scache.linesz; in setup_scache()
1735 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in setup_scache()
1890 c->dcache.sets * c->dcache.linesz - 1, in r4k_cache_init()