/linux-3.4.99/arch/mips/mm/ |
D | c-octeon.c | 193 c->icache.ways = 1 + ((config1 >> 16) & 7); in probe_octeon() 196 c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon() 197 c->icache.waybit = ffs(icache_size / c->icache.ways) - 1; in probe_octeon() 203 c->dcache.ways = 64; in probe_octeon() 205 c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon() 206 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_octeon() 213 c->icache.ways = 37; in probe_octeon() 215 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon() 218 c->dcache.ways = 32; in probe_octeon() 220 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon() [all …]
|
D | c-r4k.c | 179 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32() 210 unsigned long ws_end = current_cpu_data.icache.ways << in tx49_blast_icache32_page_indexed() 808 c->icache.ways = 2; in probe_pcache() 813 c->dcache.ways = 2; in probe_pcache() 823 c->icache.ways = 2; in probe_pcache() 828 c->dcache.ways = 2; in probe_pcache() 837 c->icache.ways = 4; in probe_pcache() 842 c->dcache.ways = 4; in probe_pcache() 858 c->icache.ways = 1; in probe_pcache() 863 c->dcache.ways = 1; in probe_pcache() [all …]
|
D | c-tx39.c | 327 current_cpu_data.icache.ways = 1; in tx39_probe_cache() 328 current_cpu_data.dcache.ways = 1; in tx39_probe_cache() 333 current_cpu_data.icache.ways = 2; in tx39_probe_cache() 334 current_cpu_data.dcache.ways = 2; in tx39_probe_cache() 340 current_cpu_data.icache.ways = 1; in tx39_probe_cache() 341 current_cpu_data.dcache.ways = 1; in tx39_probe_cache() 412 (dcache_size / current_cpu_data.dcache.ways) - 1, in tx39_cache_init() 418 current_cpu_data.icache.waysize = icache_size / current_cpu_data.icache.ways; in tx39_cache_init() 419 current_cpu_data.dcache.waysize = dcache_size / current_cpu_data.dcache.ways; in tx39_cache_init()
|
D | sc-rm7k.c | 238 c->scache.ways = 4; in rm7k_sc_init() 239 c->scache.waybit= __ffs(scache_size / c->scache.ways); in rm7k_sc_init() 240 c->scache.waysize = scache_size / c->scache.ways; in rm7k_sc_init() 241 c->scache.sets = scache_size / (c->scache.linesz * c->scache.ways); in rm7k_sc_init() 268 c->tcache.ways = 1; in rm7k_sc_init()
|
/linux-3.4.99/arch/sh/kernel/cpu/sh4/ |
D | probe.c | 41 boot_cpu_data.icache.ways = 1; in cpu_probe() 50 boot_cpu_data.dcache.ways = 1; in cpu_probe() 70 boot_cpu_data.icache.ways = 4; in cpu_probe() 71 boot_cpu_data.dcache.ways = 4; in cpu_probe() 171 boot_cpu_data.icache.ways = 2; in cpu_probe() 172 boot_cpu_data.dcache.ways = 2; in cpu_probe() 176 boot_cpu_data.icache.ways = 2; in cpu_probe() 177 boot_cpu_data.dcache.ways = 2; in cpu_probe() 192 boot_cpu_data.icache.ways = 2; in cpu_probe() 193 boot_cpu_data.dcache.ways = 2; in cpu_probe() [all …]
|
/linux-3.4.99/arch/sh/mm/ |
D | cache-sh7705.c | 34 unsigned long ways, waysize, addrstart; in cache_wback_all() local 36 ways = current_cpu_data.dcache.ways; in cache_wback_all() 59 } while (--ways); in cache_wback_all() 83 unsigned long ways, waysize, addrstart; in __flush_dcache_page() local 104 ways = current_cpu_data.dcache.ways; in __flush_dcache_page() 126 } while (--ways); in __flush_dcache_page()
|
D | tlb-sh3.c | 60 int i, ways = MMU_NTLB_WAYS; in local_flush_tlb_one() local 73 ways = 1; /* we already know the way .. */ in local_flush_tlb_one() 76 for (i = 0; i < ways; i++) in local_flush_tlb_one()
|
D | cache-sh4.c | 78 for (i = 0; i < cpu_data->icache.ways; i++) { in sh4_flush_icache_range() 156 current_cpu_data.dcache.ways; in flush_dcache_all() 328 way_count = dcache->ways; in __flush_cache_one()
|
D | cache-sh2a.c | 61 nr_ways = current_cpu_data.dcache.ways; in sh2a__flush_wback_region() 108 int nr_ways = current_cpu_data.dcache.ways; in sh2a__flush_purge_region()
|
D | cache.c | 253 boot_cpu_data.icache.ways, in emit_cache_params() 261 boot_cpu_data.dcache.ways, in emit_cache_params() 274 boot_cpu_data.scache.ways, in emit_cache_params()
|
D | cache-sh3.c | 47 for (j = 0; j < current_cpu_data.dcache.ways; j++) { in sh3__flush_wback_region()
|
D | cache-debugfs.c | 66 for (way = 0; way < cache->ways; way++) { in cache_seq_show()
|
/linux-3.4.99/arch/sh/kernel/cpu/ |
D | init.c | 129 unsigned long ways, waysize, addrstart; in cache_init() local 147 ways = 1; in cache_init() 150 ways = current_cpu_data.dcache.ways; in cache_init() 162 } while (--ways); in cache_init() 173 if (current_cpu_data.dcache.ways > 1) in cache_init() 203 CSHAPE((desc).way_size * (desc).ways, ilog2((desc).linesz), (desc).ways)
|
D | proc.c | 67 cache_size = info.ways * info.sets * info.linesz; in show_cacheinfo() 70 type, cache_size >> 10, info.ways); in show_cacheinfo()
|
/linux-3.4.99/arch/powerpc/sysdev/ |
D | fsl_85xx_l2ctlr.c | 79 unsigned char ways; in mpc85xx_l2ctlr_of_probe() local 112 ways = LOCK_WAYS_FULL * sram_params.sram_size / l2cache_size; in mpc85xx_l2ctlr_of_probe() 113 if (rem || (ways & (ways - 1))) { in mpc85xx_l2ctlr_of_probe() 140 switch (ways) { in mpc85xx_l2ctlr_of_probe()
|
/linux-3.4.99/arch/powerpc/kvm/ |
D | e500_tlb.c | 239 if (unlikely(vcpu_e500->gtlb_nv[0] >= vcpu_e500->gtlb_params[0].ways)) in gtlb0_get_next_victim() 435 static int tlb0_set_base(gva_t addr, int sets, int ways) in tlb0_set_base() argument 440 set_base *= ways; in tlb0_set_base() 448 vcpu_e500->gtlb_params[0].ways); in gtlb0_set_base() 457 esel &= vcpu_e500->gtlb_params[0].ways - 1; in get_tlb_esel() 476 size = vcpu_e500->gtlb_params[0].ways; in kvmppc_e500_tlb_index() 891 esel &= vcpu_e500->gtlb_params[tlbsel].ways - 1; in kvmppc_e500_emul_tlbsx() 1253 vcpu_e500->gtlb_params[0].ways = params.tlb_ways[0]; in kvm_vcpu_ioctl_config_tlb() 1256 vcpu_e500->gtlb_params[1].ways = params.tlb_sizes[1]; in kvm_vcpu_ioctl_config_tlb() 1301 host_tlb_params[0].ways = (mfspr(SPRN_TLB0CFG) & TLBnCFG_ASSOC) >> in kvmppc_e500_tlb_init() [all …]
|
/linux-3.4.99/arch/arm/mm/ |
D | cache-l2x0.c | 314 int ways; in l2x0_init() local 329 ways = 16; in l2x0_init() 331 ways = 8; in l2x0_init() 340 ways = (aux >> 13) & 0xf; in l2x0_init() 345 ways = 8; in l2x0_init() 350 l2x0_way_mask = (1 << ways) - 1; in l2x0_init() 357 l2x0_size = ways * way_size * SZ_1K; in l2x0_init() 389 ways, cache_id, aux, l2x0_size); in l2x0_init()
|
/linux-3.4.99/arch/avr32/kernel/ |
D | cpu.c | 279 boot_cpu_data.icache.ways = 1 << SYSREG_BFEXT(IASS, config1); in setup_processor() 285 boot_cpu_data.dcache.ways = 1 << SYSREG_BFEXT(DASS, config1); in setup_processor() 337 icache_size = boot_cpu_data.icache.ways * in c_show() 340 dcache_size = boot_cpu_data.dcache.ways * in c_show() 363 boot_cpu_data.icache.ways, in c_show() 368 boot_cpu_data.dcache.ways, in c_show()
|
/linux-3.4.99/arch/sh/include/asm/ |
D | cache.h | 21 unsigned int ways; /* Number of cache ways */ member
|
/linux-3.4.99/arch/avr32/include/asm/ |
D | cache.h | 18 unsigned int ways; member
|
/linux-3.4.99/arch/sh/kernel/cpu/sh2/ |
D | probe.c | 20 boot_cpu_data.dcache.ways = 4; in cpu_probe()
|
/linux-3.4.99/arch/mips/include/asm/ |
D | cpu-info.h | 25 unsigned char ways; /* Number of ways */ member
|
/linux-3.4.99/arch/sh/kernel/cpu/sh5/ |
D | probe.c | 42 boot_cpu_data.icache.ways = 4; in cpu_probe()
|
/linux-3.4.99/arch/sh/kernel/cpu/sh2a/ |
D | probe.c | 40 boot_cpu_data.dcache.ways = 4; in cpu_probe()
|
/linux-3.4.99/arch/powerpc/include/asm/ |
D | kvm_e500.h | 40 int entries, ways, sets; member
|