/Linux-v6.1/arch/microblaze/kernel/cpu/ |
D | cache.c | 304 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 …]
|
D | cpuinfo-pvr-full.c | 84 CI(dcache_size, DCACHE_BYTE_SIZE); in set_cpuinfo_pvr_full()
|
D | mb.c | 110 cpuinfo.dcache_size >> 10, in show_cpuinfo()
|
D | cpuinfo-static.c | 96 ci->dcache_size = fcpu(cpu, "d-cache-size"); in set_cpuinfo_static()
|
/Linux-v6.1/arch/mips/mm/ |
D | c-r3k.c | 25 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()
|
D | c-octeon.c | 168 unsigned long dcache_size; in probe_octeon() local 190 dcache_size = in probe_octeon() 192 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1; in probe_octeon() 206 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon() 220 dcache_size = c->dcache.sets * c->dcache.ways * c->dcache.linesz; in probe_octeon() 231 c->dcache.waysize = dcache_size / c->dcache.ways; in probe_octeon() 234 c->dcache.sets = dcache_size / (c->dcache.linesz * c->dcache.ways); in probe_octeon() 246 dcache_size >> 10, c->dcache.ways, in probe_octeon()
|
D | c-r4k.c | 109 static unsigned long dcache_size __read_mostly; 758 (type & R4K_INDEX && end - start >= dcache_size)) { in __local_r4k_flush_icache_range() 836 cache_size += dcache_size; in __r4k_flush_icache_range() 887 if (!r4k_op_needs_ipi(R4K_INDEX) && size >= dcache_size) { in r4k_dma_cache_wback_inv() 957 if (!r4k_op_needs_ipi(R4K_INDEX) && size >= dcache_size) { in r4k_dma_cache_inv() 1011 if (size >= dcache_size) in r4k_flush_kernel_vmap_range() 1123 dcache_size = 1 << (12 + ((config & CONF_DC) >> 6)); in probe_pcache() 1126 c->dcache.waybit= __ffs(dcache_size/2); in probe_pcache() 1137 dcache_size = 1 << (12 + ((config & CONF_DC) >> 6)); in probe_pcache() 1151 dcache_size = 1 << (12 + ((config & CONF_DC) >> 6)); in probe_pcache() [all …]
|
/Linux-v6.1/arch/nios2/kernel/ |
D | cpuinfo.c | 94 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()
|
/Linux-v6.1/arch/nios2/mm/ |
D | cacheflush.c | 27 if (end > start + cpuinfo.dcache_size) in __flush_dcache() 28 end = start + cpuinfo.dcache_size; in __flush_dcache() 100 __flush_dcache(0, cpuinfo.dcache_size); in flush_cache_all()
|
/Linux-v6.1/arch/openrisc/kernel/ |
D | setup.c | 119 cpuinfo->dcache_size, cpuinfo->dcache_block_size, in print_cpuinfo() 193 cpuinfo->dcache_size = in setup_cpuinfo() 338 seq_printf(m, "dcache size\t\t: %d bytes\n", cpuinfo->dcache_size); in show_cpuinfo()
|
/Linux-v6.1/arch/openrisc/include/asm/ |
D | cpuinfo.h | 25 u32 dcache_size; member
|
/Linux-v6.1/arch/sparc/include/asm/ |
D | cpudata_64.h | 22 unsigned int dcache_size; member
|
/Linux-v6.1/arch/nios2/include/asm/ |
D | cpuinfo.h | 26 u32 dcache_size; member
|
/Linux-v6.1/arch/powerpc/include/asm/ |
D | vdso_datapage.h | 70 __u32 dcache_size; /* L1 d-cache size 0x60 */ member
|
/Linux-v6.1/arch/microblaze/include/asm/ |
D | cpuinfo.h | 54 u32 dcache_size; member
|
/Linux-v6.1/arch/sparc/kernel/ |
D | prom_64.c | 534 cpu_data(cpuid).dcache_size = in fill_in_one_cpu() 564 cpu_data(cpuid).dcache_size = in fill_in_one_cpu()
|
D | traps_64.c | 1027 unsigned int dcache_size, dcache_line_size; in cheetah_flush_dcache() local 1030 dcache_size = local_cpu_data().dcache_size; in cheetah_flush_dcache() 1033 for (addr = 0; addr < dcache_size; addr += dcache_line_size) { in cheetah_flush_dcache() 1048 unsigned int dcache_size, dcache_line_size; in cheetah_plus_zap_dcache_parity() local 1051 dcache_size = local_cpu_data().dcache_size; in cheetah_plus_zap_dcache_parity() 1054 for (addr = 0; addr < dcache_size; addr += dcache_line_size) { in cheetah_plus_zap_dcache_parity()
|
D | sysfs.c | 189 SHOW_CPUDATA_UINT_NAME(l1_dcache_size, dcache_size);
|
D | mdesc.c | 834 c->dcache_size = *size; in fill_in_one_cache()
|
/Linux-v6.1/arch/microblaze/kernel/ |
D | asm-offsets.c | 124 DEFINE(CI_DCS, offsetof(struct cpuinfo, dcache_size)); in main()
|
/Linux-v6.1/arch/powerpc/kernel/ |
D | vdso.c | 378 vdso_data->dcache_size = ppc64_caches.l1d.size; in vdso_init()
|