Home
last modified time | relevance | path

Searched refs:dcache_line_size (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/u-boot/arch/nios2/lib/
H A Dcache.c17 start &= ~(gd->arch.dcache_line_size - 1); in __flush_dcache()
18 end += (gd->arch.dcache_line_size - 1); in __flush_dcache()
19 end &= ~(gd->arch.dcache_line_size - 1); in __flush_dcache()
21 for (addr = start; addr < end; addr += gd->arch.dcache_line_size) { in __flush_dcache()
33 start &= ~(gd->arch.dcache_line_size - 1); in __flush_dcache_all()
34 end += (gd->arch.dcache_line_size - 1); in __flush_dcache_all()
35 end &= ~(gd->arch.dcache_line_size - 1); in __flush_dcache_all()
40 for (addr = start; addr < end; addr += gd->arch.dcache_line_size) { in __flush_dcache_all()
52 start &= ~(gd->arch.dcache_line_size - 1); in __invalidate_dcache()
53 end += (gd->arch.dcache_line_size - 1); in __invalidate_dcache()
[all …]
/openbmc/linux/arch/nios2/mm/
H A Dcacheflush.c23 start &= ~(cpuinfo.dcache_line_size - 1); in __flush_dcache()
24 end += (cpuinfo.dcache_line_size - 1); in __flush_dcache()
25 end &= ~(cpuinfo.dcache_line_size - 1); in __flush_dcache()
30 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __flush_dcache()
42 start &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache()
43 end += (cpuinfo.dcache_line_size - 1); in __invalidate_dcache()
44 end &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache()
46 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __invalidate_dcache()
/openbmc/u-boot/arch/mips/lib/
H A Dcache.c76 static inline unsigned long dcache_line_size(void) in dcache_line_size() function
112 unsigned long dlsize = dcache_line_size(); in flush_cache()
145 unsigned long lsize = dcache_line_size(); in flush_dcache_range()
163 unsigned long lsize = dcache_line_size(); in invalidate_dcache_range()
/openbmc/linux/arch/nios2/kernel/
H A Dcpuinfo.c88 cpuinfo.dcache_line_size = fcpu(cpu, "dcache-line-size"); in setup_cpuinfo()
89 if (CONFIG_NIOS2_DCACHE_LINE_SIZE != cpuinfo.dcache_line_size) in setup_cpuinfo()
93 CONFIG_NIOS2_DCACHE_LINE_SIZE, cpuinfo.dcache_line_size); in setup_cpuinfo()
160 cpuinfo.dcache_line_size); in show_cpuinfo()
/openbmc/u-boot/arch/nios2/include/asm/
H A Dglobal_data.h11 u32 dcache_line_size; member
/openbmc/linux/arch/sparc/include/asm/
H A Dcpudata_64.h23 unsigned int dcache_line_size; member
/openbmc/linux/arch/nios2/include/asm/
H A Dcpuinfo.h25 u32 dcache_line_size; member
/openbmc/linux/arch/arm/mm/
H A Dcache-v7.S280 dcache_line_size r2, r3
337 dcache_line_size r2, r3
365 dcache_line_size r2, r3
395 dcache_line_size r2, r3
417 dcache_line_size r2, r3
H A Dcache-v7m.S305 dcache_line_size r2, r3
344 dcache_line_size r2, r3
368 dcache_line_size r2, r3
H A Dproc-v7m.S75 dcache_line_size r2, r3
H A Dproc-macros.S74 .macro dcache_line_size, reg, tmp macro
/openbmc/qemu/target/ppc/
H A Dmem_helper.c308 dcbz_common(env, addr, mmu_idx, env->dcache_line_size, GETPC()); in helper_dcbz()
314 int dcbz_size = env->dcache_line_size; in helper_dcbzl()
330 addr &= ~(env->dcache_line_size - 1); in helper_icbi()
344 addr &= ~(env->dcache_line_size - 1); in helper_icbiep()
H A Dcpu_init.c2148 env->dcache_line_size = 32; in init_proc_405()
2217 env->dcache_line_size = 32; in init_proc_440EP()
2311 env->dcache_line_size = 32; in init_proc_440GP()
2381 env->dcache_line_size = 32; in init_proc_440x5()
2469 env->dcache_line_size = 32; in init_proc_MPC5xx()
2512 env->dcache_line_size = 32; in init_proc_MPC8xx()
2562 env->dcache_line_size = 32; in init_proc_G2()
2745 env->dcache_line_size = 32; in init_proc_e200()
3279 env->dcache_line_size = 32; in init_proc_603()
3421 env->dcache_line_size = 32; in init_proc_604()
[all …]
H A Dkvm_ppc.h108 for (p = addr; p < addr + len; p += cpu->env.dcache_line_size) { in kvmppc_dcbst_range()
/openbmc/linux/arch/sparc/kernel/
H A Dptrace_64.c126 unsigned long dcache_line_size; in flush_ptrace_access() local
128 dcache_line_size = local_cpu_data().dcache_line_size; in flush_ptrace_access()
131 for (; start < end; start += dcache_line_size) in flush_ptrace_access()
134 start &= ~(dcache_line_size - 1); in flush_ptrace_access()
135 for (; start < end; start += dcache_line_size) in flush_ptrace_access()
H A Dtraps_64.c1027 unsigned int dcache_size, dcache_line_size; in cheetah_flush_dcache() local
1031 dcache_line_size = local_cpu_data().dcache_line_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
1052 dcache_line_size = local_cpu_data().dcache_line_size; in cheetah_plus_zap_dcache_parity()
1054 for (addr = 0; addr < dcache_size; addr += dcache_line_size) { in cheetah_plus_zap_dcache_parity()
1064 for (line = addr; line < addr + dcache_line_size; line += 8) in cheetah_plus_zap_dcache_parity()
H A Dprom_64.c539 cpu_data(cpuid).dcache_line_size = in fill_in_one_cpu()
568 cpu_data(cpuid).dcache_line_size = in fill_in_one_cpu()
H A Dsysfs.c190 SHOW_CPUDATA_UINT_NAME(l1_dcache_line_size, dcache_line_size);
/openbmc/linux/arch/powerpc/include/asm/
H A Dvdso_datapage.h71 __u32 dcache_line_size; /* L1 d-cache line size 0x64 */ member
/openbmc/u-boot/arch/nios2/cpu/
H A Dcpu.c109 gd->arch.dcache_line_size = fdtdec_get_int(blob, node, in altera_nios2_probe()
/openbmc/linux/arch/arm64/mm/
H A Dcache.S146 dcache_line_size x2, x3
/openbmc/linux/arch/arm64/include/asm/
H A Dassembler.h306 .macro dcache_line_size, reg, tmp
441 dcache_line_size \tmp1, \tmp2
/openbmc/linux/arch/powerpc/kernel/
H A Dvdso.c355 vdso_data->dcache_line_size = ppc64_caches.l1d.line_size; in vdso_init()
/openbmc/qemu/hw/ppc/
H A Dpegasos2.c980 cpu->env.dcache_line_size); in build_fdt()
982 cpu->env.dcache_line_size); in build_fdt()
/openbmc/linux/arch/arm/boot/compressed/
H A Dhead.S690 .macro dcache_line_size, reg, tmp macro
1270 dcache_line_size r1, r2 @ r1 := dcache min line size

12