Home
last modified time | relevance | path

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

/linux-4.1.27/arch/hexagon/include/asm/
Dmem-layout.h44 #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)
Dpage.h99 #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/
Dmemory.h168 #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/
Dcommon-pci.c355 *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/
Dpage.h39 #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/
Dmemory.h80 #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/
Dspaces.h18 #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/
Dpci.c293 __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/
Dmemory.h59 #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/
Dmemory.h48 #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/
Dpci-versatile.c101 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()
Dpci-tegra.c759 afi_writel(pcie, PHYS_OFFSET, AFI_CACHE_BAR0_ST); in tegra_pcie_setup_translations()
/linux-4.1.27/arch/unicore32/include/mach/
Dmemory.h18 #define PHYS_OFFSET UL(0x00000000) macro
43 #define PCI_DMA_THRESHOLD (PHYS_OFFSET + SZ_128M - 1)
/linux-4.1.27/arch/arm/mach-integrator/
Dcore.c98 memblock_reserve(PHYS_OFFSET, __pa(swapper_pg_dir) - PHYS_OFFSET); in integrator_reserve()
/linux-4.1.27/arch/arm/mach-ks8695/include/mach/
Dmemory.h37 __dma = __dma - PHYS_OFFSET + KS8695_PCIMEM_PA; \
43 __dma += PHYS_OFFSET - KS8695_PCIMEM_PA; \
/linux-4.1.27/arch/arm/mach-omap1/include/mach/
Dmemory.h31 __dma = __dma - PHYS_OFFSET + OMAP1510_LB_OFFSET; \
37 __dma += PHYS_OFFSET - OMAP1510_LB_OFFSET; \
/linux-4.1.27/arch/mips/include/asm/
Dpage.h83 #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))
Dio.h138 return (void *)(address + PAGE_OFFSET - PHYS_OFFSET); in phys_to_virt()
/linux-4.1.27/arch/arm/common/
Dit8152.c251 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/
Dsetup.c167 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/
Dhead-nommu.S71 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
Dsetup.c702 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()
Datags_compat.c157 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()
Datags_parse.c188 default_tags.mem.start = PHYS_OFFSET; in setup_machine_tags()
Dhead.S111 sub r4, r3, r4 @ (PHYS_OFFSET - PAGE_OFFSET)
112 add r8, r8, r4 @ PHYS_OFFSET
/linux-4.1.27/arch/unicore32/kernel/
Dhead.S23 #if (PHYS_OFFSET & 0x003fffff)
28 #define KERNEL_RAM_PADDR (PHYS_OFFSET + KERNEL_IMAGE_START)
123 or r6, r7, #(PHYS_OFFSET & 0xffc00000)
Dsetup.c184 start = PHYS_OFFSET; in early_mem()
/linux-4.1.27/arch/mips/include/asm/mach-ip28/
Dspaces.h14 #define PHYS_OFFSET _AC(0x20000000, UL) macro
/linux-4.1.27/arch/arm/mach-footbridge/
Dcommon.c258 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/
Dspaces.h18 #define PHYS_OFFSET _AC(0x14000000, UL) macro
/linux-4.1.27/arch/mips/include/asm/mach-malta/
Dspaces.h37 #define PHYS_OFFSET _AC(0x80000000, UL) macro
/linux-4.1.27/Documentation/arm/
DPorting10 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/
Diop33x.h37 #define IOP3XX_PCI_LOWER_MEM_BA (PHYS_OFFSET + IOP33X_MAX_RAM_SIZE)
/linux-4.1.27/arch/arm/mach-iop13xx/
Dpci.c571 __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/
Dmemory.h50 #define PHYS_OFFSET PLAT_PHYS_OFFSET macro
/linux-4.1.27/arch/mips/mti-malta/
Dmalta-init.c254 mask = PHYS_OFFSET | (1<<3); in prom_init()
257 mask = PHYS_OFFSET; in prom_init()
Dmalta-memory.c98 mdesc[0].base = PHYS_OFFSET; in fw_getmdesc()
/linux-4.1.27/arch/arm/mach-tegra/
Dpm.c198 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/
Dmemory.c64 add_memory_region(PHYS_OFFSET, pages << PAGE_SHIFT, BOOT_MEM_RAM); in prom_meminit()
/linux-4.1.27/arch/arm/plat-iop/
Dpci.c236 *IOP3XX_IABAR2 = PHYS_OFFSET | in iop3xx_atu_setup()
240 *IOP3XX_IATVR2 = PHYS_OFFSET; in iop3xx_atu_setup()
/linux-4.1.27/arch/arm64/mm/
Dmmap.c103 if (addr < PHYS_OFFSET) in valid_phys_addr_range()
Dmmu.c360 limit = PHYS_OFFSET + PMD_SIZE; in map_mem()
362 limit = PHYS_OFFSET + PUD_SIZE; in map_mem()
/linux-4.1.27/arch/arm/mm/
Dnommu.c91 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()
Dproc-v7-3level.S132 cmp \ttbr1, \tmp @ PHYS_OFFSET > PAGE_OFFSET?
Dmmap.c204 if (addr < PHYS_OFFSET) in valid_phys_addr_range()
Dinit.c129 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()
Dmmu.c1210 memblock_reserve(PHYS_OFFSET, __pa(swapper_pg_dir) - PHYS_OFFSET); in arm_mm_memblock_reserve()
/linux-4.1.27/arch/hexagon/kernel/
Dsetup.c69 printk(KERN_INFO "PHYS_OFFSET=0x%08x\n", PHYS_OFFSET); in setup_arch()
/linux-4.1.27/arch/arm/mach-keystone/
Dkeystone.c69 phys_addr_t offset = PHYS_OFFSET - KEYSTONE_LOW_PHYS_START; in keystone_init_meminfo()
/linux-4.1.27/arch/arm/mach-clps711x/
Dboard-edb7211.c134 memblock_reserve(PHYS_OFFSET, VIDEORAM_SIZE); in edb7211_reserve()
Dboard-p720t.c314 tag->u.mem.start = PHYS_OFFSET; in fixup_p720t()
/linux-4.1.27/arch/hexagon/mm/
Dinit.c34 #define bootmem_startpg (PFN_UP(((unsigned long) _end) - PAGE_OFFSET + PHYS_OFFSET))
/linux-4.1.27/arch/arm/mach-iop13xx/include/mach/
Diop13xx.h83 #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/
Dioremap.c130 if (phys_addr > PHYS_OFFSET && phys_addr < virt_to_phys(high_memory)) { in __ioremap()
/linux-4.1.27/drivers/usb/host/
Dohci-omap.c153 physaddr = tlb * 0x00100000 + PHYS_OFFSET; in omap_1510_local_bus_init()
/linux-4.1.27/arch/avr32/
DKconfig183 config PHYS_OFFSET config
/linux-4.1.27/arch/arm/
DKconfig264 config PHYS_OFFSET config
1448 default PHYS_OFFSET if !MMU