/arch/hexagon/include/asm/ |
D | mem-layout.h | 44 #define PHYS_OFFSET __phys_offset macro 47 #ifndef PHYS_OFFSET 48 #define PHYS_OFFSET 0 macro 51 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)
|
D | page.h | 99 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + PHYS_OFFSET) 100 #define __va(x) ((void *)((unsigned long)(x) - PHYS_OFFSET + PAGE_OFFSET))
|
/arch/xtensa/include/asm/ |
D | page.h | 30 #define PHYS_OFFSET XCHAL_KSEG_PADDR macro 35 #define PHYS_OFFSET PLATFORM_DEFAULT_MEM_START macro 165 #define ARCH_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) 175 return off + PHYS_OFFSET; in ___pa() 180 ((unsigned long) (x) - PAGE_OFFSET + PHYS_OFFSET) 183 ((void *)((unsigned long) (x) - PHYS_OFFSET + PAGE_OFFSET))
|
/arch/nios2/include/asm/ |
D | page.h | 39 #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))
|
/arch/mips/include/asm/mach-generic/ |
D | spaces.h | 20 #ifndef PHYS_OFFSET 21 #define PHYS_OFFSET _AC(0, UL) macro 91 #define PAGE_OFFSET (CAC_BASE + PHYS_OFFSET)
|
/arch/unicore32/include/asm/ |
D | memory.h | 59 #define __virt_to_phys(x) ((x) - PAGE_OFFSET + PHYS_OFFSET) 60 #define __phys_to_virt(x) ((x) - PHYS_OFFSET + PAGE_OFFSET) 83 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)
|
/arch/arm/mach-ixp4xx/ |
D | common-pci.c | 355 *PCI_AHBMEMBASE = (PHYS_OFFSET & 0xFF000000) + in ixp4xx_pci_preinit() 356 ((PHYS_OFFSET & 0xFF000000) >> 8) + in ixp4xx_pci_preinit() 357 ((PHYS_OFFSET & 0xFF000000) >> 16) + in ixp4xx_pci_preinit() 358 ((PHYS_OFFSET & 0xFF000000) >> 24) + in ixp4xx_pci_preinit() 370 local_write_config(PCI_BASE_ADDRESS_0, 4, PHYS_OFFSET); in ixp4xx_pci_preinit() 371 local_write_config(PCI_BASE_ADDRESS_1, 4, PHYS_OFFSET + SZ_16M); in ixp4xx_pci_preinit() 372 local_write_config(PCI_BASE_ADDRESS_2, 4, PHYS_OFFSET + SZ_32M); in ixp4xx_pci_preinit() 374 PHYS_OFFSET + SZ_32M + SZ_16M); in ixp4xx_pci_preinit() 380 local_write_config(PCI_BASE_ADDRESS_4, 4, PHYS_OFFSET + SZ_64M); in ixp4xx_pci_preinit()
|
/arch/arm/mach-footbridge/include/mach/ |
D | memory.h | 48 #define __pfn_to_bus(x) (__pfn_to_phys(x) + (BUS_OFFSET - PHYS_OFFSET)) 49 #define __bus_to_pfn(x) __phys_to_pfn((x) - (BUS_OFFSET - PHYS_OFFSET))
|
/arch/arm64/include/asm/ |
D | memory.h | 184 #define PHYS_OFFSET ({ VM_BUG_ON(memstart_addr & 1); memstart_addr; }) macro 211 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) 227 #define __lm_to_phys(addr) (((addr) & ~PAGE_OFFSET) + PHYS_OFFSET) 246 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET) | PAGE_OFFSET) 300 + PHYS_OFFSET) >> PAGE_SHIFT)
|
/arch/unicore32/include/mach/ |
D | memory.h | 18 #define PHYS_OFFSET UL(0x00000000) macro 43 #define PCI_DMA_THRESHOLD (PHYS_OFFSET + SZ_128M - 1)
|
/arch/arm/include/asm/ |
D | memory.h | 191 #define PHYS_OFFSET ((phys_addr_t)__pv_phys_pfn_offset << PAGE_SHIFT) macro 252 #define PHYS_OFFSET PLAT_PHYS_OFFSET macro 253 #define PHYS_PFN_OFFSET ((unsigned long)(PHYS_OFFSET >> PAGE_SHIFT)) 257 return (phys_addr_t)x - PAGE_OFFSET + PHYS_OFFSET; in __virt_to_phys_nodebug() 262 return x - PHYS_OFFSET + PAGE_OFFSET; in __phys_to_virt()
|
/arch/arm/mach-integrator/ |
D | core.c | 98 memblock_reserve(PHYS_OFFSET, __pa(swapper_pg_dir) - PHYS_OFFSET); in integrator_reserve()
|
/arch/arm/mach-ks8695/include/mach/ |
D | memory.h | 37 __dma = __dma - PHYS_OFFSET + KS8695_PCIMEM_PA; \ 43 __dma += PHYS_OFFSET - KS8695_PCIMEM_PA; \
|
/arch/arm/mach-omap1/include/mach/ |
D | memory.h | 34 __dma = __dma - PHYS_OFFSET + OMAP1510_LB_OFFSET; \ 40 __dma += PHYS_OFFSET - OMAP1510_LB_OFFSET; \
|
/arch/xtensa/mm/ |
D | init.c | 48 if (PHYS_OFFSET) in bootmem_init() 49 memblock_reserve(0, PHYS_OFFSET); in bootmem_init() 59 min_low_pfn = max(min_low_pfn, PFN_UP(PHYS_OFFSET)); in bootmem_init()
|
/arch/mips/include/asm/mach-ip28/ |
D | spaces.h | 14 #define PHYS_OFFSET _AC(0x20000000, UL) macro
|
/arch/mips/include/asm/ |
D | page.h | 83 #define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) 190 return x - PAGE_OFFSET + PHYS_OFFSET; in ___pa() 193 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET - PHYS_OFFSET))
|
/arch/mips/include/asm/mach-pic32/ |
D | spaces.h | 18 #define PHYS_OFFSET _AC(0x08000000, UL) macro
|
/arch/mips/include/asm/mach-ar7/ |
D | spaces.h | 18 #define PHYS_OFFSET _AC(0x14000000, UL) macro
|
/arch/mips/include/asm/mach-malta/ |
D | spaces.h | 37 #define PHYS_OFFSET _AC(0x80000000, UL) macro
|
/arch/nios2/kernel/ |
D | setup.c | 171 min_low_pfn, PFN_DOWN(PHYS_OFFSET), max_low_pfn); in setup_arch() 173 min_low_pfn, PFN_DOWN(PHYS_OFFSET), in setup_arch()
|
/arch/arm/mach-iop33x/include/mach/ |
D | iop33x.h | 37 #define IOP3XX_PCI_LOWER_MEM_BA (PHYS_OFFSET + IOP33X_MAX_RAM_SIZE)
|
/arch/arm/common/ |
D | it8152.c | 251 return (dma_addr + size - PHYS_OFFSET) >= SZ_64M; in it8152_needs_bounce() 262 *dev->dma_mask = (SZ_64M - 1) | PHYS_OFFSET; in it8152_pci_platform_notify() 263 dev->coherent_dma_mask = (SZ_64M - 1) | PHYS_OFFSET; in it8152_pci_platform_notify() 279 if (mask >= PHYS_OFFSET + SZ_64M - 1) in dma_set_coherent_mask()
|
/arch/mips/mti-malta/ |
D | malta-dtshim.c | 81 mem_array[0] = cpu_to_be32(PHYS_OFFSET); in gen_fdt_mem_array() 113 mem_array[2] = cpu_to_be32(PHYS_OFFSET + SZ_512M); in gen_fdt_mem_array() 126 mem_array[2] = cpu_to_be32(PHYS_OFFSET + SZ_2G + SZ_256M); in gen_fdt_mem_array()
|
/arch/arm/kernel/ |
D | head-nommu.S | 71 ldr r5, =PLAT_PHYS_OFFSET @ Region start: PHYS_OFFSET 220 ldr r0, =PLAT_PHYS_OFFSET @ RAM starts at PHYS_OFFSET 223 setup_region r0, r5, r6, MPU_DATA_SIDE @ PHYS_OFFSET, shared, enabled 225 setup_region r0, r5, r6, MPU_INSTR_SIDE @ PHYS_OFFSET, shared, enabled
|