Lines Matching refs:sets
179 c->icache.sets = 64 << ((config1 >> 22) & 7); in probe_octeon()
183 c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
187 c->dcache.sets = 2; /* CN5XXX has two Dcache sets */ in probe_octeon()
189 c->dcache.sets = 1; /* CN3XXX has one Dcache set */ in probe_octeon()
192 c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
199 c->icache.sets = 8; in probe_octeon()
202 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
206 c->dcache.sets = 8; in probe_octeon()
207 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
213 c->icache.sets = 16; in probe_octeon()
216 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon()
220 c->dcache.sets = 8; in probe_octeon()
221 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; 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()
248 c->dcache.sets, c->dcache.linesz); in probe_octeon()