Searched refs:__phys_to_virt (Results 1 – 20 of 20) sorted by relevance
236 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() function260 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() function296 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
60 #define __phys_to_virt(x) ((x) - PHYS_OFFSET + PAGE_OFFSET) macro89 #define __va(x) ((void *)__phys_to_virt((unsigned long)(x)))
246 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET) | PAGE_OFFSET) macro269 return (void *)(__phys_to_virt(x)); in phys_to_virt()278 #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x)))
179 # define __va(x) ((void *)__phys_to_virt((unsigned long)(x)))185 #define __phys_to_virt(addr) addr macro191 #define __phys_to_virt(addr) \ macro
49 #define __pcibus_to_virt(x) (__phys_to_virt(x) - PKUNITY_PCIAHB_BASE)
30 __phys_to_virt(x) : __bus_to_virt(x)); })
46 __phys_to_virt(addr)); })
188 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()
100 return (void __iomem *)__phys_to_virt(phys_addr); in ioremap_cache()
466 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()
406 __create_pgd_mapping(pgd, start, __phys_to_virt(start), end - start, in __map_memblock()
42 __virt = (void *)__phys_to_virt(__dma); \
272 __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()
94 return __phys_to_virt(pa); in l2_map_va()
1294 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()
57 return __phys_to_virt(paddr); in l2_get_va()
496 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()
280 initrd_start = __phys_to_virt(phys_initrd_start); in arm_initrd_init()
325 for (addr = __phys_to_virt(end); in prepare_page_table()410 map.virtual = __phys_to_virt(start); in map_lowmem()
216 initrd_start = __phys_to_virt(phys_initrd_start); in uc32_memblock_init()