Home
last modified time | relevance | path

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

/arch/arm/include/asm/
Dmemory.h236 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() function
260 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() function
296 return (void *)__phys_to_virt(x); in phys_to_virt()
304 #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x)))
356 #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.h246 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET) | PAGE_OFFSET) macro
269 return (void *)(__phys_to_virt(x)); in phys_to_virt()
278 #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x)))
/arch/microblaze/include/asm/
Dpage.h179 # define __va(x) ((void *)__phys_to_virt((unsigned long)(x)))
185 #define __phys_to_virt(addr) addr macro
191 #define __phys_to_virt(addr) \ macro
/arch/unicore32/include/mach/
Dmemory.h49 #define __pcibus_to_virt(x) (__phys_to_virt(x) - PKUNITY_PCIAHB_BASE)
/arch/arm/mach-ks8695/include/mach/
Dmemory.h30 __phys_to_virt(x) : __bus_to_virt(x)); })
/arch/arm/mach-omap1/include/mach/
Dmemory.h46 __phys_to_virt(addr)); })
/arch/arm64/mm/
Dkasan_init.c188 void *start = (void *)__phys_to_virt(reg->base); in kasan_init()
189 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()
Dinit.c466 initrd_start = __phys_to_virt(initrd_start); in arm64_memblock_init()
467 initrd_end = __phys_to_virt(initrd_end); in arm64_memblock_init()
643 MLM(__phys_to_virt(memblock_start_of_DRAM()), in mem_init()
Dmmu.c406 __create_pgd_mapping(pgd, start, __phys_to_virt(start), end - start, in __map_memblock()
/arch/arm/mach-iop13xx/include/mach/
Dmemory.h42 __virt = (void *)__phys_to_virt(__dma); \
/arch/arm64/kernel/
Dmachine_kexec.c272 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_protect_crashkres()
282 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_unprotect_crashkres()
/arch/arm/mm/
Dcache-xsc3l2.c94 return __phys_to_virt(pa); in l2_map_va()
Dmmu.c1294 for (addr = __phys_to_virt(end); in prepare_page_table()
1470 map.virtual = __phys_to_virt(start); in map_lowmem()
1477 map.virtual = __phys_to_virt(start); in map_lowmem()
1486 map.virtual = __phys_to_virt(start); in map_lowmem()
1494 map.virtual = __phys_to_virt(kernel_x_start); in map_lowmem()
1502 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.c496 map.virtual = __phys_to_virt(start); in dma_contiguous_remap()
509 for (addr = __phys_to_virt(start); addr < __phys_to_virt(end); in dma_contiguous_remap()
513 flush_tlb_kernel_range(__phys_to_virt(start), in dma_contiguous_remap()
514 __phys_to_virt(end)); in dma_contiguous_remap()
Dinit.c280 initrd_start = __phys_to_virt(phys_initrd_start); in arm_initrd_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.c216 initrd_start = __phys_to_virt(phys_initrd_start); in uc32_memblock_init()