/arch/x86/platform/intel-quark/ |
D | imr_selftest.c | 70 imr_self_test_result(ret < 0, fmt_over, __va(base), __va(base + size)); in imr_self_test() 75 imr_self_test_result(ret < 0, fmt_over, __va(base), __va(base + size)); in imr_self_test() 80 imr_self_test_result(ret < 0, fmt_over, __va(base), __va(base + size)); in imr_self_test()
|
/arch/x86/include/asm/ |
D | page.h | 58 #ifndef __va 59 #define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET)) macro 62 #define __boot_va(x) __va(x) 70 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
|
/arch/ia64/include/asm/uv/ |
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()
|
/arch/openrisc/mm/ |
D | init.c | 88 v = (u32) __va(p); in map_ram() 149 end = (unsigned long)__va(max_low_pfn * PAGE_SIZE); in paging_init() 165 unsigned long *dtlb_vector = __va(0x900); in paging_init() 166 unsigned long *itlb_vector = __va(0xa00); in paging_init() 207 high_memory = (void *)__va(max_low_pfn * PAGE_SIZE); in mem_init()
|
/arch/m68k/include/asm/ |
D | page_no.h | 21 #define __va(paddr) ((void *)((unsigned long)(paddr))) macro 24 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) 27 #define page_to_virt(page) __va(((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET))
|
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)
|
D | motorola_pgtable.h | 125 #define __pte_page(pte) ((unsigned long)__va(pte_val(pte) & PAGE_MASK)) 126 #define __pmd_page(pmd) ((unsigned long)__va(pmd_val(pmd) & _TABLE_MASK)) 127 #define __pgd_page(pgd) ((unsigned long)__va(pgd_val(pgd) & _TABLE_MASK)) 134 #define pte_page(pte) virt_to_page(__va(pte_val(pte))) 147 #define pmd_page(pmd) virt_to_page(__va(pmd_val(pmd))) 154 #define pgd_page(pgd) (mem_map + ((unsigned long)(__va(pgd_val(pgd)) - PAGE_OFFSET) >> PAGE_SHIFT))
|
/arch/ia64/kernel/ |
D | efi.c | 76 ret = efi_call_##prefix((efi_get_time_t *) __va(runtime->get_time), \ 90 ret = efi_call_##prefix((efi_set_time_t *) __va(runtime->set_time), \ 106 (efi_get_wakeup_time_t *) __va(runtime->get_wakeup_time), \ 124 (efi_set_wakeup_time_t *) __va(runtime->set_wakeup_time), \ 143 (efi_get_variable_t *) __va(runtime->get_variable), \ 160 (efi_get_next_variable_t *) __va(runtime->get_next_variable), \ 177 (efi_set_variable_t *) __va(runtime->set_variable), \ 193 __va(runtime->get_next_high_mono_count), \ 212 (efi_reset_system_t *) __va(runtime->reset_system), \ 360 efi_map_start = __va(ia64_boot_param->efi_memmap); in efi_get_pal_addr() [all …]
|
D | esi.c | 59 config_tables = __va(efi.systab->tables); in esi_init() 71 systab = __va(esi); in esi_init() 122 pdesc.addr = __va(esi->esi_proc); in ia64_esi_call() 123 pdesc.gp = __va(esi->gp); in ia64_esi_call()
|
D | setup.c | 307 (unsigned long)__va(base); in setup_crashkernel() 309 (unsigned long)__va(base + size); in setup_crashkernel() 347 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->efi_memmap); in reserve_memory() 351 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->command_line); in reserve_memory() 353 + strlen(__va(ia64_boot_param->command_line)) + 1); in reserve_memory() 362 rsvd_region[n].start = (unsigned long)__va(ia64_boot_param->initrd_start); in reserve_memory() 411 initrd_start = (unsigned long)__va(ia64_boot_param->initrd_start); in find_initrd() 543 *start = (unsigned long)__va(elfcorehdr_addr); in reserve_elfcorehdr() 557 *cmdline_p = __va(ia64_boot_param->command_line); in setup_arch() 589 ia64_sal_init(__va(sal_systab_phys)); in setup_arch()
|
/arch/riscv/mm/ |
D | init.c | 54 high_memory = (void *)(__va(PFN_PHYS(max_low_pfn))); in mem_init() 272 #define alloc_pgd_next(__va) alloc_pmd(__va) argument 274 #define create_pgd_next_mapping(__nextp, __va, __pa, __sz, __prot) \ argument 275 create_pmd_mapping(__nextp, __va, __pa, __sz, __prot) 280 #define alloc_pgd_next(__va) alloc_pte(__va) argument 282 #define create_pgd_next_mapping(__nextp, __va, __pa, __sz, __prot) \ argument 283 create_pte_mapping(__nextp, __va, __pa, __sz, __prot) 438 va = (uintptr_t)__va(pa); in setup_vm_final()
|
/arch/hexagon/include/asm/ |
D | page.h | 87 #define __va(x) ((void *)((unsigned long)(x) - PHYS_OFFSET + PAGE_OFFSET)) macro 131 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) 133 #define page_to_virt(page) __va(page_to_phys(page))
|
/arch/powerpc/include/asm/ |
D | page.h | 133 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT) 215 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + VIRT_PHYS_OFFSET)) macro 227 #define __va(x) \ macro 240 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + PAGE_OFFSET - MEMORY_START)) macro
|
D | sections.h | 68 return start < (unsigned long)__va(real_end) && in overlaps_interrupt_vector_text() 69 (unsigned long)__va(real_start) < end; in overlaps_interrupt_vector_text()
|
/arch/csky/include/asm/ |
D | page.h | 38 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) 80 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET - va_pa_offset)) macro 91 #define pfn_to_kaddr(x) __va(PFN_PHYS(x))
|
/arch/unicore32/include/asm/ |
D | memory.h | 80 #define __va(x) ((void *)__phys_to_virt((unsigned long)(x))) macro 81 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
|
/arch/x86/include/asm/numachip/ |
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()
|
/arch/x86/mm/ |
D | numa_32.c | 76 high_memory = (void *) __va(highstart_pfn * PAGE_SIZE - 1) + 1; in initmem_init() 78 high_memory = (void *) __va(max_low_pfn * PAGE_SIZE - 1) + 1; in initmem_init()
|
/arch/x86/realmode/ |
D | init.c | 115 __va(real_mode_header->trampoline_header); in setup_real_mode() 137 trampoline_pgd = (u64 *) __va(real_mode_header->trampoline_pgd); in setup_real_mode() 174 (unsigned long) __va(real_mode_header->text_start); in set_real_mode_permissions()
|
/arch/openrisc/include/asm/ |
D | page.h | 72 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET)) macro 76 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
|
/arch/sparc/include/asm/ |
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
|
/arch/nios2/include/asm/ |
D | page.h | 81 # define __va(x) \ macro 87 # define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
|
/arch/powerpc/mm/nohash/ |
D | 8xx.c | 52 return (unsigned long)__va(pa); in p_block_mapped() 73 mtspr(SPRN_MD_EPN, (unsigned long)__va(addr) | MD_EVALID); in MMU_init_hw() 94 modify_instruction_site(site, 0xffff, (unsigned long)__va(mapped) >> 16); in mmu_patch_cmp_limit()
|
/arch/powerpc/platforms/powernv/ |
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()
|
/arch/microblaze/include/asm/ |
D | page.h | 149 # define pfn_to_virt(pfn) __va(pfn_to_phys((pfn))) 154 # define page_to_virt(page) __va(page_to_pfn(page) << PAGE_SHIFT) 179 # define __va(x) ((void *)__phys_to_virt((unsigned long)(x))) macro
|