Home
last modified time | relevance | path

Searched refs:va_pa_offset (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/arch/csky/include/asm/
Dpage.h75 extern unsigned long va_pa_offset;
77 #define ARCH_PFN_OFFSET PFN_DOWN(va_pa_offset + PHYS_OFFSET_OFFSET)
79 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + va_pa_offset)
80 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET - va_pa_offset))
/Linux-v5.4/arch/csky/kernel/
Dsetup.c145 unsigned long va_pa_offset; variable
146 EXPORT_SYMBOL(va_pa_offset);
154 va_pa_offset = read_mmu_msa0() & ~(SSEG_SIZE - 1); in csky_start()
Dentry.S49 lrw a2, va_pa_offset
60 lrw a2, va_pa_offset
/Linux-v5.4/arch/riscv/include/asm/
Dpage.h91 extern unsigned long va_pa_offset;
97 #define __pa(x) ((unsigned long)(x) - va_pa_offset)
98 #define __va(x) ((void *)((unsigned long) (x) + va_pa_offset))
/Linux-v5.4/arch/riscv/mm/
Dinit.c145 unsigned long va_pa_offset; variable
146 EXPORT_SYMBOL(va_pa_offset);
352 va_pa_offset = PAGE_OFFSET - load_pa; in setup_vm()