Home
last modified time | relevance | path

Searched refs:dcache_size (Results 1 – 23 of 23) sorted by relevance

/arch/mips/mm/
Dc-r3k.c25 static unsigned long icache_size, dcache_size; /* Size in bytes */ variable
94 dcache_size = r3k_cache_size(ST0_ISC); in r3k_probe_cache()
95 if (dcache_size) in r3k_probe_cache()
166 if (size > dcache_size || KSEGX(start) != KSEG0) { in r3k_flush_dcache_range()
168 size = dcache_size; in r3k_flush_dcache_range()
223 r3k_flush_dcache_range(KSEG0, KSEG0 + dcache_size); in r3k___flush_cache_all()
342 dcache_size >> 10, dcache_lsize); in r3k_cache_init()
Dc-octeon.c188 unsigned long dcache_size; in probe_octeon() local
210 dcache_size = in probe_octeon()
212 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_octeon()
226 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
240 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
251 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_octeon()
254 c->dcache.sets = dcache_size / (c->dcache.linesz * c->dcache.ways); in probe_octeon()
266 dcache_size >> 10, c->dcache.ways, in probe_octeon()
Dc-tx39.c27 static unsigned long icache_size, dcache_size; /* Size in bytes */ variable
233 if (end - start > dcache_size) in tx39_flush_icache_range()
268 } else if (size > dcache_size) { in tx39_dma_cache_wback_inv()
285 } else if (size > dcache_size) { in tx39_dma_cache_inv()
319 dcache_size = 1 << (10 + ((config & TX39_CONF_DCS_MASK) >> in tx39_probe_cache()
408 (dcache_size / current_cpu_data.dcache.ways) - 1, in tx39_cache_init()
415 current_cpu_data.dcache.waysize = dcache_size / current_cpu_data.dcache.ways; in tx39_cache_init()
431 dcache_size >> 10, current_cpu_data.dcache.linesz); in tx39_cache_init()
Dc-r4k.c79 static unsigned long dcache_size __read_mostly;
661 if (end - start >= dcache_size) { in local_r4k_flush_icache_range()
739 if (cpu_has_safe_index_cacheops && size >= dcache_size) { in r4k_dma_cache_wback_inv()
777 if (cpu_has_safe_index_cacheops && size >= dcache_size) { in r4k_dma_cache_inv()
920 if (cpu_has_safe_index_cacheops && size >= dcache_size) in local_r4k_flush_kernel_vmap_range()
1042 dcache_size = 1 << (12 + ((config & CONF_DC) >> 6)); in probe_pcache()
1045 c->dcache.waybit= __ffs(dcache_size/2); in probe_pcache()
1057 dcache_size = 1 << (12 + ((config & CONF_DC) >> 6)); in probe_pcache()
1071 dcache_size = 1 << (12 + ((config & CONF_DC) >> 6)); in probe_pcache()
1092 dcache_size = 1 << (12 + ((config & CONF_DC) >> 6)); in probe_pcache()
[all …]
/arch/microblaze/kernel/cpu/
Dcache.c304 CACHE_ALL_LOOP(cpuinfo.dcache_size, cpuinfo.dcache_line_length, wdc); in __invalidate_dcache_all_msr_irq()
306 for (i = 0; i < cpuinfo.dcache_size; in __invalidate_dcache_all_msr_irq()
326 CACHE_ALL_LOOP(cpuinfo.dcache_size, cpuinfo.dcache_line_length, wdc); in __invalidate_dcache_all_nomsr_irq()
328 for (i = 0; i < cpuinfo.dcache_size; in __invalidate_dcache_all_nomsr_irq()
344 CACHE_ALL_LOOP(cpuinfo.dcache_size, cpuinfo.dcache_line_length, wdc); in __invalidate_dcache_all_noirq_wt()
346 for (i = 0; i < cpuinfo.dcache_size; in __invalidate_dcache_all_noirq_wt()
367 CACHE_ALL_LOOP(cpuinfo.dcache_size, cpuinfo.dcache_line_length, in __invalidate_dcache_all_wb()
370 for (i = 0; i < cpuinfo.dcache_size; in __invalidate_dcache_all_wb()
387 cpuinfo.dcache_line_length, cpuinfo.dcache_size); in __invalidate_dcache_range_wb()
406 cpuinfo.dcache_line_length, cpuinfo.dcache_size); in __invalidate_dcache_range_nomsr_wt()
[all …]
Dmb.c110 cpuinfo.dcache_size >> 10, in show_cpuinfo()
Dcpuinfo-pvr-full.c89 CI(dcache_size, DCACHE_BYTE_SIZE); in set_cpuinfo_pvr_full()
Dcpuinfo-static.c96 ci->dcache_size = fcpu(cpu, "d-cache-size"); in set_cpuinfo_static()
/arch/nios2/kernel/
Dcpuinfo.c104 cpuinfo.dcache_size = fcpu(cpu, "dcache-size"); in setup_cpuinfo()
105 if (CONFIG_NIOS2_DCACHE_SIZE != cpuinfo.dcache_size) in setup_cpuinfo()
109 CONFIG_NIOS2_DCACHE_SIZE, cpuinfo.dcache_size); in setup_cpuinfo()
161 cpuinfo.dcache_size >> 10, in show_cpuinfo()
/arch/openrisc/include/asm/
Dcpuinfo.h28 u32 dcache_size; member
/arch/sparc/include/asm/
Dcpudata_64.h21 unsigned int dcache_size; member
/arch/nios2/include/asm/
Dcpuinfo.h37 u32 dcache_size; member
/arch/openrisc/kernel/
Dsetup.c131 cpuinfo.dcache_size, cpuinfo.dcache_block_size, 1); in print_cpuinfo()
186 cpuinfo.dcache_size = in setup_cpuinfo()
348 cpuinfo.dcache_size, in show_cpuinfo()
/arch/nios2/mm/
Dcacheflush.c26 if (end > start + cpuinfo.dcache_size) in __flush_dcache()
27 end = start + cpuinfo.dcache_size; in __flush_dcache()
99 __flush_dcache(0, cpuinfo.dcache_size); in flush_cache_all()
/arch/powerpc/include/asm/
Dvdso_datapage.h73 __u32 dcache_size; /* L1 d-cache size 0x60 */ member
/arch/microblaze/include/asm/
Dcpuinfo.h57 u32 dcache_size; member
/arch/blackfin/kernel/
Dsetup.c1276 u_int icache_size = BFIN_ICACHESIZE / 1024, dcache_size = 0, dsup_banks = 0; local
1336 dcache_size = 16;
1341 dcache_size = 32;
1346 dcache_size = 0;
1351 dcache_size = 0;
1358 dcache_size = 0;
1365 icache_size, dcache_size, 0);
/arch/avr32/kernel/
Dcpu.c336 unsigned int icache_size, dcache_size; in c_show() local
344 dcache_size = boot_cpu_data.dcache.ways * in c_show()
371 dcache_size >> 10, in c_show()
/arch/sparc/kernel/
Dprom_64.c530 cpu_data(cpuid).dcache_size = in fill_in_one_cpu()
560 cpu_data(cpuid).dcache_size = in fill_in_one_cpu()
Dtraps_64.c998 unsigned int dcache_size, dcache_line_size; in cheetah_flush_dcache() local
1001 dcache_size = local_cpu_data().dcache_size; in cheetah_flush_dcache()
1004 for (addr = 0; addr < dcache_size; addr += dcache_line_size) { in cheetah_flush_dcache()
1019 unsigned int dcache_size, dcache_line_size; in cheetah_plus_zap_dcache_parity() local
1022 dcache_size = local_cpu_data().dcache_size; in cheetah_plus_zap_dcache_parity()
1025 for (addr = 0; addr < dcache_size; addr += dcache_line_size) { in cheetah_plus_zap_dcache_parity()
Dsysfs.c205 SHOW_CPUDATA_UINT_NAME(l1_dcache_size, dcache_size);
Dmdesc.c591 c->dcache_size = *size; in fill_in_one_cache()
/arch/powerpc/kernel/
Dvdso.c737 vdso_data->dcache_size = ppc64_caches.dsize; in vdso_init()