Lines Matching full:ways
266 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32()
299 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32_page_indexed()
1121 c->icache.ways = 2; in probe_pcache()
1126 c->dcache.ways = 2; in probe_pcache()
1135 c->icache.ways = 2; in probe_pcache()
1140 c->dcache.ways = 2; in probe_pcache()
1149 c->icache.ways = 4; in probe_pcache()
1154 c->dcache.ways = 4; in probe_pcache()
1169 c->icache.ways = 1; in probe_pcache()
1174 c->dcache.ways = 1; in probe_pcache()
1186 c->icache.ways = 2; in probe_pcache()
1191 c->dcache.ways = 2; in probe_pcache()
1213 c->icache.ways = 2; in probe_pcache()
1218 c->dcache.ways = 2; in probe_pcache()
1230 c->icache.ways = 1; in probe_pcache()
1235 c->dcache.ways = 1; in probe_pcache()
1246 c->icache.ways = 4; in probe_pcache()
1247 c->icache.waybit = __ffs(icache_size / c->icache.ways); in probe_pcache()
1251 c->dcache.ways = 4; in probe_pcache()
1252 c->dcache.waybit = __ffs(dcache_size / c->dcache.ways); in probe_pcache()
1262 c->icache.ways = 4; in probe_pcache()
1264 c->icache.ways = 2; in probe_pcache()
1270 c->dcache.ways = 4; in probe_pcache()
1272 c->dcache.ways = 2; in probe_pcache()
1284 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_pcache()
1286 c->icache.ways * in probe_pcache()
1296 c->dcache.ways = 1 + ((config1 >> 7) & 7); in probe_pcache()
1298 c->dcache.ways * in probe_pcache()
1308 /* For now lie about the number of ways. */ in probe_pcache()
1311 c->icache.ways = 8; in probe_pcache()
1313 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_pcache()
1316 c->dcache.ways = 8; in probe_pcache()
1318 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_pcache()
1341 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_pcache()
1344 c->icache.ways * in probe_pcache()
1346 c->icache.waybit = __ffs(icache_size/c->icache.ways); in probe_pcache()
1365 c->dcache.ways = 1 + ((config1 >> 7) & 7); in probe_pcache()
1368 c->dcache.ways * in probe_pcache()
1370 c->dcache.waybit = __ffs(dcache_size/c->dcache.ways); in probe_pcache()
1391 c->icache.waysize = icache_size / c->icache.ways; in probe_pcache()
1392 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_pcache()
1395 icache_size / (c->icache.linesz * c->icache.ways) : 0; in probe_pcache()
1397 dcache_size / (c->dcache.linesz * c->dcache.ways) : 0; in probe_pcache()
1491 * one op will act on all 4 ways in probe_pcache()
1493 c->icache.ways = 1; in probe_pcache()
1499 way_string[c->icache.ways], c->icache.linesz); in probe_pcache()
1502 dcache_size >> 10, way_string[c->dcache.ways], in probe_pcache()
1524 c->vcache.ways = 1 + ((config2 >> 16) & 15); in probe_vcache()
1526 vcache_size = c->vcache.sets * c->vcache.ways * c->vcache.linesz; in probe_vcache()
1529 c->vcache.waysize = vcache_size / c->vcache.ways; in probe_vcache()
1532 vcache_size >> 10, way_string[c->vcache.ways], c->vcache.linesz); in probe_vcache()
1590 c->scache.ways = 1; in probe_scache()
1602 c->scache.ways = 4; in loongson2_sc_init()
1604 c->scache.waysize = scache_size / (c->scache.ways); in loongson2_sc_init()
1605 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in loongson2_sc_init()
1607 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in loongson2_sc_init()
1624 c->scache.ways = 1 + (config2 & 15); in loongson3_sc_init()
1627 c->scache.ways * in loongson3_sc_init()
1637 c->scache.waysize = scache_size / c->scache.ways; in loongson3_sc_init()
1639 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in loongson3_sc_init()
1676 c->scache.ways = 2; in setup_scache()
1714 scache_size = c->scache.ways * c->scache.sets * c->scache.linesz; in setup_scache()
1717 way_string[c->scache.ways], c->scache.linesz); in setup_scache()
1736 c->scache.waysize = scache_size / c->scache.ways; in setup_scache()
1738 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in setup_scache()
1741 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in setup_scache()