/Linux-v4.19/arch/nds32/include/asm/ |
D | memory.h | 14 #ifndef PHYS_OFFSET 15 #define PHYS_OFFSET (0x0) macro 40 #define __virt_to_phys(x) ((x) - PAGE_OFFSET + PHYS_OFFSET) 41 #define __phys_to_virt(x) ((x) - PHYS_OFFSET + PAGE_OFFSET) 65 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)
|
/Linux-v4.19/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-v4.19/arch/mips/include/asm/mach-generic/ |
D | spaces.h | 22 # define PHYS_OFFSET ((unsigned long)PFN_PHYS(ARCH_PFN_OFFSET)) macro 23 # elif !defined(PHYS_OFFSET) 24 # define PHYS_OFFSET _AC(0, UL) macro 95 #define PAGE_OFFSET (CAC_BASE + PHYS_OFFSET)
|
/Linux-v4.19/arch/xtensa/include/asm/ |
D | page.h | 29 #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) 172 return off + PHYS_OFFSET; in ___pa() 177 ((unsigned long) (x) - PAGE_OFFSET + PHYS_OFFSET) 180 ((void *)((unsigned long) (x) - PHYS_OFFSET + PAGE_OFFSET))
|
/Linux-v4.19/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-v4.19/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))
|
/Linux-v4.19/arch/unicore32/include/asm/ |
D | memory.h | 53 #define __virt_to_phys(x) ((x) - PAGE_OFFSET + PHYS_OFFSET) 54 #define __phys_to_virt(x) ((x) - PHYS_OFFSET + PAGE_OFFSET) 77 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT)
|
/Linux-v4.19/arch/arm64/include/asm/ |
D | memory.h | 186 #define PHYS_OFFSET ({ VM_BUG_ON(memstart_addr & 1); memstart_addr; }) macro 213 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) 229 #define __lm_to_phys(addr) (((addr) & ~PAGE_OFFSET) + PHYS_OFFSET) 248 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET) | PAGE_OFFSET) 302 + PHYS_OFFSET) >> PAGE_SHIFT)
|
/Linux-v4.19/arch/arm/include/asm/ |
D | memory.h | 186 #define PHYS_OFFSET ((phys_addr_t)__pv_phys_pfn_offset << PAGE_SHIFT) macro 247 #define PHYS_OFFSET PLAT_PHYS_OFFSET macro 248 #define PHYS_PFN_OFFSET ((unsigned long)(PHYS_OFFSET >> PAGE_SHIFT)) 252 return (phys_addr_t)x - PAGE_OFFSET + PHYS_OFFSET; in __virt_to_phys_nodebug() 257 return x - PHYS_OFFSET + PAGE_OFFSET; in __phys_to_virt()
|
/Linux-v4.19/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-v4.19/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-v4.19/drivers/pci/controller/ |
D | pci-versatile.c | 96 writel(PHYS_OFFSET >> 28, PCI_SMAP(mem)); in versatile_pci_parse_request_of_pci_ranges() 180 writel(PHYS_OFFSET, local_pci_cfg_base + PCI_BASE_ADDRESS_0); in versatile_pci_probe() 181 writel(PHYS_OFFSET, local_pci_cfg_base + PCI_BASE_ADDRESS_1); in versatile_pci_probe() 182 writel(PHYS_OFFSET, local_pci_cfg_base + PCI_BASE_ADDRESS_2); in versatile_pci_probe()
|
/Linux-v4.19/arch/arm/mach-integrator/ |
D | core.c | 98 memblock_reserve(PHYS_OFFSET, __pa(swapper_pg_dir) - PHYS_OFFSET); in integrator_reserve()
|
/Linux-v4.19/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-v4.19/arch/arm/mach-omap1/include/mach/ |
D | memory.h | 34 __dma = __dma - PHYS_OFFSET + OMAP1510_LB_OFFSET; \ 40 __dma += PHYS_OFFSET - OMAP1510_LB_OFFSET; \
|
/Linux-v4.19/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()
|
/Linux-v4.19/arch/mips/include/asm/ |
D | page.h | 87 # define ARCH_PFN_OFFSET PFN_UP(PHYS_OFFSET) 195 return x - PAGE_OFFSET + PHYS_OFFSET; in ___pa() 198 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET - PHYS_OFFSET))
|
/Linux-v4.19/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-v4.19/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()
|
/Linux-v4.19/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()
|
/Linux-v4.19/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)
|
/Linux-v4.19/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-v4.19/arch/mips/include/asm/mach-ip28/ |
D | spaces.h | 14 #define PHYS_OFFSET _AC(0x20000000, UL) macro
|
/Linux-v4.19/arch/mips/include/asm/mach-pic32/ |
D | spaces.h | 18 #define PHYS_OFFSET _AC(0x08000000, UL) macro
|