Lines Matching full:ways
181 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_octeon()
184 c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
185 c->icache.waybit = ffs(icache_size / c->icache.ways) - 1; in probe_octeon()
191 c->dcache.ways = 64; in probe_octeon()
193 c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
194 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_octeon()
201 c->icache.ways = 37; in probe_octeon()
203 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
206 c->dcache.ways = 32; in probe_octeon()
208 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
215 c->icache.ways = 39; in probe_octeon()
217 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
220 c->dcache.ways = 32; in probe_octeon()
222 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
232 c->icache.waysize = icache_size / c->icache.ways; in probe_octeon()
233 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_octeon()
235 c->icache.sets = icache_size / (c->icache.linesz * c->icache.ways); in probe_octeon()
236 c->dcache.sets = dcache_size / (c->dcache.linesz * c->dcache.ways); in probe_octeon()
244 c->icache.ways, c->icache.sets, c->icache.linesz); in probe_octeon()
248 dcache_size >> 10, c->dcache.ways, in probe_octeon()