• Home
  • Raw
  • Download

Lines Matching refs:dcache

1043 		c->dcache.linesz = 16 << ((config & CONF_DB) >> 4);  in probe_pcache()
1044 c->dcache.ways = 2; in probe_pcache()
1045 c->dcache.waybit= __ffs(dcache_size/2); in probe_pcache()
1058 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
1059 c->dcache.ways = 2; in probe_pcache()
1060 c->dcache.waybit = 0; in probe_pcache()
1072 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
1073 c->dcache.ways = 4; in probe_pcache()
1074 c->dcache.waybit = 0; in probe_pcache()
1093 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
1094 c->dcache.ways = 1; in probe_pcache()
1095 c->dcache.waybit = 0; /* does not matter */ in probe_pcache()
1110 c->dcache.linesz = 32; in probe_pcache()
1111 c->dcache.ways = 2; in probe_pcache()
1112 c->dcache.waybit = 0; in probe_pcache()
1136 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
1137 c->dcache.ways = 2; in probe_pcache()
1138 c->dcache.waybit = __ffs(dcache_size/2); in probe_pcache()
1153 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
1154 c->dcache.ways = 1; in probe_pcache()
1155 c->dcache.waybit = 0; /* does not matter */ in probe_pcache()
1169 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
1170 c->dcache.ways = 4; in probe_pcache()
1171 c->dcache.waybit = __ffs(dcache_size / c->dcache.ways); in probe_pcache()
1187 c->dcache.linesz = 16 << ((config & CONF_DB) >> 4); in probe_pcache()
1189 c->dcache.ways = 4; in probe_pcache()
1191 c->dcache.ways = 2; in probe_pcache()
1192 c->dcache.waybit = 0; in probe_pcache()
1211 c->dcache.linesz = 2 << lsize; in probe_pcache()
1213 c->dcache.linesz = 0; in probe_pcache()
1214 c->dcache.sets = 64 << ((config1 >> 13) & 7); in probe_pcache()
1215 c->dcache.ways = 1 + ((config1 >> 7) & 7); in probe_pcache()
1216 dcache_size = c->dcache.sets * in probe_pcache()
1217 c->dcache.ways * in probe_pcache()
1218 c->dcache.linesz; in probe_pcache()
1219 c->dcache.waybit = 0; in probe_pcache()
1230 c->dcache.linesz = 128; in probe_pcache()
1231 c->dcache.ways = 8; in probe_pcache()
1232 c->dcache.sets = 8; in probe_pcache()
1233 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_pcache()
1269 c->dcache.flags = 0; in probe_pcache()
1277 c->dcache.linesz = lsize ? 2 << lsize : 0; in probe_pcache()
1279 c->dcache.sets = 32 << (((config1 >> 13) + 1) & 7); in probe_pcache()
1280 c->dcache.ways = 1 + ((config1 >> 7) & 7); in probe_pcache()
1282 dcache_size = c->dcache.sets * in probe_pcache()
1283 c->dcache.ways * in probe_pcache()
1284 c->dcache.linesz; in probe_pcache()
1285 c->dcache.waybit = __ffs(dcache_size/c->dcache.ways); in probe_pcache()
1307 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_pcache()
1311 c->dcache.sets = c->dcache.linesz ? in probe_pcache()
1312 dcache_size / (c->dcache.linesz * c->dcache.ways) : 0; in probe_pcache()
1326 c->dcache.flags |= MIPS_CACHE_PINDEX; in probe_pcache()
1358 c->dcache.flags |= MIPS_CACHE_PINDEX; in probe_pcache()
1362 if (has_74k_erratum || c->dcache.waysize > PAGE_SIZE) in probe_pcache()
1363 c->dcache.flags |= MIPS_CACHE_ALIASES; in probe_pcache()
1382 c->dcache.flags &= ~MIPS_CACHE_ALIASES; in probe_pcache()
1399 dcache_size >> 10, way_string[c->dcache.ways], in probe_pcache()
1400 (c->dcache.flags & MIPS_CACHE_PINDEX) ? "PIPT" : "VIPT", in probe_pcache()
1401 (c->dcache.flags & MIPS_CACHE_ALIASES) ? in probe_pcache()
1403 c->dcache.linesz); in probe_pcache()
1749 if (c->dcache.linesz && cpu_has_dc_aliases)
1751 c->dcache.sets * c->dcache.linesz - 1,