/Linux-v4.19/arch/mips/mm/ |
D | c-r3k.c | 26 static unsigned long icache_size, dcache_size; /* Size in bytes */ variable 99 icache_size = r3k_cache_size(ST0_ISC|ST0_SWC); in r3k_probe_cache() 100 if (icache_size) in r3k_probe_cache() 110 if (size > icache_size || KSEGX(start) != KSEG0) { in r3k_flush_icache_range() 112 size = icache_size; in r3k_flush_icache_range() 225 r3k_flush_icache_range(KSEG0, KSEG0 + icache_size); in r3k___flush_cache_all() 343 icache_size >> 10, icache_lsize); in r3k_cache_init()
|
D | c-octeon.c | 187 unsigned long icache_size; in probe_octeon() local 201 icache_size = in probe_octeon() 203 c->icache.waybit = ffs(icache_size / c->icache.ways) - 1; in probe_octeon() 221 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon() 235 icache_size = c->icache.sets * c->icache.ways * c->icache.linesz; in probe_octeon() 250 c->icache.waysize = icache_size / c->icache.ways; in probe_octeon() 253 c->icache.sets = icache_size / (c->icache.linesz * c->icache.ways); in probe_octeon() 259 icache_size >> 10, in probe_octeon()
|
D | c-r4k.c | 110 static unsigned long icache_size __read_mostly; 747 (type & R4K_INDEX && end - start > icache_size)) in __local_r4k_flush_icache_range() 810 cache_size = icache_size; in __r4k_flush_icache_range() 1172 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache() 1175 c->icache.waybit = __ffs(icache_size/2); in probe_pcache() 1187 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache() 1201 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache() 1222 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache() 1239 icache_size = 1 << (12 + ((config & R10K_CONF_IC) >> 29)); in probe_pcache() 1265 icache_size = 1 << (10 + ((config & CONF_IC) >> 9)); in probe_pcache() [all …]
|
D | c-tx39.c | 28 static unsigned long icache_size, dcache_size; /* Size in bytes */ variable 239 if (end - start > icache_size) in tx39_flush_icache_range() 318 icache_size = 1 << (10 + ((config & TX39_CONF_ICS_MASK) >> in tx39_probe_cache() 418 current_cpu_data.icache.waysize = icache_size / current_cpu_data.icache.ways; in tx39_cache_init() 433 icache_size >> 10, current_cpu_data.icache.linesz); in tx39_cache_init()
|
/Linux-v4.19/arch/microblaze/kernel/cpu/ |
D | cache.c | 168 cpuinfo.icache_line_length, cpuinfo.icache_size); in __flush_icache_range_msr_irq() 195 cpuinfo.icache_line_length, cpuinfo.icache_size); in __flush_icache_range_nomsr_irq() 222 cpuinfo.icache_line_length, cpuinfo.icache_size); in __flush_icache_range_noirq() 243 CACHE_ALL_LOOP(cpuinfo.icache_size, cpuinfo.icache_line_length, wic); in __flush_icache_all_msr_irq() 245 for (i = 0; i < cpuinfo.icache_size; in __flush_icache_all_msr_irq() 265 CACHE_ALL_LOOP(cpuinfo.icache_size, cpuinfo.icache_line_length, wic); in __flush_icache_all_nomsr_irq() 267 for (i = 0; i < cpuinfo.icache_size; in __flush_icache_all_nomsr_irq() 283 CACHE_ALL_LOOP(cpuinfo.icache_size, cpuinfo.icache_line_length, wic); in __flush_icache_all_noirq() 285 for (i = 0; i < cpuinfo.icache_size; in __flush_icache_all_noirq()
|
D | mb.c | 102 cpuinfo.icache_size >> 10, in show_cpuinfo()
|
D | cpuinfo-pvr-full.c | 81 CI(icache_size, ICACHE_BYTE_SIZE); in set_cpuinfo_pvr_full()
|
D | cpuinfo-static.c | 82 ci->icache_size = fcpu(cpu, "i-cache-size"); in set_cpuinfo_static()
|
/Linux-v4.19/arch/nios2/kernel/ |
D | cpuinfo.c | 94 cpuinfo.icache_size = fcpu(cpu, "icache-size"); in setup_cpuinfo() 95 if (CONFIG_NIOS2_ICACHE_SIZE != cpuinfo.icache_size) in setup_cpuinfo() 99 CONFIG_NIOS2_ICACHE_SIZE, cpuinfo.icache_size); in setup_cpuinfo() 165 cpuinfo.icache_size >> 10, in show_cpuinfo()
|
/Linux-v4.19/arch/nios2/mm/ |
D | cacheflush.c | 61 if (end > start + cpuinfo.icache_size) in __flush_icache() 62 end = start + cpuinfo.icache_size; in __flush_icache() 100 __flush_icache(0, cpuinfo.icache_size); in flush_cache_all()
|
/Linux-v4.19/arch/openrisc/include/asm/ |
D | cpuinfo.h | 25 u32 icache_size; member
|
/Linux-v4.19/arch/openrisc/kernel/ |
D | setup.c | 128 cpuinfo->icache_size, cpuinfo->icache_block_size, in print_cpuinfo() 189 cpuinfo->icache_size = in setup_cpuinfo() 363 seq_printf(m, "icache size\t\t: %d bytes\n", cpuinfo->icache_size); in show_cpuinfo()
|
/Linux-v4.19/arch/sparc/include/asm/ |
D | cpudata_64.h | 24 unsigned int icache_size; member
|
/Linux-v4.19/arch/nios2/include/asm/ |
D | cpuinfo.h | 37 u32 icache_size; member
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | vdso_datapage.h | 75 __u32 icache_size; /* L1 i-cache size 0x68 */ member
|
/Linux-v4.19/arch/microblaze/include/asm/ |
D | cpuinfo.h | 49 u32 icache_size; member
|
/Linux-v4.19/arch/sparc/kernel/ |
D | prom_64.c | 536 cpu_data(cpuid).icache_size = in fill_in_one_cpu() 565 cpu_data(cpuid).icache_size = in fill_in_one_cpu()
|
D | sysfs.c | 191 SHOW_CPUDATA_UINT_NAME(l1_icache_size, icache_size);
|
D | traps_64.c | 991 unsigned int icache_size, icache_line_size; in __cheetah_flush_icache() local 994 icache_size = local_cpu_data().icache_size; in __cheetah_flush_icache() 998 for (addr = 0; addr < icache_size; addr += icache_line_size) { in __cheetah_flush_icache()
|
D | mdesc.c | 829 c->icache_size = *size; in fill_in_one_cache()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | vdso.c | 742 vdso_data->icache_size = ppc64_caches.l1i.size; in vdso_init()
|