Lines Matching full:ways

265 	unsigned long ws_end = current_cpu_data.icache.ways <<  in tx49_blast_icache32()
298 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32_page_indexed()
1120 c->icache.ways = 2; in probe_pcache()
1125 c->dcache.ways = 2; in probe_pcache()
1134 c->icache.ways = 2; in probe_pcache()
1139 c->dcache.ways = 2; in probe_pcache()
1148 c->icache.ways = 4; in probe_pcache()
1153 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()
1202 c->icache.ways = 4; in probe_pcache()
1203 c->icache.waybit = __ffs(icache_size / c->icache.ways); in probe_pcache()
1207 c->dcache.ways = 4; in probe_pcache()
1208 c->dcache.waybit = __ffs(dcache_size / c->dcache.ways); in probe_pcache()
1218 c->icache.ways = 4; in probe_pcache()
1220 c->icache.ways = 2; in probe_pcache()
1226 c->dcache.ways = 4; in probe_pcache()
1228 c->dcache.ways = 2; in probe_pcache()
1240 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_pcache()
1242 c->icache.ways * in probe_pcache()
1252 c->dcache.ways = 1 + ((config1 >> 7) & 7); in probe_pcache()
1254 c->dcache.ways * in probe_pcache()
1264 /* For now lie about the number of ways. */ in probe_pcache()
1267 c->icache.ways = 8; in probe_pcache()
1269 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_pcache()
1272 c->dcache.ways = 8; in probe_pcache()
1274 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_pcache()
1297 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_pcache()
1300 c->icache.ways * in probe_pcache()
1302 c->icache.waybit = __ffs(icache_size/c->icache.ways); in probe_pcache()
1321 c->dcache.ways = 1 + ((config1 >> 7) & 7); in probe_pcache()
1324 c->dcache.ways * in probe_pcache()
1326 c->dcache.waybit = __ffs(dcache_size/c->dcache.ways); in probe_pcache()
1347 c->icache.waysize = icache_size / c->icache.ways; in probe_pcache()
1348 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_pcache()
1351 icache_size / (c->icache.linesz * c->icache.ways) : 0; in probe_pcache()
1353 dcache_size / (c->dcache.linesz * c->dcache.ways) : 0; in probe_pcache()
1446 * one op will act on all 4 ways in probe_pcache()
1448 c->icache.ways = 1; in probe_pcache()
1454 way_string[c->icache.ways], c->icache.linesz); in probe_pcache()
1457 dcache_size >> 10, way_string[c->dcache.ways], in probe_pcache()
1479 c->vcache.ways = 1 + ((config2 >> 16) & 15); in probe_vcache()
1481 vcache_size = c->vcache.sets * c->vcache.ways * c->vcache.linesz; in probe_vcache()
1484 c->vcache.waysize = vcache_size / c->vcache.ways; in probe_vcache()
1487 vcache_size >> 10, way_string[c->vcache.ways], c->vcache.linesz); in probe_vcache()
1545 c->scache.ways = 1; in probe_scache()
1557 c->scache.ways = 4; in loongson2_sc_init()
1559 c->scache.waysize = scache_size / (c->scache.ways); in loongson2_sc_init()
1560 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in loongson2_sc_init()
1562 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in loongson2_sc_init()
1579 c->scache.ways = 1 + (config2 & 15); in loongson3_sc_init()
1587 scache_size = c->scache.sets * c->scache.ways * c->scache.linesz; in loongson3_sc_init()
1590 c->scache.waysize = scache_size / c->scache.ways; in loongson3_sc_init()
1592 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in loongson3_sc_init()
1629 c->scache.ways = 2; in setup_scache()
1666 scache_size = c->scache.ways * c->scache.sets * c->scache.linesz; in setup_scache()
1669 way_string[c->scache.ways], c->scache.linesz); in setup_scache()
1688 c->scache.waysize = scache_size / c->scache.ways; in setup_scache()
1690 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in setup_scache()
1693 scache_size >> 10, way_string[c->scache.ways], c->scache.linesz); in setup_scache()