Home
last modified time | relevance | path

Searched refs:waybit (Results 1 – 7 of 7) sorted by relevance

/linux/arch/mips/mm/
H A Dc-r4k.c232 unsigned long ws_inc = 1UL << current_cpu_data.icache.waybit; in tx49_blast_icache32()
234 current_cpu_data.icache.waybit; in tx49_blast_icache32()
1011 c->icache.waybit = __ffs(icache_size/2); in probe_pcache()
1016 c->dcache.waybit= __ffs(dcache_size/2); in probe_pcache()
1025 c->icache.waybit= 0; in probe_pcache()
1030 c->dcache.waybit = 0; in probe_pcache()
1039 c->icache.waybit= 0; in probe_pcache()
1044 c->dcache.waybit = 0; in probe_pcache()
1060 c->icache.waybit = 0; /* doesn't matter */ in probe_pcache()
1065 c->dcache.waybit = 0; /* does not matter */ in probe_pcache()
[all …]
H A Dsc-mips.c172 c->scache.waybit = __ffs(c->scache.waysize); in mips_sc_probe_cm3()
248 c->scache.waybit = __ffs(c->scache.waysize); in mips_sc_probe()
H A Dc-octeon.c188 c->icache.waybit = ffs(icache_size / c->icache.ways) - 1; in probe_octeon()
197 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_octeon()
H A Dsc-rm7k.c239 c->scache.waybit= __ffs(scache_size / c->scache.ways); in rm7k_sc_init()
/linux/arch/mips/include/asm/
H A Dr4kcache.h206 unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit; \
208 current_cpu_data.desc.waybit; \
233 unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit; \
235 current_cpu_data.desc.waybit; \
322 unsigned long ws_inc = 1UL << current_cpu_data.desc.waybit; \
324 current_cpu_data.desc.waybit; \
H A Dcpu-info.h28 unsigned char waybit; /* Bits to select in a cache set */ member
/linux/arch/mips/kernel/
H A Dpm-cps.c193 unsigned cache_size = cache->ways << cache->waybit; in cps_gen_cache_routine()