Home
last modified time | relevance | path

Searched refs:PHYS_OFFSET (Results 1 – 25 of 59) sorted by relevance

123

/openbmc/linux/arch/xtensa/include/asm/
H A Dpage.h31 #define PHYS_OFFSET XCHAL_KSEG_PADDR macro
36 #define PHYS_OFFSET _AC(CONFIG_DEFAULT_MEM_START, UL) macro
164 #define ARCH_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)
175 return off + PHYS_OFFSET; in ___pa()
178 return off + PHYS_OFFSET; in ___pa()
190 ((unsigned long) (x) - PAGE_OFFSET + PHYS_OFFSET)
193 ((void *)((unsigned long) (x) - PHYS_OFFSET + PAGE_OFFSET))
/openbmc/linux/arch/arm/boot/bootp/
H A DMakefile10 ifdef PHYS_OFFSET
20 PARAMS_PHYS := $(call add_hex, $(PHYS_OFFSET), 0x100)
28 INITRD_PHYS := $(call add_hex, $(PHYS_OFFSET), $(INITRD_OFFSET))
36 (echo bootpImage: You must specify PHYS_OFFSET of PARAMS_PHYS ; exit -1)
/openbmc/linux/arch/hexagon/include/asm/
H A Dmem-layout.h31 #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)
H A Dpage.h86 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + PHYS_OFFSET)
87 #define __va(x) ((void *)((unsigned long)(x) - PHYS_OFFSET + PAGE_OFFSET))
/openbmc/linux/arch/mips/include/asm/mach-generic/
H A Dspaces.h26 # define PHYS_OFFSET ((unsigned long)PFN_PHYS(ARCH_PFN_OFFSET)) macro
27 # elif !defined(PHYS_OFFSET)
28 # define PHYS_OFFSET _AC(0, UL) macro
91 #define PAGE_OFFSET (CAC_BASE + PHYS_OFFSET)
/openbmc/linux/arch/nios2/include/asm/
H A Dpage.h39 #define PHYS_OFFSET CONFIG_NIOS2_MEM_BASE macro
46 #define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET)
80 ((unsigned long)(x) - PAGE_OFFSET + PHYS_OFFSET)
82 ((void *)((unsigned long)(x) + PAGE_OFFSET - PHYS_OFFSET))
/openbmc/u-boot/arch/mips/include/asm/mach-generic/
H A Dspaces.h15 #ifndef PHYS_OFFSET
16 #define PHYS_OFFSET _AC(0, UL) macro
90 #define PAGE_OFFSET (CAC_BASE + PHYS_OFFSET)
/openbmc/linux/arch/arm/include/asm/
H A Dmemory.h198 #define PHYS_OFFSET ((phys_addr_t)__pv_phys_pfn_offset << PAGE_SHIFT) macro
281 #define PHYS_OFFSET PLAT_PHYS_OFFSET macro
282 #define PHYS_PFN_OFFSET ((unsigned long)(PHYS_OFFSET >> PAGE_SHIFT))
286 return (phys_addr_t)x - PAGE_OFFSET + PHYS_OFFSET; in __virt_to_phys_nodebug()
291 return x - PHYS_OFFSET + PAGE_OFFSET; in __phys_to_virt()
/openbmc/linux/arch/loongarch/include/asm/
H A Daddrspace.h21 #ifndef PHYS_OFFSET
22 #define PHYS_OFFSET _UL(0) macro
57 #define PAGE_OFFSET (CACHE_BASE + PHYS_OFFSET)
H A Dpage.h41 #define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET)
81 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET - PHYS_OFFSET))
/openbmc/linux/arch/arm/mach-versatile/
H A Dintegrator.c93 memblock_reserve(PHYS_OFFSET, __pa(swapper_pg_dir) - PHYS_OFFSET); in integrator_reserve()
/openbmc/linux/arch/mips/include/asm/
H A Dpage.h87 # define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET)
196 return x - PAGE_OFFSET + PHYS_OFFSET; in ___pa()
199 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET - PHYS_OFFSET))
/openbmc/linux/arch/xtensa/mm/
H A Dinit.c48 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()
/openbmc/linux/arch/arm64/include/asm/
H A Dmemory.h194 #define PHYS_OFFSET ({ VM_BUG_ON(memstart_addr & 1); memstart_addr; }) macro
233 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)
292 #define __lm_to_phys(addr) (((addr) - PAGE_OFFSET) + PHYS_OFFSET)
310 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET) | PAGE_OFFSET)
/openbmc/linux/arch/hexagon/mm/
H A Dinit.c21 #define bootmem_startpg (PFN_UP(((unsigned long) _end) - PAGE_OFFSET + PHYS_OFFSET))
158 memblock_add(PHYS_OFFSET, in setup_arch_memory()
162 memblock_reserve(PHYS_OFFSET, in setup_arch_memory()
/openbmc/linux/arch/arm/boot/
H A DMakefile21 PHYS_OFFSET := $(CONFIG_PHYS_OFFSET) macro
22 export ZRELADDR PARAMS_PHYS PHYS_OFFSET
/openbmc/linux/arch/mips/mti-malta/
H A Dmalta-dtshim.c77 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()
/openbmc/linux/Documentation/arch/arm/
H A Dporting.rst14 phys = virt - PAGE_OFFSET + PHYS_OFFSET
61 PHYS_OFFSET
67 address PHYS_OFFSET, along with any other mappings you supply.
114 be present, and should be the same as PHYS_OFFSET.
/openbmc/linux/arch/mips/include/asm/mach-ip28/
H A Dspaces.h14 #define PHYS_OFFSET _AC(0x20000000, UL) macro
/openbmc/linux/arch/mips/include/asm/mach-ip22/
H A Dspaces.h13 #define PHYS_OFFSET _AC(0x08000000, UL) macro
/openbmc/linux/arch/mips/include/asm/mach-pic32/
H A Dspaces.h10 #define PHYS_OFFSET _AC(0x08000000, UL) macro
/openbmc/linux/arch/mips/include/asm/mach-ar7/
H A Dspaces.h18 #define PHYS_OFFSET _AC(0x14000000, UL) macro
/openbmc/linux/arch/mips/include/asm/mach-ip30/
H A Dspaces.h12 #define PHYS_OFFSET _AC(0x20000000, UL) macro
/openbmc/linux/arch/mips/include/asm/mach-malta/
H A Dspaces.h37 #define PHYS_OFFSET _AC(0x80000000, UL) macro
/openbmc/linux/arch/arm/kernel/
H A Dsetup.c793 if (aligned_start < PHYS_OFFSET) { in arm_add_memory()
794 if (aligned_start + size <= PHYS_OFFSET) { in arm_add_memory()
801 aligned_start, (u64)PHYS_OFFSET); in arm_add_memory()
803 size -= PHYS_OFFSET - aligned_start; in arm_add_memory()
804 aligned_start = PHYS_OFFSET; in arm_add_memory()
844 start = PHYS_OFFSET; in early_mem()

123