/linux-4.1.27/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))
|
/linux-4.1.27/arch/arm/include/asm/ |
D | memory.h | 168 #define PHYS_OFFSET PLAT_PHYS_OFFSET macro 169 #define PHYS_PFN_OFFSET ((unsigned long)(PHYS_OFFSET >> PAGE_SHIFT)) 187 #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() 262 return x - PHYS_OFFSET + PAGE_OFFSET; in __phys_to_virt()
|
/linux-4.1.27/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()
|
/linux-4.1.27/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) 82 ((unsigned long)(x) - PAGE_OFFSET + PHYS_OFFSET) 84 ((void *)((unsigned long)(x) + PAGE_OFFSET - PHYS_OFFSET))
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | memory.h | 80 #define __virt_to_phys(x) (((phys_addr_t)(x) - PAGE_OFFSET + PHYS_OFFSET)) 81 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET + PAGE_OFFSET)) 114 #define PHYS_OFFSET ({ memstart_addr; }) macro 132 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)
|
/linux-4.1.27/arch/mips/include/asm/mach-generic/ |
D | spaces.h | 18 #ifndef PHYS_OFFSET 19 #define PHYS_OFFSET _AC(0, UL) macro 93 #define PAGE_OFFSET (CAC_BASE + PHYS_OFFSET)
|
/linux-4.1.27/arch/arm/mach-versatile/ |
D | pci.c | 293 __raw_writel(PHYS_OFFSET, local_pci_cfg_base + PCI_BASE_ADDRESS_0); in pci_versatile_setup() 294 __raw_writel(PHYS_OFFSET, local_pci_cfg_base + PCI_BASE_ADDRESS_1); in pci_versatile_setup() 295 __raw_writel(PHYS_OFFSET, local_pci_cfg_base + PCI_BASE_ADDRESS_2); in pci_versatile_setup() 329 __raw_writel(PHYS_OFFSET >> 28, PCI_SMAP0); in pci_versatile_preinit() 330 __raw_writel(PHYS_OFFSET >> 28, PCI_SMAP1); in pci_versatile_preinit() 331 __raw_writel(PHYS_OFFSET >> 28, PCI_SMAP2); in pci_versatile_preinit()
|
/linux-4.1.27/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) 89 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)
|
/linux-4.1.27/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))
|
/linux-4.1.27/drivers/pci/host/ |
D | pci-versatile.c | 101 writel(PHYS_OFFSET >> 28, PCI_SMAP(mem)); in versatile_pci_parse_request_of_pci_ranges() 191 writel(PHYS_OFFSET, local_pci_cfg_base + PCI_BASE_ADDRESS_0); in versatile_pci_probe() 192 writel(PHYS_OFFSET, local_pci_cfg_base + PCI_BASE_ADDRESS_1); in versatile_pci_probe() 193 writel(PHYS_OFFSET, local_pci_cfg_base + PCI_BASE_ADDRESS_2); in versatile_pci_probe()
|
D | pci-tegra.c | 759 afi_writel(pcie, PHYS_OFFSET, AFI_CACHE_BAR0_ST); in tegra_pcie_setup_translations()
|
/linux-4.1.27/arch/unicore32/include/mach/ |
D | memory.h | 18 #define PHYS_OFFSET UL(0x00000000) macro 43 #define PCI_DMA_THRESHOLD (PHYS_OFFSET + SZ_128M - 1)
|
/linux-4.1.27/arch/arm/mach-integrator/ |
D | core.c | 98 memblock_reserve(PHYS_OFFSET, __pa(swapper_pg_dir) - PHYS_OFFSET); in integrator_reserve()
|
/linux-4.1.27/arch/arm/mach-ks8695/include/mach/ |
D | memory.h | 37 __dma = __dma - PHYS_OFFSET + KS8695_PCIMEM_PA; \ 43 __dma += PHYS_OFFSET - KS8695_PCIMEM_PA; \
|
/linux-4.1.27/arch/arm/mach-omap1/include/mach/ |
D | memory.h | 31 __dma = __dma - PHYS_OFFSET + OMAP1510_LB_OFFSET; \ 37 __dma += PHYS_OFFSET - OMAP1510_LB_OFFSET; \
|
/linux-4.1.27/arch/mips/include/asm/ |
D | page.h | 83 #define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) 173 ((unsigned long)(x) - PAGE_OFFSET + PHYS_OFFSET) 175 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET - PHYS_OFFSET))
|
D | io.h | 138 return (void *)(address + PAGE_OFFSET - PHYS_OFFSET); in phys_to_virt()
|
/linux-4.1.27/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()
|
/linux-4.1.27/arch/nios2/kernel/ |
D | setup.c | 167 min_low_pfn, PFN_DOWN(PHYS_OFFSET), max_low_pfn); in setup_arch() 169 min_low_pfn, PFN_DOWN(PHYS_OFFSET), in setup_arch()
|
/linux-4.1.27/arch/arm/kernel/ |
D | head-nommu.S | 71 ldr r5, =PLAT_PHYS_OFFSET @ Region start: PHYS_OFFSET 216 ldr r0, =PLAT_PHYS_OFFSET @ RAM starts at PHYS_OFFSET 219 setup_region r0, r5, r6, MPU_DATA_SIDE @ PHYS_OFFSET, shared, enabled 221 setup_region r0, r5, r6, MPU_INSTR_SIDE @ PHYS_OFFSET, shared, enabled
|
D | setup.c | 702 if (aligned_start < PHYS_OFFSET) { in arm_add_memory() 703 if (aligned_start + size <= PHYS_OFFSET) { in arm_add_memory() 710 aligned_start, (u64)PHYS_OFFSET); in arm_add_memory() 712 size -= PHYS_OFFSET - aligned_start; in arm_add_memory() 713 aligned_start = PHYS_OFFSET; in arm_add_memory() 753 start = PHYS_OFFSET; in early_mem()
|
D | atags_compat.c | 157 tag = memtag(tag, PHYS_OFFSET + (i << 26), in build_tag_list() 161 tag = memtag(tag, PHYS_OFFSET, params->u1.s.nr_pages * PAGE_SIZE); in build_tag_list()
|
D | atags_parse.c | 188 default_tags.mem.start = PHYS_OFFSET; in setup_machine_tags()
|
D | head.S | 111 sub r4, r3, r4 @ (PHYS_OFFSET - PAGE_OFFSET) 112 add r8, r8, r4 @ PHYS_OFFSET
|
/linux-4.1.27/arch/unicore32/kernel/ |
D | head.S | 23 #if (PHYS_OFFSET & 0x003fffff) 28 #define KERNEL_RAM_PADDR (PHYS_OFFSET + KERNEL_IMAGE_START) 123 or r6, r7, #(PHYS_OFFSET & 0xffc00000)
|
D | setup.c | 184 start = PHYS_OFFSET; in early_mem()
|
/linux-4.1.27/arch/mips/include/asm/mach-ip28/ |
D | spaces.h | 14 #define PHYS_OFFSET _AC(0x20000000, UL) macro
|
/linux-4.1.27/arch/arm/mach-footbridge/ |
D | common.c | 258 return __pfn_to_phys(pfn) + (fb_bus_sdram_offset() - PHYS_OFFSET); in __pfn_to_bus() 264 return __phys_to_pfn(bus - (fb_bus_sdram_offset() - PHYS_OFFSET)); in __bus_to_pfn()
|
/linux-4.1.27/arch/mips/include/asm/mach-ar7/ |
D | spaces.h | 18 #define PHYS_OFFSET _AC(0x14000000, UL) macro
|
/linux-4.1.27/arch/mips/include/asm/mach-malta/ |
D | spaces.h | 37 #define PHYS_OFFSET _AC(0x80000000, UL) macro
|
/linux-4.1.27/Documentation/arm/ |
D | Porting | 10 phys = virt - PAGE_OFFSET + PHYS_OFFSET 57 PHYS_OFFSET 63 address PHYS_OFFSET, along with any other mappings you supply. 111 be present, and should be the same as PHYS_OFFSET.
|
/linux-4.1.27/arch/arm/mach-iop33x/include/mach/ |
D | iop33x.h | 37 #define IOP3XX_PCI_LOWER_MEM_BA (PHYS_OFFSET + IOP33X_MAX_RAM_SIZE)
|
/linux-4.1.27/arch/arm/mach-iop13xx/ |
D | pci.c | 571 __raw_writel(~(IOP13XX_MAX_RAM_SIZE - PHYS_OFFSET - 1) & ~0x1, in iop13xx_atue_setup() 576 __raw_writel(PHYS_OFFSET | PCI_BASE_ADDRESS_MEM_TYPE_64 | in iop13xx_atue_setup() 583 __raw_writel(PHYS_OFFSET, IOP13XX_ATUE_IATVR1); in iop13xx_atue_setup() 740 __raw_writel(~(IOP13XX_MAX_RAM_SIZE - PHYS_OFFSET - 1) & ~0x1, in iop13xx_atux_setup() 745 __raw_writel(PHYS_OFFSET | PCI_BASE_ADDRESS_MEM_TYPE_64 | in iop13xx_atux_setup() 752 __raw_writel(PHYS_OFFSET, IOP13XX_ATUX_IATVR1); in iop13xx_atux_setup()
|
/linux-4.1.27/arch/arm/mach-realview/include/mach/ |
D | memory.h | 50 #define PHYS_OFFSET PLAT_PHYS_OFFSET macro
|
/linux-4.1.27/arch/mips/mti-malta/ |
D | malta-init.c | 254 mask = PHYS_OFFSET | (1<<3); in prom_init() 257 mask = PHYS_OFFSET; in prom_init()
|
D | malta-memory.c | 98 mdesc[0].base = PHYS_OFFSET; in fw_getmdesc()
|
/linux-4.1.27/arch/arm/mach-tegra/ |
D | pm.c | 198 cpu_suspend(PHYS_OFFSET - PAGE_OFFSET, &tegra_sleep_cpu); in tegra_idle_lp2_last() 343 cpu_suspend(PHYS_OFFSET - PAGE_OFFSET, tegra_sleep_func); in tegra_suspend_enter()
|
/linux-4.1.27/arch/mips/ar7/ |
D | memory.c | 64 add_memory_region(PHYS_OFFSET, pages << PAGE_SHIFT, BOOT_MEM_RAM); in prom_meminit()
|
/linux-4.1.27/arch/arm/plat-iop/ |
D | pci.c | 236 *IOP3XX_IABAR2 = PHYS_OFFSET | in iop3xx_atu_setup() 240 *IOP3XX_IATVR2 = PHYS_OFFSET; in iop3xx_atu_setup()
|
/linux-4.1.27/arch/arm64/mm/ |
D | mmap.c | 103 if (addr < PHYS_OFFSET) in valid_phys_addr_range()
|
D | mmu.c | 360 limit = PHYS_OFFSET + PMD_SIZE; in map_mem() 362 limit = PHYS_OFFSET + PUD_SIZE; in map_mem()
|
/linux-4.1.27/arch/arm/mm/ |
D | nommu.c | 91 phys_addr_t phys_offset = PHYS_OFFSET; in sanity_check_meminfo_mpu() 263 region_err = mpu_setup_region(MPU_RAM_REGION, PHYS_OFFSET, in mpu_setup()
|
D | proc-v7-3level.S | 132 cmp \ttbr1, \tmp @ PHYS_OFFSET > PAGE_OFFSET?
|
D | mmap.c | 204 if (addr < PHYS_OFFSET) in valid_phys_addr_range()
|
D | init.c | 129 arm_dma_limit = PHYS_OFFSET + arm_dma_zone_size - 1; in setup_dma_zone() 488 free_reserved_area(__va(PHYS_OFFSET), swapper_pg_dir, -1, NULL); in mem_init()
|
D | mmu.c | 1210 memblock_reserve(PHYS_OFFSET, __pa(swapper_pg_dir) - PHYS_OFFSET); in arm_mm_memblock_reserve()
|
/linux-4.1.27/arch/hexagon/kernel/ |
D | setup.c | 69 printk(KERN_INFO "PHYS_OFFSET=0x%08x\n", PHYS_OFFSET); in setup_arch()
|
/linux-4.1.27/arch/arm/mach-keystone/ |
D | keystone.c | 69 phys_addr_t offset = PHYS_OFFSET - KEYSTONE_LOW_PHYS_START; in keystone_init_meminfo()
|
/linux-4.1.27/arch/arm/mach-clps711x/ |
D | board-edb7211.c | 134 memblock_reserve(PHYS_OFFSET, VIDEORAM_SIZE); in edb7211_reserve()
|
D | board-p720t.c | 314 tag->u.mem.start = PHYS_OFFSET; in fixup_p720t()
|
/linux-4.1.27/arch/hexagon/mm/ |
D | init.c | 34 #define bootmem_startpg (PFN_UP(((unsigned long) _end) - PAGE_OFFSET + PHYS_OFFSET))
|
/linux-4.1.27/arch/arm/mach-iop13xx/include/mach/ |
D | iop13xx.h | 83 #define IOP13XX_PCIX_LOWER_MEM_BA (PHYS_OFFSET + IOP13XX_PCI_OFFSET) 104 #define IOP13XX_PCIE_LOWER_MEM_BA (PHYS_OFFSET + IOP13XX_PCI_OFFSET)
|
/linux-4.1.27/arch/nios2/mm/ |
D | ioremap.c | 130 if (phys_addr > PHYS_OFFSET && phys_addr < virt_to_phys(high_memory)) { in __ioremap()
|
/linux-4.1.27/drivers/usb/host/ |
D | ohci-omap.c | 153 physaddr = tlb * 0x00100000 + PHYS_OFFSET; in omap_1510_local_bus_init()
|
/linux-4.1.27/arch/avr32/ |
D | Kconfig | 183 config PHYS_OFFSET config
|
/linux-4.1.27/arch/arm/ |
D | Kconfig | 264 config PHYS_OFFSET config 1448 default PHYS_OFFSET if !MMU
|