Searched refs:__phys_to_virt (Results 1 – 21 of 21) sorted by relevance
/arch/arm/include/asm/ |
D | memory.h | 216 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() function 240 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() function 266 return (void *)__phys_to_virt(x); in phys_to_virt() 273 #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x))) 301 #define __bus_to_virt __phys_to_virt
|
/arch/unicore32/include/asm/ |
D | memory.h | 60 #define __phys_to_virt(x) ((x) - PHYS_OFFSET + PAGE_OFFSET) macro 89 #define __va(x) ((void *)__phys_to_virt((unsigned long)(x)))
|
/arch/arm64/include/asm/ |
D | memory.h | 96 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET) | PAGE_OFFSET) macro 185 return (void *)(__phys_to_virt(x)); in phys_to_virt() 192 #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x)))
|
/arch/microblaze/include/asm/ |
D | page.h | 178 # define __va(x) ((void *)__phys_to_virt((unsigned long)(x))) 184 #define __phys_to_virt(addr) addr macro 190 #define __phys_to_virt(addr) \ macro
|
/arch/arm/mach-realview/include/mach/ |
D | memory.h | 52 #define __phys_to_virt(phys) \ macro
|
/arch/unicore32/include/mach/ |
D | memory.h | 49 #define __pcibus_to_virt(x) (__phys_to_virt(x) - PKUNITY_PCIAHB_BASE)
|
/arch/arm/mach-omap1/include/mach/ |
D | memory.h | 45 __phys_to_virt(addr)); })
|
/arch/arm/mach-ks8695/include/mach/ |
D | memory.h | 30 __phys_to_virt(x) : __bus_to_virt(x)); })
|
/arch/arm64/mm/ |
D | init.c | 242 initrd_start = __phys_to_virt(initrd_start); in arm64_memblock_init() 243 initrd_end = __phys_to_virt(initrd_end); in arm64_memblock_init() 408 MLM(__phys_to_virt(memblock_start_of_DRAM()), in mem_init()
|
D | kasan_init.c | 190 void *start = (void *)__phys_to_virt(reg->base); in kasan_init() 191 void *end = (void *)__phys_to_virt(reg->base + reg->size); in kasan_init()
|
D | ioremap.c | 100 return (void __iomem *)__phys_to_virt(phys_addr); in ioremap_cache()
|
D | mmu.c | 399 __create_pgd_mapping(pgd, start, __phys_to_virt(start), in __map_memblock() 411 __phys_to_virt(start), in __map_memblock() 416 __phys_to_virt(kernel_end), in __map_memblock() 426 __create_pgd_mapping(pgd, kernel_start, __phys_to_virt(kernel_start), in __map_memblock()
|
/arch/arm/mach-iop13xx/include/mach/ |
D | memory.h | 41 __virt = (void *)__phys_to_virt(__dma); \
|
/arch/arm64/kernel/ |
D | setup.c | 263 initrd_start = __phys_to_virt(new_start); in relocate_initrd() 273 memcpy(dest, (void *)__phys_to_virt(orig_start), to_free); in relocate_initrd()
|
/arch/arm/mm/ |
D | cache-xsc3l2.c | 94 return __phys_to_virt(pa); in l2_map_va()
|
D | mmu.c | 1229 for (addr = __phys_to_virt(end); in prepare_page_table() 1402 map.virtual = __phys_to_virt(start); in map_lowmem() 1409 map.virtual = __phys_to_virt(start); in map_lowmem() 1418 map.virtual = __phys_to_virt(start); in map_lowmem() 1426 map.virtual = __phys_to_virt(kernel_x_start); in map_lowmem() 1434 map.virtual = __phys_to_virt(kernel_x_end); in map_lowmem()
|
D | cache-feroceon-l2.c | 57 return __phys_to_virt(paddr); in l2_get_va()
|
D | dma-mapping.c | 429 map.virtual = __phys_to_virt(start); in dma_contiguous_remap() 442 for (addr = __phys_to_virt(start); addr < __phys_to_virt(end); in dma_contiguous_remap() 446 flush_tlb_kernel_range(__phys_to_virt(start), in dma_contiguous_remap() 447 __phys_to_virt(end)); in dma_contiguous_remap()
|
D | init.c | 261 initrd_start = __phys_to_virt(phys_initrd_start); in arm_memblock_init()
|
/arch/unicore32/mm/ |
D | mmu.c | 325 for (addr = __phys_to_virt(end); in prepare_page_table() 410 map.virtual = __phys_to_virt(start); in map_lowmem()
|
D | init.c | 260 initrd_start = __phys_to_virt(phys_initrd_start); in uc32_memblock_init()
|