Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm/include/asm/
Dmemory.h265 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() function
289 static inline unsigned long __phys_to_virt(phys_addr_t x) in __phys_to_virt() function
327 return (void *)__phys_to_virt(x); in phys_to_virt()
335 #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x)))
/linux-6.12.1/arch/microblaze/include/asm/
Dpage.h113 #define __phys_to_virt(addr) \ macro
123 # define __va(x) ((void *)__phys_to_virt((unsigned long)(x)))
/linux-6.12.1/arch/arm64/include/asm/
Dmemory.h353 #define __phys_to_virt(x) ((unsigned long)((x) - PHYS_OFFSET) | PAGE_OFFSET) macro
376 return (void *)(__phys_to_virt(x)); in phys_to_virt()
393 #define __va(x) ((void *)__phys_to_virt((phys_addr_t)(x)))
Dio.h304 return (void __iomem *)__phys_to_virt(addr); in ioremap_cache()
/linux-6.12.1/arch/arm/mm/
Dmmu.c1337 for (addr = __phys_to_virt(end); in prepare_page_table()
1538 map.virtual = __phys_to_virt(start); in map_lowmem()
1544 map.virtual = __phys_to_virt(kernel_sec_end); in map_lowmem()
1564 map.virtual = __phys_to_virt(start); in map_lowmem()
1616 map.virtual = __phys_to_virt(kernel_x_start); in map_kernel()
1626 map.virtual = __phys_to_virt(kernel_nx_start); in map_kernel()
Dcache-xsc3l2.c82 return __phys_to_virt(pa); in l2_map_va()
Dcache-feroceon-l2.c54 return __phys_to_virt(paddr); in l2_get_va()
Ddma-mapping.c285 map.virtual = __phys_to_virt(start); in dma_contiguous_remap()
298 for (addr = __phys_to_virt(start); addr < __phys_to_virt(end); in dma_contiguous_remap()
302 flush_tlb_kernel_range(__phys_to_virt(start), in dma_contiguous_remap()
303 __phys_to_virt(end)); in dma_contiguous_remap()
/linux-6.12.1/arch/arm64/mm/
Dmmu.c555 __create_pgd_mapping(pgdp, start, __phys_to_virt(start), end - start, in __map_memblock()
791 __phys_to_virt(ptep) - ptep); in create_idmap()
804 __phys_to_virt(ptep) - ptep); in create_idmap()
1348 __create_pgd_mapping(swapper_pg_dir, start, __phys_to_virt(start), in arch_add_memory()
1358 __phys_to_virt(start), size); in arch_add_memory()
1373 __remove_pgd_mapping(swapper_pg_dir, __phys_to_virt(start), size); in arch_remove_memory()
Dkasan_init.c353 void *start = (void *)__phys_to_virt(pa_start); in kasan_init_shadow()
354 void *end = (void *)__phys_to_virt(pa_end); in kasan_init_shadow()
Dinit.c307 initrd_start = __phys_to_virt(phys_initrd_start); in arm64_memblock_init()
/linux-6.12.1/arch/arm64/kernel/
Dacpi.c370 return (void __iomem *)__phys_to_virt(phys); in acpi_os_ioremap()
/linux-6.12.1/scripts/gdb/linux/
Dmm.py227 def __phys_to_virt(self, pa): member in aarch64_page_ops
249 return self.__phys_to_virt(pa)