Home
last modified time | relevance | path

Searched refs:dcache_size (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-5.10/arch/mips/mm/
H A 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()
315 dcache_size >> 10, dcache_lsize); in r3k_cache_init()
H A Dc-tx39.c27 static unsigned long icache_size, dcache_size; /* Size in bytes */ variable
229 if (end - start > dcache_size) in tx39_flush_icache_range()
264 } else if (size > dcache_size) { in tx39_dma_cache_wback_inv()
281 } else if (size > dcache_size) { in tx39_dma_cache_inv()
296 dcache_size = 1 << (10 + ((config & TX39_CONF_DCS_MASK) >> in tx39_probe_cache()
383 (dcache_size / current_cpu_data.dcache.ways) - 1, in tx39_cache_init()
393 current_cpu_data.dcache.waysize = dcache_size / current_cpu_data.dcache.ways; in tx39_cache_init()
409 dcache_size >> 10, current_cpu_data.dcache.linesz); in tx39_cache_init()
H A Dc-octeon.c170 unsigned long dcache_size; in probe_octeon() local
192 dcache_size = in probe_octeon()
194 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_octeon()
208 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
222 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
233 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_octeon()
236 c->dcache.sets = dcache_size / (c->dcache.linesz * c->dcache.ways); in probe_octeon()
248 dcache_size >> 10, c->dcache.ways, in probe_octeon()
H A Dc-r4k.c110 static unsigned long dcache_size __read_mostly;
759 (type & R4K_INDEX && end - start >= dcache_size)) { in __local_r4k_flush_icache_range()
837 cache_size += dcache_size; in __r4k_flush_icache_range()
888 if (!r4k_op_needs_ipi(R4K_INDEX) && size >= dcache_size) { in r4k_dma_cache_wback_inv()
958 if (!r4k_op_needs_ipi(R4K_INDEX) && size >= dcache_size) { in r4k_dma_cache_inv()
1012 if (size >= dcache_size) in r4k_flush_kernel_vmap_range()
1124 dcache_size = 1 << (12 + ((config & CONF_DC) >> 6)); in probe_pcache()
1127 c->dcache.waybit= __ffs(dcache_size/2); in probe_pcache()
1138 dcache_size = 1 << (12 + ((config & CONF_DC) >> 6)); in probe_pcache()
1152 dcache_size in probe_pcache()
[all...]
/kernel/linux/linux-6.6/arch/mips/mm/
H A 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()
310 dcache_size >> 10, dcache_lsize); in r3k_cache_init()
H A Dc-octeon.c173 unsigned long dcache_size; in probe_octeon() local
195 dcache_size = in probe_octeon()
197 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_octeon()
211 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
225 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon()
236 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_octeon()
239 c->dcache.sets = dcache_size / (c->dcache.linesz * c->dcache.ways); in probe_octeon()
251 dcache_size >> 10, c->dcache.ways, in probe_octeon()
H A Dc-r4k.c109 static unsigned long dcache_size __read_mostly;
648 (type & R4K_INDEX && end - start >= dcache_size)) { in __local_r4k_flush_icache_range()
726 cache_size += dcache_size; in __r4k_flush_icache_range()
777 if (!r4k_op_needs_ipi(R4K_INDEX) && size >= dcache_size) { in r4k_dma_cache_wback_inv()
847 if (!r4k_op_needs_ipi(R4K_INDEX) && size >= dcache_size) { in r4k_dma_cache_inv()
901 if (size >= dcache_size) in r4k_flush_kernel_vmap_range()
1013 dcache_size = 1 << (12 + ((config & CONF_DC) >> 6)); in probe_pcache()
1016 c->dcache.waybit= __ffs(dcache_size/2); in probe_pcache()
1027 dcache_size = 1 << (12 + ((config & CONF_DC) >> 6)); in probe_pcache()
1041 dcache_size in probe_pcache()
[all...]
/kernel/linux/linux-5.10/arch/microblaze/kernel/cpu/
H A 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...]
/kernel/linux/linux-6.6/arch/microblaze/kernel/cpu/
H A 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...]
/kernel/linux/linux-5.10/arch/nios2/kernel/
H A Dcpuinfo.c94 cpuinfo.dcache_size = fcpu(cpu, "dcache-size"); in setup_cpuinfo()
95 if (CONFIG_NIOS2_DCACHE_SIZE != cpuinfo.dcache_size) in setup_cpuinfo()
99 CONFIG_NIOS2_DCACHE_SIZE, cpuinfo.dcache_size); in setup_cpuinfo()
159 cpuinfo.dcache_size >> 10, in show_cpuinfo()
/kernel/linux/linux-6.6/arch/nios2/kernel/
H A Dcpuinfo.c94 cpuinfo.dcache_size = fcpu(cpu, "dcache-size"); in setup_cpuinfo()
95 if (CONFIG_NIOS2_DCACHE_SIZE != cpuinfo.dcache_size) in setup_cpuinfo()
99 CONFIG_NIOS2_DCACHE_SIZE, cpuinfo.dcache_size); in setup_cpuinfo()
159 cpuinfo.dcache_size >> 10, in show_cpuinfo()
/kernel/linux/linux-5.10/arch/nios2/mm/
H A 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()
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
H A Dcpuinfo.h25 u32 dcache_size; member
/kernel/linux/linux-6.6/arch/openrisc/include/asm/
H A Dcpuinfo.h25 u32 dcache_size; member
/kernel/linux/linux-5.10/arch/sparc/include/asm/
H A Dcpudata_64.h22 unsigned int dcache_size; member
/kernel/linux/linux-6.6/arch/sparc/include/asm/
H A Dcpudata_64.h22 unsigned int dcache_size; member
/kernel/linux/linux-5.10/arch/openrisc/kernel/
H A Dsetup.c119 cpuinfo->dcache_size, cpuinfo->dcache_block_size, in print_cpuinfo()
193 cpuinfo->dcache_size = in setup_cpuinfo()
355 seq_printf(m, "dcache size\t\t: %d bytes\n", cpuinfo->dcache_size); in show_cpuinfo()
/kernel/linux/linux-6.6/arch/nios2/mm/
H A Dcacheflush.c27 if (end > start + cpuinfo.dcache_size) in __flush_dcache()
28 end = start + cpuinfo.dcache_size; in __flush_dcache()
101 __flush_dcache(0, cpuinfo.dcache_size); in flush_cache_all()
/kernel/linux/linux-6.6/arch/openrisc/kernel/
H A Dsetup.c119 cpuinfo->dcache_size, cpuinfo->dcache_block_size, in print_cpuinfo()
178 cpuinfo->dcache_size = in setup_cpuinfo()
323 seq_printf(m, "dcache size\t\t: %d bytes\n", cpuinfo->dcache_size); in show_cpuinfo()
/kernel/linux/linux-5.10/arch/nios2/include/asm/
H A Dcpuinfo.h26 u32 dcache_size; member
/kernel/linux/linux-6.6/arch/nios2/include/asm/
H A Dcpuinfo.h26 u32 dcache_size; member
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dvdso_datapage.h70 __u32 dcache_size; /* L1 d-cache size 0x60 */ member
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
H A Dcpuinfo.h54 u32 dcache_size; member
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dvdso_datapage.h69 __u32 dcache_size; /* L1 d-cache size 0x60 */ member
/kernel/linux/linux-6.6/arch/microblaze/include/asm/
H A Dcpuinfo.h54 u32 dcache_size; member

Completed in 13 milliseconds

12