Searched refs:__phys_to_virt (Results 1 – 13 of 13) sorted by relevance
/linux-6.3-rc2/arch/arm/include/asm/ |
A D | memory.h | 260 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() function 284 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() function 320 return (void *)__phys_to_virt(x); in phys_to_virt() 328 #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x)))
|
/linux-6.3-rc2/arch/microblaze/include/asm/ |
A D | page.h | 120 # define __va(x) ((void *)__phys_to_virt((unsigned long)(x))) 126 #define __phys_to_virt(addr) \ macro
|
/linux-6.3-rc2/arch/arm64/include/asm/ |
A D | memory.h | 306 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET) | PAGE_OFFSET) macro 329 return (void *)(__phys_to_virt(x)); in phys_to_virt() 338 #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x)))
|
A D | io.h | 169 return (void __iomem *)__phys_to_virt(addr); in ioremap_cache()
|
/linux-6.3-rc2/arch/arm64/kernel/ |
A D | machine_kexec.c | 277 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_protect_crashkres() 287 __phys_to_virt(kexec_crash_image->segment[i].mem), in arch_kexec_unprotect_crashkres()
|
A D | acpi.c | 343 return (void __iomem *)__phys_to_virt(phys); in acpi_os_ioremap()
|
/linux-6.3-rc2/arch/arm64/mm/ |
A D | kasan_init.c | 262 void *start = (void *)__phys_to_virt(pa_start); in kasan_init_shadow() 263 void *end = (void *)__phys_to_virt(pa_end); in kasan_init_shadow()
|
A D | mmu.c | 499 __create_pgd_mapping(pgdp, start, __phys_to_virt(start), end - start, in __map_memblock() 1484 __create_pgd_mapping(swapper_pg_dir, start, __phys_to_virt(start), in arch_add_memory() 1494 __phys_to_virt(start), size); in arch_add_memory() 1509 __remove_pgd_mapping(swapper_pg_dir, __phys_to_virt(start), size); in arch_remove_memory()
|
A D | init.c | 405 initrd_start = __phys_to_virt(phys_initrd_start); in arm64_memblock_init()
|
/linux-6.3-rc2/arch/arm/mm/ |
A D | cache-xsc3l2.c | 82 return __phys_to_virt(pa); in l2_map_va()
|
A D | mmu.c | 1336 for (addr = __phys_to_virt(end); in prepare_page_table() 1549 map.virtual = __phys_to_virt(start); in map_lowmem() 1555 map.virtual = __phys_to_virt(kernel_sec_end); in map_lowmem() 1575 map.virtual = __phys_to_virt(start); in map_lowmem() 1612 map.virtual = __phys_to_virt(kernel_x_start); in map_kernel() 1622 map.virtual = __phys_to_virt(kernel_nx_start); in map_kernel()
|
A D | cache-feroceon-l2.c | 54 return __phys_to_virt(paddr); in l2_get_va()
|
A D | dma-mapping.c | 283 map.virtual = __phys_to_virt(start); in dma_contiguous_remap() 296 for (addr = __phys_to_virt(start); addr < __phys_to_virt(end); in dma_contiguous_remap() 300 flush_tlb_kernel_range(__phys_to_virt(start), in dma_contiguous_remap() 301 __phys_to_virt(end)); in dma_contiguous_remap()
|
Completed in 27 milliseconds