Home
last modified time | relevance | path

Searched refs:__phys_to_virt (Results 1 – 21 of 21) sorted by relevance

/arch/arm/include/asm/
Dmemory.h216 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/
Dmemory.h60 #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/
Dmemory.h96 #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/
Dpage.h178 # 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/
Dmemory.h52 #define __phys_to_virt(phys) \ macro
/arch/unicore32/include/mach/
Dmemory.h49 #define __pcibus_to_virt(x) (__phys_to_virt(x) - PKUNITY_PCIAHB_BASE)
/arch/arm/mach-omap1/include/mach/
Dmemory.h45 __phys_to_virt(addr)); })
/arch/arm/mach-ks8695/include/mach/
Dmemory.h30 __phys_to_virt(x) : __bus_to_virt(x)); })
/arch/arm64/mm/
Dinit.c242 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()
Dkasan_init.c190 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()
Dioremap.c100 return (void __iomem *)__phys_to_virt(phys_addr); in ioremap_cache()
Dmmu.c399 __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/
Dmemory.h41 __virt = (void *)__phys_to_virt(__dma); \
/arch/arm64/kernel/
Dsetup.c263 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/
Dcache-xsc3l2.c94 return __phys_to_virt(pa); in l2_map_va()
Dmmu.c1229 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()
Dcache-feroceon-l2.c57 return __phys_to_virt(paddr); in l2_get_va()
Ddma-mapping.c429 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()
Dinit.c261 initrd_start = __phys_to_virt(phys_initrd_start); in arm_memblock_init()
/arch/unicore32/mm/
Dmmu.c325 for (addr = __phys_to_virt(end); in prepare_page_table()
410 map.virtual = __phys_to_virt(start); in map_lowmem()
Dinit.c260 initrd_start = __phys_to_virt(phys_initrd_start); in uc32_memblock_init()