Lines Matching refs:icache

263 	unsigned long end = start + current_cpu_data.icache.waysize;  in tx49_blast_icache32()
264 unsigned long ws_inc = 1UL << current_cpu_data.icache.waybit; in tx49_blast_icache32()
265 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32()
266 current_cpu_data.icache.waybit; in tx49_blast_icache32()
294 unsigned long indexmask = current_cpu_data.icache.waysize - 1; in tx49_blast_icache32_page_indexed()
297 unsigned long ws_inc = 1UL << current_cpu_data.icache.waybit; in tx49_blast_icache32_page_indexed()
298 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32_page_indexed()
299 current_cpu_data.icache.waybit; in tx49_blast_icache32_page_indexed()
1119 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache()
1120 c->icache.ways = 2; in probe_pcache()
1121 c->icache.waybit = __ffs(icache_size/2); in probe_pcache()
1133 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache()
1134 c->icache.ways = 2; in probe_pcache()
1135 c->icache.waybit= 0; in probe_pcache()
1147 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache()
1148 c->icache.ways = 4; in probe_pcache()
1149 c->icache.waybit= 0; in probe_pcache()
1168 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache()
1169 c->icache.ways = 1; in probe_pcache()
1170 c->icache.waybit = 0; /* doesn't matter */ in probe_pcache()
1185 c->icache.linesz = 64; in probe_pcache()
1186 c->icache.ways = 2; in probe_pcache()
1187 c->icache.waybit = 0; in probe_pcache()
1201 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache()
1202 c->icache.ways = 4; in probe_pcache()
1203 c->icache.waybit = __ffs(icache_size / c->icache.ways); in probe_pcache()
1216 c->icache.linesz = 16 << ((config & CONF_IB) >> 5); in probe_pcache()
1218 c->icache.ways = 4; in probe_pcache()
1220 c->icache.ways = 2; in probe_pcache()
1221 c->icache.waybit = 0; in probe_pcache()
1236 c->icache.linesz = 2 << lsize; in probe_pcache()
1238 c->icache.linesz = 0; in probe_pcache()
1239 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_pcache()
1240 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_pcache()
1241 icache_size = c->icache.sets * in probe_pcache()
1242 c->icache.ways * in probe_pcache()
1243 c->icache.linesz; in probe_pcache()
1244 c->icache.waybit = 0; in probe_pcache()
1265 c->icache.linesz = 128; in probe_pcache()
1266 c->icache.sets = 16; in probe_pcache()
1267 c->icache.ways = 8; in probe_pcache()
1268 c->icache.flags |= MIPS_CACHE_VTAG; in probe_pcache()
1269 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_pcache()
1294 c->icache.linesz = lsize ? 2 << lsize : 0; in probe_pcache()
1296 c->icache.sets = 32 << (((config1 >> 22) + 1) & 7); in probe_pcache()
1297 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_pcache()
1299 icache_size = c->icache.sets * in probe_pcache()
1300 c->icache.ways * in probe_pcache()
1301 c->icache.linesz; in probe_pcache()
1302 c->icache.waybit = __ffs(icache_size/c->icache.ways); in probe_pcache()
1305 c->icache.flags |= MIPS_CACHE_VTAG; in probe_pcache()
1342 !(config & CONF_SC) && c->icache.linesz != 16 && in probe_pcache()
1347 c->icache.waysize = icache_size / c->icache.ways; in probe_pcache()
1350 c->icache.sets = c->icache.linesz ? in probe_pcache()
1351 icache_size / (c->icache.linesz * c->icache.ways) : 0; in probe_pcache()
1394 (c->icache.waysize > PAGE_SIZE)) in probe_pcache()
1395 c->icache.flags |= MIPS_CACHE_ALIASES; in probe_pcache()
1420 c->icache.flags |= MIPS_IC_SNOOPS_REMOTE; in probe_pcache()
1428 c->icache.flags |= MIPS_CACHE_VTAG; in probe_pcache()
1434 c->icache.flags |= MIPS_CACHE_IC_F_DC; in probe_pcache()
1438 c->icache.flags |= MIPS_CACHE_IC_F_DC; in probe_pcache()
1448 c->icache.ways = 1; in probe_pcache()
1453 c->icache.flags & MIPS_CACHE_VTAG ? "VIVT" : "VIPT", in probe_pcache()
1454 way_string[c->icache.ways], c->icache.linesz); in probe_pcache()