Lines Matching full:ways
179 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_octeon()
182 c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
183 c->icache.waybit = ffs(icache_size / c->icache.ways) - 1; in probe_octeon()
189 c->dcache.ways = 64; in probe_octeon()
191 c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
192 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_octeon()
199 c->icache.ways = 37; in probe_octeon()
201 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
204 c->dcache.ways = 32; in probe_octeon()
206 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
213 c->icache.ways = 39; in probe_octeon()
215 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
218 c->dcache.ways = 32; in probe_octeon()
220 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
230 c->icache.waysize = icache_size / c->icache.ways; in probe_octeon()
231 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_octeon()
233 c->icache.sets = icache_size / (c->icache.linesz * c->icache.ways); in probe_octeon()
234 c->dcache.sets = dcache_size / (c->dcache.linesz * c->dcache.ways); in probe_octeon()
242 c->icache.ways, c->icache.sets, c->icache.linesz); in probe_octeon()
246 dcache_size >> 10, c->dcache.ways, in probe_octeon()