Searched refs:waysize (Results 1 – 11 of 11) sorted by relevance
32 unsigned long ways, waysize, addrstart; in cache_wback_all() local35 waysize = current_cpu_data.dcache.sets; in cache_wback_all()36 waysize <<= current_cpu_data.dcache.entry_shift; in cache_wback_all()44 addr < addrstart + waysize; in cache_wback_all()81 unsigned long ways, waysize, addrstart; in __flush_dcache_page() local103 waysize = current_cpu_data.dcache.sets; in __flush_dcache_page()104 waysize <<= current_cpu_data.dcache.entry_shift; in __flush_dcache_page()112 addr < addrstart + waysize; in __flush_dcache_page()
29 unsigned int waysize, way; in cache_seq_show() local55 waysize = cache->sets; in cache_seq_show()62 waysize >>= 1; in cache_seq_show()64 waysize <<= cache->entry_shift; in cache_seq_show()75 addr < addrstart + waysize; in cache_seq_show()
30 if (c->dcache.waysize) in init_cache_level()36 leaves += (c->icache.waysize) ? 2 : 1; in init_cache_level()38 if (c->scache.waysize) { in init_cache_level()43 if (c->tcache.waysize) { in init_cache_level()78 if (c->icache.waysize) { in populate_cache_leaves()88 if (c->scache.waysize) { in populate_cache_leaves()94 if (c->tcache.waysize) in populate_cache_leaves()
126 unsigned long ways, waysize, addrstart; in cache_init() local128 waysize = current_cpu_data.dcache.sets; in cache_init()136 waysize >>= 1; in cache_init()139 waysize <<= current_cpu_data.dcache.entry_shift; in cache_init()154 addr < addrstart + waysize; in cache_init()
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()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()
392 current_cpu_data.icache.waysize = icache_size / current_cpu_data.icache.ways; in tx39_cache_init()393 current_cpu_data.dcache.waysize = dcache_size / current_cpu_data.dcache.ways; in tx39_cache_init()396 current_cpu_data.icache.waysize / current_cpu_data.icache.linesz; in tx39_cache_init()398 current_cpu_data.dcache.waysize / current_cpu_data.dcache.linesz; in tx39_cache_init()400 if (current_cpu_data.dcache.waysize > PAGE_SIZE) in tx39_cache_init()
264 unsigned long end = start + current_cpu_data.icache.waysize; in tx49_blast_icache32()295 unsigned long indexmask = current_cpu_data.icache.waysize - 1; in tx49_blast_icache32_page_indexed()1391 c->icache.waysize = icache_size / c->icache.ways; in probe_pcache()1392 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_pcache()1439 (c->icache.waysize > PAGE_SIZE)) in probe_pcache()1451 if (has_74k_erratum || c->dcache.waysize > PAGE_SIZE) in probe_pcache()1529 c->vcache.waysize = vcache_size / c->vcache.ways; in probe_vcache()1604 c->scache.waysize = scache_size / (c->scache.ways); in loongson2_sc_init()1637 c->scache.waysize = scache_size / c->scache.ways; in loongson3_sc_init()1736 c->scache.waysize = scache_size / c->scache.ways; in setup_scache()
232 c->icache.waysize = icache_size / c->icache.ways; in probe_octeon()233 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_octeon()
240 c->scache.waysize = scache_size / c->scache.ways; in rm7k_sc_init()
211 unsigned long end = start + current_cpu_data.desc.waysize; \236 unsigned long indexmask = current_cpu_data.desc.waysize - 1; \362 unsigned long end = start + current_cpu_data.desc.waysize; \
24 unsigned int waysize; /* Bytes per way */ member