Lines Matching refs:scache
143 c->scache.linesz = 2 << tmp; in mips_sc_is_activated()
161 c->scache.sets = 64 << sets; in mips_sc_probe_cm3()
166 c->scache.linesz = 2 << line_sz; in mips_sc_probe_cm3()
170 c->scache.ways = assoc + 1; in mips_sc_probe_cm3()
171 c->scache.waysize = c->scache.sets * c->scache.linesz; in mips_sc_probe_cm3()
172 c->scache.waybit = __ffs(c->scache.waysize); in mips_sc_probe_cm3()
174 if (c->scache.linesz) { in mips_sc_probe_cm3()
175 c->scache.flags &= ~MIPS_CACHE_NOT_PRESENT; in mips_sc_probe_cm3()
190 c->scache.flags |= MIPS_CACHE_NOT_PRESENT; in mips_sc_probe()
214 c->scache.sets = 64 << tmp; in mips_sc_probe()
220 c->scache.ways = tmp + 1; in mips_sc_probe()
232 c->scache.ways = 4; in mips_sc_probe()
241 c->scache.sets = 256; in mips_sc_probe()
242 c->scache.ways = 4; in mips_sc_probe()
247 c->scache.waysize = c->scache.sets * c->scache.linesz; in mips_sc_probe()
248 c->scache.waybit = __ffs(c->scache.waysize); in mips_sc_probe()
250 c->scache.flags &= ~MIPS_CACHE_NOT_PRESENT; in mips_sc_probe()