Home
last modified time | relevance | path

Searched refs:icache_size (Results 1 – 20 of 20) sorted by relevance

/arch/mips/mm/
Dc-r3k.c25 static unsigned long icache_size, dcache_size; /* Size in bytes */ variable
98 icache_size = r3k_cache_size(ST0_ISC|ST0_SWC); in r3k_probe_cache()
99 if (icache_size) in r3k_probe_cache()
109 if (size > icache_size || KSEGX(start) != KSEG0) { in r3k_flush_icache_range()
111 size = icache_size; in r3k_flush_icache_range()
224 r3k_flush_icache_range(KSEG0, KSEG0 + icache_size); in r3k___flush_cache_all()
340 icache_size >> 10, icache_lsize); in r3k_cache_init()
Dc-octeon.c187 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()
Dc-r4k.c78 static unsigned long icache_size __read_mostly;
663 if (end - start > icache_size) in local_r4k_flush_icache_range()
954 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
957 c->icache.waybit = __ffs(icache_size/2); in probe_pcache()
969 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
983 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
1004 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
1020 icache_size = 1 << (12 + ((config & R10K_CONF_IC) >> 29)); in probe_pcache()
1046 icache_size = 1 << (10 + ((config & CONF_IC) >> 9)); in probe_pcache()
1049 c->icache.waybit = __ffs(icache_size/2); in probe_pcache()
[all …]
Dc-tx39.c27 static unsigned long icache_size, dcache_size; /* Size in bytes */ variable
240 if (end - start > icache_size) in tx39_flush_icache_range()
319 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()
/arch/microblaze/kernel/cpu/
Dcache.c168 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()
Dmb.c107 cpuinfo.icache_size >> 10, in show_cpuinfo()
Dcpuinfo-pvr-full.c81 CI(icache_size, ICACHE_BYTE_SIZE); in set_cpuinfo_pvr_full()
Dcpuinfo-static.c82 ci->icache_size = fcpu(cpu, "i-cache-size"); in set_cpuinfo_static()
/arch/openrisc/include/asm/
Dcpuinfo.h25 u32 icache_size; member
/arch/sparc/include/asm/
Dcpudata_64.h23 unsigned int icache_size; member
/arch/openrisc/kernel/
Dsetup.c137 cpuinfo.icache_size, cpuinfo.icache_block_size, 1); in print_cpuinfo()
179 cpuinfo.icache_size = in setup_cpuinfo()
348 cpuinfo.icache_size, in show_cpuinfo()
/arch/powerpc/include/asm/
Dvdso_datapage.h75 __u32 icache_size; /* L1 i-cache size 0x68 */ member
/arch/microblaze/include/asm/
Dcpuinfo.h49 u32 icache_size; member
/arch/avr32/kernel/
Dcpu.c336 unsigned int icache_size, dcache_size; in c_show() local
341 icache_size = boot_cpu_data.icache.ways * in c_show()
366 icache_size >> 10, in c_show()
/arch/blackfin/kernel/
Dsetup.c1276 u_int icache_size = BFIN_ICACHESIZE / 1024, dcache_size = 0, dsup_banks = 0; local
1361 icache_size = 0;
1365 icache_size, dcache_size, 0);
1384 if (icache_size)
/arch/sparc/kernel/
Dprom_64.c536 cpu_data(cpuid).icache_size = in fill_in_one_cpu()
565 cpu_data(cpuid).icache_size = in fill_in_one_cpu()
Dsysfs.c207 SHOW_CPUDATA_UINT_NAME(l1_icache_size, icache_size);
Dtraps_64.c958 unsigned int icache_size, icache_line_size; in __cheetah_flush_icache() local
961 icache_size = local_cpu_data().icache_size; in __cheetah_flush_icache()
965 for (addr = 0; addr < icache_size; addr += icache_line_size) { in __cheetah_flush_icache()
Dmdesc.c587 c->icache_size = *size; in fill_in_one_cache()
/arch/powerpc/kernel/
Dvdso.c761 vdso_data->icache_size = ppc64_caches.isize; in vdso_init()