/linux-6.3-rc2/arch/x86/platform/intel-quark/ |
A D | imr_selftest.c | 72 imr_self_test_result(ret < 0, fmt_over, __va(base), __va(base + size)); in imr_self_test() 77 imr_self_test_result(ret < 0, fmt_over, __va(base), __va(base + size)); in imr_self_test() 82 imr_self_test_result(ret < 0, fmt_over, __va(base), __va(base + size)); in imr_self_test()
|
/linux-6.3-rc2/arch/ia64/include/asm/uv/ |
A D | uv_hub.h | 168 return __va(gpa & uv_hub_info->gpa_mask); in uv_va() 174 return __va(((unsigned long)pnode << uv_hub_info->m_val) | offset); in uv_pnode_offset_to_vaddr() 185 return __va(UV_GLOBAL_MMR32_BASE | in uv_global_mmr32_address() 208 return __va(UV_GLOBAL_MMR64_BASE | in uv_global_mmr64_address() 230 return __va(UV_LOCAL_MMR_BASE | offset); in uv_local_mmr_address()
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | page.h | 57 #ifndef __va 58 #define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET)) macro 61 #define __boot_va(x) __va(x) 69 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
|
/linux-6.3-rc2/arch/ia64/kernel/ |
A D | efi.c | 204 __va(runtime->get_next_high_mono_count), \ 371 efi_map_start = __va(ia64_boot_param->efi_memmap); in efi_get_pal_addr() 423 return __va(md->phys_addr); in efi_get_pal_addr() 448 struct palo_table *palo = __va(phys_addr); in handle_palo() 521 efi_systab = __va(ia64_boot_param->efi_systab); in efi_init() 543 runtime = __va(efi_systab->runtime); in efi_init() 554 efi_map_start = __va(ia64_boot_param->efi_memmap); in efi_init() 610 efi_map_start = __va(ia64_boot_param->efi_memmap); in efi_enter_virtual_mode() 622 md->virt_addr = (u64) __va(md->phys_addr); in efi_enter_virtual_mode() 694 efi_map_start = __va(ia64_boot_param->efi_memmap); in efi_get_iobase() [all …]
|
A D | setup.c | 305 (unsigned long)__va(base); in setup_crashkernel() 307 (unsigned long)__va(base + size); in setup_crashkernel() 344 *start = (unsigned long)__va(elfcorehdr_addr); in reserve_elfcorehdr() 370 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->efi_memmap); in reserve_memory() 374 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->command_line); in reserve_memory() 376 + strlen(__va(ia64_boot_param->command_line)) + 1); in reserve_memory() 385 rsvd_region[n].start = (unsigned long)__va(ia64_boot_param->initrd_start); in reserve_memory() 434 initrd_start = (unsigned long)__va(ia64_boot_param->initrd_start); in find_initrd() 554 *cmdline_p = __va(ia64_boot_param->command_line); in setup_arch() 586 ia64_sal_init(__va(sal_systab_phys)); in setup_arch()
|
A D | esi.c | 58 systab = __va(esi_phys); in esi_init() 109 pdesc.addr = __va(esi->esi_proc); in ia64_esi_call() 110 pdesc.gp = __va(esi->gp); in ia64_esi_call()
|
/linux-6.3-rc2/arch/m68k/include/asm/ |
A D | page_no.h | 20 #define __va(paddr) ((void *)((unsigned long)(paddr))) macro 23 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) 26 #define page_to_virt(page) __va(((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET))
|
A D | motorola_pgtable.h | 106 #define __pte_page(pte) ((unsigned long)__va(pte_val(pte) & PAGE_MASK)) 107 #define pmd_page_vaddr(pmd) ((unsigned long)__va(pmd_val(pmd) & _TABLE_MASK)) 108 #define pud_pgtable(pud) ((pmd_t *)__va(pud_val(pud) & _TABLE_MASK)) 115 #define pte_page(pte) virt_to_page(__va(pte_val(pte))) 137 #define pud_page(pud) (mem_map + ((unsigned long)(__va(pud_val(pud)) - PAGE_OFFSET) >> PAGE_SHIFT))
|
A D | page_mm.h | 82 static inline void *__va(unsigned long paddr) in __va() function 106 static inline void *__va(unsigned long x) in __va() function 125 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
|
/linux-6.3-rc2/arch/riscv/mm/ |
A D | init.c | 233 high_memory = (void *)(__va(PFN_PHYS(max_low_pfn))); in setup_bootmem() 343 return (pte_t *) __va(pa); in get_pte_virt_late() 428 return (pmd_t *) __va(pa); in get_pmd_virt_late() 493 return (pud_t *)__va(pa); in get_pud_virt_late() 531 return (p4d_t *)__va(pa); in get_p4d_virt_late() 611 #define alloc_pgd_next(__va) (pgtable_l5_enabled ? \ argument 612 pt_ops.alloc_p4d(__va) : (pgtable_l4_enabled ? \ 613 pt_ops.alloc_pud(__va) : pt_ops.alloc_pmd(__va))) 634 #define alloc_pgd_next(__va) pt_ops.alloc_pte(__va) argument 637 create_pte_mapping(__nextp, __va, __pa, __sz, __prot) [all …]
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | page.h | 124 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) 206 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + VIRT_PHYS_OFFSET)) macro 218 #define __va(x) \ macro 231 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + PAGE_OFFSET - MEMORY_START)) macro
|
A D | sections.h | 62 return start < (unsigned long)__va(real_end) && in overlaps_interrupt_vector_text() 63 (unsigned long)__va(real_start) < end; in overlaps_interrupt_vector_text()
|
/linux-6.3-rc2/arch/x86/mm/ |
A D | mem_encrypt_amd.c | 68 early_snp_set_memory_shared((unsigned long)__va(paddr), paddr, npages); in snp_memcpy() 73 early_snp_set_memory_private((unsigned long)__va(paddr), paddr, npages); in snp_memcpy() 195 __sme_early_map_unmap_mem(__va(cmdline_paddr), COMMAND_LINE_SIZE, false); in sme_unmap_bootdata() 215 __sme_early_map_unmap_mem(__va(cmdline_paddr), COMMAND_LINE_SIZE, true); in sme_map_bootdata() 376 clflush_cache_range(__va(pa), size); in __set_clr_pte_enc() 388 early_snp_set_memory_shared((unsigned long)__va(pa), pa, 1); in __set_clr_pte_enc() 400 early_snp_set_memory_private((unsigned long)__va(pa), pa, 1); in __set_clr_pte_enc()
|
A D | numa_32.c | 42 high_memory = (void *) __va(highstart_pfn * PAGE_SIZE - 1) + 1; in initmem_init() 44 high_memory = (void *) __va(max_low_pfn * PAGE_SIZE - 1) + 1; in initmem_init()
|
/linux-6.3-rc2/arch/openrisc/mm/ |
A D | init.c | 82 v = (u32) __va(p); in map_ram() 157 unsigned long *dtlb_vector = __va(0x900); in paging_init() 158 unsigned long *itlb_vector = __va(0xa00); in paging_init() 199 high_memory = (void *)__va(max_low_pfn * PAGE_SIZE); in mem_init()
|
/linux-6.3-rc2/arch/hexagon/include/asm/ |
A D | page.h | 87 #define __va(x) ((void *)((unsigned long)(x) - PHYS_OFFSET + PAGE_OFFSET)) macro 129 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) 131 #define page_to_virt(page) __va(page_to_phys(page))
|
/linux-6.3-rc2/arch/csky/include/asm/ |
A D | page.h | 38 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) 79 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET - va_pa_offset)) macro 87 #define pfn_to_kaddr(x) __va(PFN_PHYS(x))
|
/linux-6.3-rc2/arch/microblaze/include/asm/ |
A D | page.h | 108 # define pfn_to_virt(pfn) __va(pfn_to_phys((pfn))) 111 # define page_to_virt(page) __va(page_to_pfn(page) << PAGE_SHIFT) 120 # define __va(x) ((void *)__phys_to_virt((unsigned long)(x))) macro
|
/linux-6.3-rc2/arch/arm/mm/ |
A D | dma-mapping-nommu.c | 19 dmac_map_area(__va(paddr), size, dir); in arch_sync_dma_for_device() 32 dmac_unmap_area(__va(paddr), size, dir); in arch_sync_dma_for_cpu()
|
/linux-6.3-rc2/arch/powerpc/platforms/powernv/ |
A D | opal-fadump.c | 193 opal_fdm = __va(fadump_conf->kernel_metadata); in opal_fadump_init_mem_struct() 240 opal_fdm = __va(fadump_conf->kernel_metadata); in opal_fadump_setup_metadata() 382 (u64)__va(be64_to_cpu(opal_cpu_metadata->region[0].dest)); in is_opal_fadump_cpu_data_valid() 431 bufp = __va(fadump_conf->cpu_state_dest_vaddr); in opal_fadump_build_cpu_notes() 517 fadump_update_elfcore_header(__va(fdh->elfcorehdr_addr)); in opal_fadump_build_cpu_notes() 530 fdh = __va(fadump_conf->fadumphdr_addr); in opal_fadump_process() 702 opal_fdm_active = __va(addr); in opal_fadump_dt_scan() 719 opal_cpu_metadata = __va(addr); in opal_fadump_dt_scan()
|
/linux-6.3-rc2/tools/include/linux/ |
A D | mm.h | 21 #define __va(x) ((void *)((unsigned long)(x))) macro 29 return __va(address); in phys_to_virt()
|
/linux-6.3-rc2/arch/x86/realmode/ |
A D | init.c | 137 __va(real_mode_header->trampoline_header); in setup_real_mode() 157 trampoline_pgd = (u64 *) __va(real_mode_header->trampoline_pgd); in setup_real_mode() 196 (unsigned long) __va(real_mode_header->text_start); in set_real_mode_permissions()
|
/linux-6.3-rc2/arch/x86/include/asm/uv/ |
A D | uv_hub.h | 530 return __va(((unsigned long)pnode << m_val) | offset); in uv_pnode_offset_to_vaddr() 538 return __va((unsigned long)offset); in uv_pnode_offset_to_vaddr() 541 return __va(base << UV_GAM_RANGE_SHFT | offset); in uv_pnode_offset_to_vaddr() 559 return __va(UV_GLOBAL_MMR32_BASE | in uv_global_mmr32_address() 579 return __va(UV_GLOBAL_MMR64_BASE | in uv_global_mmr64_address() 609 return __va(UV_LOCAL_MMR_BASE | offset); in uv_local_mmr_address()
|
/linux-6.3-rc2/arch/sparc/include/asm/ |
A D | page_64.h | 148 #define __va(x) ((void *)((unsigned long) (x) + PAGE_OFFSET)) macro 150 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) 157 #define phys_to_virt __va
|
/linux-6.3-rc2/arch/x86/include/asm/numachip/ |
A D | numachip_csr.h | 41 return __va(NUMACHIP_LCSR_BASE | (1UL << 15) | in lcsr_address() 69 return (void __iomem *)__va(NUMACHIP2_LCSR_BASE | in numachip2_lcsr_address()
|