Searched refs:PHYS_OFFSET (Results 1 - 25 of 50) sorted by relevance

12

/arch/mips/include/asm/mach-ip28/
H A Dspaces.h14 #define PHYS_OFFSET _AC(0x20000000, UL) macro
/arch/hexagon/include/asm/
H A Dmem-layout.h37 * an actual PHYS_OFFSET. Should be set up in head.S.
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)
H A Dpage.h97 * also, check if we need a PHYS_OFFSET.
99 #define __pa(x) ((unsigned long)(x) - PAGE_OFFSET + PHYS_OFFSET)
100 #define __va(x) ((void *)((unsigned long)(x) - PHYS_OFFSET + PAGE_OFFSET))
/arch/mips/include/asm/mach-ar7/
H A Dspaces.h18 #define PHYS_OFFSET _AC(0x14000000, UL) macro
20 #define UNCAC_BASE _AC(0xb4000000, UL) /* 0xa0000000 + PHYS_OFFSET */
/arch/arm/mach-footbridge/include/mach/
H A 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))
/arch/arm/mach-iop33x/include/mach/
H A Diop33x.h37 #define IOP3XX_PCI_LOWER_MEM_BA (PHYS_OFFSET + IOP33X_MAX_RAM_SIZE)
/arch/mips/include/asm/mach-malta/
H A Dspaces.h37 #define PHYS_OFFSET _AC(0x80000000, UL) macro
/arch/arm/mach-ks8695/include/mach/
H A Dmemory.h37 __dma = __dma - PHYS_OFFSET + KS8695_PCIMEM_PA; \
43 __dma += PHYS_OFFSET - KS8695_PCIMEM_PA; \
/arch/arm/mach-omap1/include/mach/
H A Dmemory.h31 __dma = __dma - PHYS_OFFSET + OMAP1510_LB_OFFSET; \
37 __dma += PHYS_OFFSET - OMAP1510_LB_OFFSET; \
/arch/unicore32/include/mach/
H A Dmemory.h18 #define PHYS_OFFSET UL(0x00000000) macro
43 #define PCI_DMA_THRESHOLD (PHYS_OFFSET + SZ_128M - 1)
/arch/arm64/include/asm/
H A Dmemory.h72 #define __virt_to_phys(x) (((phys_addr_t)(x) - PAGE_OFFSET + PHYS_OFFSET))
73 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET + PAGE_OFFSET))
105 /* PHYS_OFFSET - the physical address of the start of memory. */
106 #define PHYS_OFFSET ({ memstart_addr; }) macro
116 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)
/arch/mips/include/asm/mach-generic/
H A Dspaces.h18 #ifndef PHYS_OFFSET
19 #define PHYS_OFFSET _AC(0, UL) macro
93 #define PAGE_OFFSET (CAC_BASE + PHYS_OFFSET)
/arch/unicore32/include/asm/
H A 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)
/arch/arm/include/asm/
H A Dmemory.h153 * PLAT_PHYS_OFFSET and not PHYS_OFFSET.
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;
262 return x - PHYS_OFFSET + PAGE_OFFSET;
/arch/arm/mach-msm/
H A Dboard-sapphire.c83 memblock_add(PHYS_OFFSET, 84*SZ_1M);
85 memblock_add(PHYS_OFFSET, 101*SZ_1M);
87 memblock_add(PHYS_OFFSET, 101*SZ_1M);
H A Dboard-trout.c61 memblock_add(PHYS_OFFSET, 101*SZ_1M);
/arch/arm/mach-realview/include/mach/
H A Dmemory.h50 #define PHYS_OFFSET PLAT_PHYS_OFFSET macro
/arch/arm/mach-ixp4xx/
H A Dcommon-pci.c355 *PCI_AHBMEMBASE = (PHYS_OFFSET & 0xFF000000) +
356 ((PHYS_OFFSET & 0xFF000000) >> 8) +
357 ((PHYS_OFFSET & 0xFF000000) >> 16) +
358 ((PHYS_OFFSET & 0xFF000000) >> 24) +
370 local_write_config(PCI_BASE_ADDRESS_0, 4, PHYS_OFFSET);
371 local_write_config(PCI_BASE_ADDRESS_1, 4, PHYS_OFFSET + SZ_16M);
372 local_write_config(PCI_BASE_ADDRESS_2, 4, PHYS_OFFSET + SZ_32M);
374 PHYS_OFFSET + SZ_32M + SZ_16M);
380 local_write_config(PCI_BASE_ADDRESS_4, 4, PHYS_OFFSET + SZ_64M);
/arch/arm/mach-versatile/
H A Dpci.c293 __raw_writel(PHYS_OFFSET, local_pci_cfg_base + PCI_BASE_ADDRESS_0);
294 __raw_writel(PHYS_OFFSET, local_pci_cfg_base + PCI_BASE_ADDRESS_1);
295 __raw_writel(PHYS_OFFSET, local_pci_cfg_base + PCI_BASE_ADDRESS_2);
329 __raw_writel(PHYS_OFFSET >> 28, PCI_SMAP0);
330 __raw_writel(PHYS_OFFSET >> 28, PCI_SMAP1);
331 __raw_writel(PHYS_OFFSET >> 28, PCI_SMAP2);
/arch/mips/include/asm/
H A Dpage.h83 #define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET)
175 ((unsigned long)(x) - PAGE_OFFSET + PHYS_OFFSET)
177 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET - PHYS_OFFSET))
/arch/arm/common/
H A Dit8152.c251 return (dma_addr + size - PHYS_OFFSET) >= SZ_64M;
262 *dev->dma_mask = (SZ_64M - 1) | PHYS_OFFSET;
263 dev->coherent_dma_mask = (SZ_64M - 1) | PHYS_OFFSET;
279 if (mask >= PHYS_OFFSET + SZ_64M - 1)
/arch/arm64/mm/
H A Dmmap.c107 if (addr < PHYS_OFFSET)
/arch/mips/ar7/
H A Dmemory.c64 add_memory_region(PHYS_OFFSET, pages << PAGE_SHIFT, BOOT_MEM_RAM);
/arch/arm/mach-footbridge/
H A Dcommon.c258 return __pfn_to_phys(pfn) + (fb_bus_sdram_offset() - PHYS_OFFSET);
264 return __phys_to_pfn(bus - (fb_bus_sdram_offset() - PHYS_OFFSET));
/arch/arm/mach-integrator/
H A Dcore.c140 memblock_reserve(PHYS_OFFSET, __pa(swapper_pg_dir) - PHYS_OFFSET);

Completed in 3360 milliseconds

12