Home
last modified time | relevance | path

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

/arch/mips/mm/
Dc-r3k.c26 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()
334 icache_size >> 10, icache_lsize); in r3k_cache_init()
Dc-octeon.c178 unsigned long icache_size; in probe_octeon() local
190 icache_size = in probe_octeon()
192 c->icache.waybit = ffs(icache_size / c->icache.ways) - 1; in probe_octeon()
211 c->icache.waysize = icache_size / c->icache.ways; in probe_octeon()
214 c->icache.sets = icache_size / (c->icache.linesz * c->icache.ways); in probe_octeon()
220 icache_size >> 10, in probe_octeon()
Dc-r4k.c66 static unsigned long icache_size __read_mostly;
557 if (end - start > icache_size) in local_r4k_flush_icache_range()
758 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
761 c->icache.waybit = __ffs(icache_size/2); in probe_pcache()
773 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
787 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
808 icache_size = 1 << (12 + ((config & CONF_IC) >> 9)); in probe_pcache()
824 icache_size = 1 << (12 + ((config & R10K_CONF_IC) >> 29)); in probe_pcache()
850 icache_size = 1 << (10 + ((config & CONF_IC) >> 9)); in probe_pcache()
853 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()
314 icache_size = 1 << (10 + ((config & TX39_CONF_ICS_MASK) >> in tx39_probe_cache()
411 current_cpu_data.icache.waysize = icache_size / current_cpu_data.icache.ways; in tx39_cache_init()
426 icache_size >> 10, current_cpu_data.icache.linesz); in tx39_cache_init()
/arch/powerpc/include/asm/
Dvdso_datapage.h75 __u32 icache_size; /* L1 i-cache size 0x68 */ member
/arch/avr32/kernel/
Dcpu.c332 unsigned int icache_size, dcache_size; in c_show() local
337 icache_size = boot_cpu_data.icache.ways * in c_show()
362 icache_size >> 10, in c_show()
/arch/blackfin/kernel/
Dsetup.c1069 u_int icache_size = BFIN_ICACHESIZE / 1024, dcache_size = 0, dsup_banks = 0; local
1145 icache_size = 0;
1149 icache_size, dcache_size,
1159 if (icache_size)
/arch/sparc/kernel/
Dprom_64.c473 cpu_data(cpuid).icache_size = in of_fill_in_cpu_data()
505 cpu_data(cpuid).icache_size = in of_fill_in_cpu_data()
Dsysfs.c205 SHOW_CPUDATA_UINT_NAME(l1_icache_size, icache_size);
Dtraps_64.c946 unsigned int icache_size, icache_line_size; in __cheetah_flush_icache() local
949 icache_size = local_cpu_data().icache_size; in __cheetah_flush_icache()
953 for (addr = 0; addr < icache_size; addr += icache_line_size) { in __cheetah_flush_icache()
Dmdesc.c592 c->icache_size = *size; in fill_in_one_cache()
/arch/sparc/include/asm/
Dcpudata_64.h29 unsigned int icache_size; member
/arch/powerpc/kernel/
Dvdso.c719 vdso_data->icache_size = ppc64_caches.isize; in vdso_init()