Home
last modified time | relevance | path

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

123

/linux/arch/nds32/include/asm/
A Dmemory.h14 #ifndef PHYS_OFFSET
15 #define PHYS_OFFSET (0x0) macro
32 #define __virt_to_phys(x) ((x) - PAGE_OFFSET + PHYS_OFFSET)
33 #define __phys_to_virt(x) ((x) - PHYS_OFFSET + PAGE_OFFSET)
57 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)
/linux/arch/xtensa/include/asm/
A Dpage.h29 #define PHYS_OFFSET XCHAL_KSEG_PADDR macro
34 #define PHYS_OFFSET _AC(CONFIG_DEFAULT_MEM_START, UL) macro
162 #define ARCH_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)
173 return off + PHYS_OFFSET; in ___pa()
176 return off + PHYS_OFFSET; in ___pa()
188 ((unsigned long) (x) - PAGE_OFFSET + PHYS_OFFSET)
191 ((void *)((unsigned long) (x) - PHYS_OFFSET + PAGE_OFFSET))
/linux/arch/arm/mach-ixp4xx/
A Dcommon-pci.c351 *PCI_AHBMEMBASE = (PHYS_OFFSET & 0xFF000000) + in ixp4xx_pci_preinit()
352 ((PHYS_OFFSET & 0xFF000000) >> 8) + in ixp4xx_pci_preinit()
353 ((PHYS_OFFSET & 0xFF000000) >> 16) + in ixp4xx_pci_preinit()
354 ((PHYS_OFFSET & 0xFF000000) >> 24) + in ixp4xx_pci_preinit()
366 local_write_config(PCI_BASE_ADDRESS_0, 4, PHYS_OFFSET); in ixp4xx_pci_preinit()
367 local_write_config(PCI_BASE_ADDRESS_1, 4, PHYS_OFFSET + SZ_16M); in ixp4xx_pci_preinit()
368 local_write_config(PCI_BASE_ADDRESS_2, 4, PHYS_OFFSET + SZ_32M); in ixp4xx_pci_preinit()
370 PHYS_OFFSET + SZ_32M + SZ_16M); in ixp4xx_pci_preinit()
376 local_write_config(PCI_BASE_ADDRESS_4, 4, PHYS_OFFSET + SZ_64M); in ixp4xx_pci_preinit()
/linux/arch/hexagon/include/asm/
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)
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))
/linux/arch/mips/include/asm/mach-generic/
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)
/linux/arch/nios2/include/asm/
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))
/linux/arch/arm/include/asm/
A Dmemory.h193 #define PHYS_OFFSET ((phys_addr_t)__pv_phys_pfn_offset << PAGE_SHIFT) macro
276 #define PHYS_OFFSET PLAT_PHYS_OFFSET macro
277 #define PHYS_PFN_OFFSET ((unsigned long)(PHYS_OFFSET >> PAGE_SHIFT))
281 return (phys_addr_t)x - PAGE_OFFSET + PHYS_OFFSET; in __virt_to_phys_nodebug()
286 return x - PHYS_OFFSET + PAGE_OFFSET; in __phys_to_virt()
/linux/arch/hexagon/mm/
A Dinit.c21 #define bootmem_startpg (PFN_UP(((unsigned long) _end) - PAGE_OFFSET + PHYS_OFFSET))
160 memblock_add(PHYS_OFFSET, in setup_arch_memory()
164 memblock_reserve(PHYS_OFFSET, in setup_arch_memory()
/linux/arch/xtensa/mm/
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()
/linux/arch/arm/mach-footbridge/include/mach/
A Dmemory.h45 #define __pfn_to_bus(x) (__pfn_to_phys(x) + (BUS_OFFSET - PHYS_OFFSET))
46 #define __bus_to_pfn(x) __phys_to_pfn((x) - (BUS_OFFSET - PHYS_OFFSET))
/linux/arch/arm64/include/asm/
A Dmemory.h184 #define PHYS_OFFSET ({ VM_BUG_ON(memstart_addr & 1); memstart_addr; }) macro
211 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)
268 #define __lm_to_phys(addr) (((addr) - PAGE_OFFSET) + PHYS_OFFSET)
286 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET) | PAGE_OFFSET)
/linux/arch/arm/mach-integrator/
A Dcore.c95 memblock_reserve(PHYS_OFFSET, __pa(swapper_pg_dir) - PHYS_OFFSET); in integrator_reserve()
/linux/arch/mips/include/asm/
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))
/linux/arch/mips/mti-malta/
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()
/linux/Documentation/arm/
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.
/linux/arch/arm/mach-footbridge/
A Dcommon.c254 return __pfn_to_phys(pfn) + (fb_bus_sdram_offset() - PHYS_OFFSET); in __pfn_to_bus()
260 return __phys_to_pfn(bus - (fb_bus_sdram_offset() - PHYS_OFFSET)); in __bus_to_pfn()
/linux/arch/arm/kernel/
A Dsetup.c786 if (aligned_start < PHYS_OFFSET) { in arm_add_memory()
787 if (aligned_start + size <= PHYS_OFFSET) { in arm_add_memory()
794 aligned_start, (u64)PHYS_OFFSET); in arm_add_memory()
796 size -= PHYS_OFFSET - aligned_start; in arm_add_memory()
797 aligned_start = PHYS_OFFSET; in arm_add_memory()
837 start = PHYS_OFFSET; in early_mem()
/linux/arch/nds32/kernel/
A Dsleep.S48 movi $r2, PHYS_OFFSET
92 movi $r2, PHYS_OFFSET
/linux/arch/mips/include/asm/mach-ip22/
A Dspaces.h13 #define PHYS_OFFSET _AC(0x08000000, UL) macro
/linux/arch/mips/include/asm/mach-ip28/
A Dspaces.h14 #define PHYS_OFFSET _AC(0x20000000, UL) macro
/linux/arch/mips/include/asm/mach-pic32/
A Dspaces.h10 #define PHYS_OFFSET _AC(0x08000000, UL) macro
/linux/arch/mips/include/asm/mach-ar7/
A Dspaces.h18 #define PHYS_OFFSET _AC(0x14000000, UL) macro
/linux/arch/mips/include/asm/mach-ip30/
A Dspaces.h12 #define PHYS_OFFSET _AC(0x20000000, UL) macro
/linux/arch/arm/mach-tegra/
A Dpm.c206 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()

Completed in 52 milliseconds

123