Lines Matching refs:ways
180 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_octeon()
183 c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
184 c->icache.waybit = ffs(icache_size / c->icache.ways) - 1; in probe_octeon()
190 c->dcache.ways = 64; in probe_octeon()
192 c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
193 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_octeon()
200 c->icache.ways = 37; in probe_octeon()
202 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
205 c->dcache.ways = 32; in probe_octeon()
207 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
214 c->icache.ways = 39; in probe_octeon()
216 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
219 c->dcache.ways = 32; in probe_octeon()
221 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
231 c->icache.waysize = icache_size / c->icache.ways; in probe_octeon()
232 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_octeon()
234 c->icache.sets = icache_size / (c->icache.linesz * c->icache.ways); in probe_octeon()
235 c->dcache.sets = dcache_size / (c->dcache.linesz * c->dcache.ways); in probe_octeon()
243 c->icache.ways, c->icache.sets, c->icache.linesz); in probe_octeon()
247 dcache_size >> 10, c->dcache.ways, in probe_octeon()