Searched refs:waysize (Results 1 – 11 of 11) sorted by relevance
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()59 if (c->icache.waysize) { in __populate_cache_leaves()66 if (c->scache.waysize) in __populate_cache_leaves()69 if (c->tcache.waysize) in __populate_cache_leaves()
34 unsigned long ways, waysize, addrstart; in cache_wback_all() local37 waysize = current_cpu_data.dcache.sets; in cache_wback_all()38 waysize <<= current_cpu_data.dcache.entry_shift; in cache_wback_all()46 addr < addrstart + waysize; in cache_wback_all()83 unsigned long ways, waysize, addrstart; in __flush_dcache_page() local105 waysize = current_cpu_data.dcache.sets; in __flush_dcache_page()106 waysize <<= current_cpu_data.dcache.entry_shift; in __flush_dcache_page()114 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()
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()
172 c->scache.waysize = c->scache.sets * c->scache.linesz; in mips_sc_probe_cm3()173 c->scache.waybit = __ffs(c->scache.waysize); in mips_sc_probe_cm3()245 c->scache.waysize = c->scache.sets * c->scache.linesz; in mips_sc_probe()246 c->scache.waybit = __ffs(c->scache.waysize); in mips_sc_probe()
397 current_cpu_data.icache.waysize = icache_size / current_cpu_data.icache.ways; in tx39_cache_init()398 current_cpu_data.dcache.waysize = dcache_size / current_cpu_data.dcache.ways; in tx39_cache_init()401 current_cpu_data.icache.waysize / current_cpu_data.icache.linesz; in tx39_cache_init()403 current_cpu_data.dcache.waysize / current_cpu_data.dcache.linesz; in tx39_cache_init()405 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()293 unsigned long indexmask = current_cpu_data.icache.waysize - 1; in tx49_blast_icache32_page_indexed()1358 c->icache.waysize = icache_size / c->icache.ways; in probe_pcache()1359 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_pcache()1406 (c->icache.waysize > PAGE_SIZE)) in probe_pcache()1418 if (has_74k_erratum || c->dcache.waysize > PAGE_SIZE) in probe_pcache()1496 c->vcache.waysize = vcache_size / c->vcache.ways; in probe_vcache()1571 c->scache.waysize = scache_size / (c->scache.ways); in loongson2_sc_init()1599 c->scache.waysize = scache_size / c->scache.ways; in loongson3_sc_init()1693 c->scache.waysize = scache_size / c->scache.ways; in setup_scache()
233 c->icache.waysize = icache_size / c->icache.ways; in probe_octeon()234 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_octeon()
240 c->scache.waysize = scache_size / c->scache.ways; in rm7k_sc_init()
534 unsigned long end = start + current_cpu_data.desc.waysize; \558 unsigned long indexmask = current_cpu_data.desc.waysize - 1; \683 unsigned long end = start + current_cpu_data.desc.waysize; \
24 unsigned int waysize; /* Bytes per way */ member