| /arch/xtensa/include/asm/ |
| A D | page.h | 25 #define PHYS_OFFSET XCHAL_KSEG_PADDR macro 30 #define PHYS_OFFSET _AC(CONFIG_DEFAULT_MEM_START, UL) macro 140 #define ARCH_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) 151 return off + PHYS_OFFSET; in ___pa() 154 return off + PHYS_OFFSET; in ___pa() 166 ((unsigned long) (x) - PAGE_OFFSET + PHYS_OFFSET) 169 ((void *)((unsigned long) (x) - PHYS_OFFSET + PAGE_OFFSET))
|
| /arch/arm/boot/bootp/ |
| A D | Makefile | 9 ifdef PHYS_OFFSET 19 PARAMS_PHYS := $(call add_hex, $(PHYS_OFFSET), 0x100) 27 INITRD_PHYS := $(call add_hex, $(PHYS_OFFSET), $(INITRD_OFFSET)) 35 (echo bootpImage: You must specify PHYS_OFFSET of PARAMS_PHYS ; exit -1)
|
| /arch/hexagon/include/asm/ |
| A D | mem-layout.h | 31 #define PHYS_OFFSET __phys_offset macro 34 #ifndef PHYS_OFFSET 35 #define PHYS_OFFSET 0 macro 38 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)
|
| A D | page.h | 83 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + PHYS_OFFSET) 84 #define __va(x) ((void *)((unsigned long)(x) - PHYS_OFFSET + PAGE_OFFSET))
|
| /arch/mips/include/asm/mach-generic/ |
| A D | spaces.h | 26 # define PHYS_OFFSET ((unsigned long)PFN_PHYS(ARCH_PFN_OFFSET)) macro 27 # elif !defined(PHYS_OFFSET) 28 # define PHYS_OFFSET _AC(0, UL) macro 95 #define PAGE_OFFSET (CAC_BASE + PHYS_OFFSET)
|
| /arch/nios2/include/asm/ |
| A D | page.h | 34 #define PHYS_OFFSET CONFIG_NIOS2_MEM_BASE macro 41 #define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) 75 ((unsigned long)(x) - PAGE_OFFSET + PHYS_OFFSET) 77 ((void *)((unsigned long)(x) + PAGE_OFFSET - PHYS_OFFSET))
|
| /arch/loongarch/include/asm/ |
| A D | addrspace.h | 22 #ifndef PHYS_OFFSET 23 #define PHYS_OFFSET _UL(0) macro 62 #define PAGE_OFFSET (CACHE_BASE + PHYS_OFFSET)
|
| A D | page.h | 28 #define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) 68 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET - PHYS_OFFSET))
|
| /arch/arm/include/asm/ |
| A D | memory.h | 192 #define PHYS_OFFSET ((phys_addr_t)__pv_phys_pfn_offset << PAGE_SHIFT) macro 275 #define PHYS_OFFSET PLAT_PHYS_OFFSET macro 276 #define PHYS_PFN_OFFSET ((unsigned long)(PHYS_OFFSET >> PAGE_SHIFT)) 280 return (phys_addr_t)x - PAGE_OFFSET + PHYS_OFFSET; in __virt_to_phys_nodebug() 285 return x - PHYS_OFFSET + PAGE_OFFSET; in __phys_to_virt()
|
| /arch/arm/mach-versatile/ |
| A D | integrator.c | 93 memblock_reserve(PHYS_OFFSET, __pa(swapper_pg_dir) - PHYS_OFFSET); in integrator_reserve()
|
| /arch/xtensa/mm/ |
| A D | init.c | 48 memblock_reserve(0, PHYS_OFFSET ? PHYS_OFFSET : 1); in bootmem_init() 56 min_low_pfn = max(min_low_pfn, PFN_UP(PHYS_OFFSET)); in bootmem_init()
|
| /arch/mips/include/asm/ |
| A D | page.h | 68 # define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) 177 return x - PAGE_OFFSET + PHYS_OFFSET; in ___pa() 180 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET - PHYS_OFFSET))
|
| /arch/arm/boot/ |
| A D | Makefile | 21 PHYS_OFFSET := $(CONFIG_PHYS_OFFSET) macro 22 export ZRELADDR PARAMS_PHYS PHYS_OFFSET
|
| /arch/hexagon/mm/ |
| A D | init.c | 22 #define bootmem_startpg (PFN_UP(((unsigned long) _end) - PAGE_OFFSET + PHYS_OFFSET)) 133 memblock_add(PHYS_OFFSET, in setup_arch_memory() 137 memblock_reserve(PHYS_OFFSET, in setup_arch_memory()
|
| /arch/arm64/include/asm/ |
| A D | memory.h | 239 #define PHYS_OFFSET ({ VM_BUG_ON(memstart_addr & 1); memstart_addr; }) macro 275 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) 334 #define __lm_to_phys(addr) (((addr) - PAGE_OFFSET) + PHYS_OFFSET) 352 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET) | PAGE_OFFSET)
|
| /arch/mips/include/asm/mach-ip22/ |
| A D | spaces.h | 13 #define PHYS_OFFSET _AC(0x08000000, UL) macro
|
| /arch/mips/include/asm/mach-ip28/ |
| A D | spaces.h | 14 #define PHYS_OFFSET _AC(0x20000000, UL) macro
|
| /arch/mips/include/asm/mach-pic32/ |
| A D | spaces.h | 10 #define PHYS_OFFSET _AC(0x08000000, UL) macro
|
| /arch/mips/include/asm/mach-ip30/ |
| A D | spaces.h | 12 #define PHYS_OFFSET _AC(0x20000000, UL) macro
|
| /arch/mips/include/asm/mach-malta/ |
| A D | spaces.h | 37 #define PHYS_OFFSET _AC(0x80000000, UL) macro
|
| /arch/mips/mti-malta/ |
| A D | malta-dtshim.c | 77 mem_array[0] = cpu_to_be32(PHYS_OFFSET); in gen_fdt_mem_array() 109 mem_array[2] = cpu_to_be32(PHYS_OFFSET + SZ_512M); in gen_fdt_mem_array() 122 mem_array[2] = cpu_to_be32(PHYS_OFFSET + SZ_2G + SZ_256M); in gen_fdt_mem_array()
|
| /arch/arm64/kernel/ |
| A D | vmcore_info.c | 32 PHYS_OFFSET); in arch_crash_save_vmcoreinfo()
|
| /arch/loongarch/kernel/ |
| A D | mem.c | 55 memblock_reserve(PHYS_OFFSET, 0x200000); in memblock_init()
|
| /arch/arm/mm/ |
| A D | init.c | 103 arm_dma_limit = PHYS_OFFSET + arm_dma_zone_size - 1; in setup_dma_zone() 248 memblock_phys_free(PHYS_OFFSET, __pa(swapper_pg_dir) - PHYS_OFFSET); in arch_mm_preinit()
|
| /arch/arm/mach-tegra/ |
| A D | pm.c | 206 err = cpu_suspend(PHYS_OFFSET - PAGE_OFFSET, &tegra_sleep_cpu); in tegra_pm_enter_lp2() 372 cpu_suspend(PHYS_OFFSET - PAGE_OFFSET, tegra_sleep_func); in tegra_suspend_enter()
|