Lines Matching refs: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()
1170 c->icache.ways = 1; in probe_pcache()
1175 c->dcache.ways = 1; in probe_pcache()
1187 c->icache.ways = 2; in probe_pcache()
1192 c->dcache.ways = 2; in probe_pcache()
1214 c->icache.ways = 2; in probe_pcache()
1219 c->dcache.ways = 2; in probe_pcache()
1231 c->icache.ways = 1; in probe_pcache()
1236 c->dcache.ways = 1; in probe_pcache()
1247 c->icache.ways = 4; in probe_pcache()
1248 c->icache.waybit = __ffs(icache_size / c->icache.ways); in probe_pcache()
1252 c->dcache.ways = 4; in probe_pcache()
1253 c->dcache.waybit = __ffs(dcache_size / c->dcache.ways); in probe_pcache()
1263 c->icache.ways = 4; in probe_pcache()
1265 c->icache.ways = 2; in probe_pcache()
1271 c->dcache.ways = 4; in probe_pcache()
1273 c->dcache.ways = 2; in probe_pcache()
1285 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_pcache()
1287 c->icache.ways * in probe_pcache()
1297 c->dcache.ways = 1 + ((config1 >> 7) & 7); in probe_pcache()
1299 c->dcache.ways * in probe_pcache()
1312 c->icache.ways = 8; in probe_pcache()
1314 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_pcache()
1317 c->dcache.ways = 8; in probe_pcache()
1319 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_pcache()
1342 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_pcache()
1345 c->icache.ways * in probe_pcache()
1347 c->icache.waybit = __ffs(icache_size/c->icache.ways); in probe_pcache()
1366 c->dcache.ways = 1 + ((config1 >> 7) & 7); in probe_pcache()
1369 c->dcache.ways * in probe_pcache()
1371 c->dcache.waybit = __ffs(dcache_size/c->dcache.ways); in probe_pcache()
1392 c->icache.waysize = icache_size / c->icache.ways; in probe_pcache()
1393 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_pcache()
1396 icache_size / (c->icache.linesz * c->icache.ways) : 0; in probe_pcache()
1398 dcache_size / (c->dcache.linesz * c->dcache.ways) : 0; 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()
1632 scache_size = c->scache.sets * c->scache.ways * c->scache.linesz; in loongson3_sc_init()
1635 c->scache.waysize = scache_size / c->scache.ways; in loongson3_sc_init()
1637 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in loongson3_sc_init()
1674 c->scache.ways = 2; in setup_scache()
1711 scache_size = c->scache.ways * c->scache.sets * c->scache.linesz; in setup_scache()
1714 way_string[c->scache.ways], c->scache.linesz); in setup_scache()
1733 c->scache.waysize = scache_size / c->scache.ways; in setup_scache()
1735 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in setup_scache()
1738 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in setup_scache()