Searched refs:__phys_to_virt (Results 1 – 16 of 16) sorted by relevance
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | memory.h | 275 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() function 299 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() function 335 return (void *)__phys_to_virt(x); in phys_to_virt() 343 #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x))) 395 #define __bus_to_virt __phys_to_virt
|
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
D | memory.h | 33 #define __phys_to_virt(x) ((x) - PHYS_OFFSET + PAGE_OFFSET) macro 63 #define __va(x) ((void *)__phys_to_virt((unsigned long)(x)))
|
/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
D | page.h | 173 # define __va(x) ((void *)__phys_to_virt((unsigned long)(x))) 179 #define __phys_to_virt(addr) addr macro 185 #define __phys_to_virt(addr) \ macro
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | memory.h | 265 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET) | PAGE_OFFSET) macro 288 return (void *)(__phys_to_virt(x)); in phys_to_virt() 297 #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x)))
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | machine_kexec.c | 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()
|
D | acpi.c | 337 return (void __iomem *)__phys_to_virt(phys); in acpi_os_ioremap()
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
D | ioremap.c | 89 return (void __iomem *)__phys_to_virt(phys_addr); in ioremap_cache()
|
D | kasan_init.c | 250 void *start = (void *)__phys_to_virt(pa_start); in kasan_init() 251 void *end = (void *)__phys_to_virt(pa_end); in kasan_init()
|
D | mmu.c | 467 __create_pgd_mapping(pgdp, start, __phys_to_virt(start), end - start, in __map_memblock() 1529 __create_pgd_mapping(swapper_pg_dir, start, __phys_to_virt(start), in arch_add_memory() 1539 __phys_to_virt(start), size); in arch_add_memory() 1555 __remove_pgd_mapping(swapper_pg_dir, __phys_to_virt(start), size); in arch_remove_memory()
|
D | init.c | 426 initrd_start = __phys_to_virt(phys_initrd_start); in arm64_memblock_init()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
D | cache-xsc3l2.c | 82 return __phys_to_virt(pa); in l2_map_va()
|
D | mmu.c | 1315 for (addr = __phys_to_virt(end); in prepare_page_table() 1496 map.virtual = __phys_to_virt(start); in map_lowmem() 1503 map.virtual = __phys_to_virt(start); in map_lowmem() 1512 map.virtual = __phys_to_virt(start); in map_lowmem() 1520 map.virtual = __phys_to_virt(kernel_x_start); in map_lowmem() 1528 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 | 415 map.virtual = __phys_to_virt(start); in dma_contiguous_remap() 428 for (addr = __phys_to_virt(start); addr < __phys_to_virt(end); in dma_contiguous_remap() 432 flush_tlb_kernel_range(__phys_to_virt(start), in dma_contiguous_remap() 433 __phys_to_virt(end)); in dma_contiguous_remap()
|
D | init.c | 203 initrd_start = __phys_to_virt(phys_initrd_start); in arm_initrd_init()
|
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
D | linux-5.10.patch | 49984 + sharemem_in_base = (void __iomem *)__phys_to_virt(phy_in_base); 49995 + __phys_to_virt(phy_out_base);
|