Home
last modified time | relevance | path

Searched refs:dcache_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
95 dcache_size = r3k_cache_size(ST0_ISC); in r3k_probe_cache()
96 if (dcache_size) in r3k_probe_cache()
167 if (size > dcache_size || KSEGX(start) != KSEG0) { in r3k_flush_dcache_range()
169 size = dcache_size; in r3k_flush_dcache_range()
224 r3k_flush_dcache_range(KSEG0, KSEG0 + dcache_size); in r3k___flush_cache_all()
336 dcache_size >> 10, dcache_lsize); in r3k_cache_init()
Dc-octeon.c179 unsigned long dcache_size; in probe_octeon() local
199 dcache_size = in probe_octeon()
201 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_octeon()
212 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_octeon()
215 c->dcache.sets = dcache_size / (c->dcache.linesz * c->dcache.ways); in probe_octeon()
227 dcache_size >> 10, c->dcache.ways, in probe_octeon()
Dc-tx39.c27 static unsigned long icache_size, dcache_size; /* Size in bytes */ variable
235 if (end - start > dcache_size) in tx39_flush_icache_range()
265 } else if (size > dcache_size) { in tx39_dma_cache_wback_inv()
282 } else if (size > dcache_size) { in tx39_dma_cache_inv()
316 dcache_size = 1 << (10 + ((config & TX39_CONF_DCS_MASK) >> in tx39_probe_cache()
405 (dcache_size / current_cpu_data.dcache.ways) - 1, in tx39_cache_init()
412 current_cpu_data.dcache.waysize = dcache_size / current_cpu_data.dcache.ways; in tx39_cache_init()
428 dcache_size >> 10, current_cpu_data.dcache.linesz); in tx39_cache_init()
Dc-r4k.c67 static unsigned long dcache_size __read_mostly;
549 if (end - start >= dcache_size) { in local_r4k_flush_icache_range()
603 if (cpu_has_safe_index_cacheops && size >= dcache_size) { in r4k_dma_cache_wback_inv()
641 if (cpu_has_safe_index_cacheops && size >= dcache_size) { in r4k_dma_cache_inv()
763 dcache_size = 1 << (12 + ((config & CONF_DC) >> 6)); in probe_pcache()
766 c->dcache.waybit= __ffs(dcache_size/2); in probe_pcache()
778 dcache_size = 1 << (12 + ((config & CONF_DC) >> 6)); in probe_pcache()
792 dcache_size = 1 << (12 + ((config & CONF_DC) >> 6)); in probe_pcache()
813 dcache_size = 1 << (12 + ((config & CONF_DC) >> 6)); in probe_pcache()
829 dcache_size = 1 << (12 + ((config & R10K_CONF_DC) >> 26)); in probe_pcache()
[all …]
/arch/powerpc/include/asm/
Dvdso_datapage.h73 __u32 dcache_size; /* L1 d-cache size 0x60 */ member
/arch/blackfin/kernel/
Dsetup.c1069 u_int icache_size = BFIN_ICACHESIZE / 1024, dcache_size = 0, dsup_banks = 0; local
1120 dcache_size = 16;
1125 dcache_size = 32;
1130 dcache_size = 0;
1135 dcache_size = 0;
1142 dcache_size = 0;
1149 icache_size, dcache_size,
/arch/avr32/kernel/
Dcpu.c332 unsigned int icache_size, dcache_size; in c_show() local
340 dcache_size = boot_cpu_data.dcache.ways * in c_show()
367 dcache_size >> 10, in c_show()
/arch/sparc/kernel/
Dprom_64.c467 cpu_data(cpuid).dcache_size = in of_fill_in_cpu_data()
500 cpu_data(cpuid).dcache_size = in of_fill_in_cpu_data()
Dtraps_64.c986 unsigned int dcache_size, dcache_line_size; in cheetah_flush_dcache() local
989 dcache_size = local_cpu_data().dcache_size; in cheetah_flush_dcache()
992 for (addr = 0; addr < dcache_size; addr += dcache_line_size) { in cheetah_flush_dcache()
1007 unsigned int dcache_size, dcache_line_size; in cheetah_plus_zap_dcache_parity() local
1010 dcache_size = local_cpu_data().dcache_size; in cheetah_plus_zap_dcache_parity()
1013 for (addr = 0; addr < dcache_size; addr += dcache_line_size) { in cheetah_plus_zap_dcache_parity()
Dsysfs.c203 SHOW_CPUDATA_UINT_NAME(l1_dcache_size, dcache_size);
Dmdesc.c595 c->dcache_size = *size; in fill_in_one_cache()
/arch/sparc/include/asm/
Dcpudata_64.h27 unsigned int dcache_size; member
/arch/powerpc/kernel/
Dvdso.c717 vdso_data->dcache_size = ppc64_caches.dsize; in vdso_init()