Home
last modified time | relevance | path

Searched refs:__va (Results 1 – 25 of 208) sorted by relevance

123456789

/arch/x86/platform/intel-quark/
Dimr_selftest.c72 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()
/arch/x86/include/asm/
Dpage.h58 #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/
Duv_hub.h168 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/
Dinit.c86 v = (u32) __va(p); in map_ram()
148 end = (unsigned long)__va(max_low_pfn * PAGE_SIZE); in paging_init()
164 unsigned long *dtlb_vector = __va(0x900); in paging_init()
165 unsigned long *itlb_vector = __va(0xa00); in paging_init()
206 high_memory = (void *)__va(max_low_pfn * PAGE_SIZE); in mem_init()
/arch/m68k/include/asm/
Dpage_no.h21 #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))
Dpage_mm.h82 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)
Dmotorola_pgtable.h130 #define __pte_page(pte) ((unsigned long)__va(pte_val(pte) & PAGE_MASK))
131 #define pmd_page_vaddr(pmd) ((unsigned long)__va(pmd_val(pmd) & _TABLE_MASK))
132 #define pud_pgtable(pud) ((pmd_t *)__va(pud_val(pud) & _TABLE_MASK))
139 #define pte_page(pte) virt_to_page(__va(pte_val(pte)))
160 #define pud_page(pud) (mem_map + ((unsigned long)(__va(pud_val(pud)) - PAGE_OFFSET) >> PAGE_SHIFT))
/arch/ia64/kernel/
Defi.c85 ret = efi_call_##prefix((efi_get_time_t *) __va(runtime->get_time), \
99 ret = efi_call_##prefix((efi_set_time_t *) __va(runtime->set_time), \
115 (efi_get_wakeup_time_t *) __va(runtime->get_wakeup_time), \
133 (efi_set_wakeup_time_t *) __va(runtime->set_wakeup_time), \
152 (efi_get_variable_t *) __va(runtime->get_variable), \
169 (efi_get_next_variable_t *) __va(runtime->get_next_variable), \
186 (efi_set_variable_t *) __va(runtime->set_variable), \
202 __va(runtime->get_next_high_mono_count), \
221 (efi_reset_system_t *) __va(runtime->reset_system), \
369 efi_map_start = __va(ia64_boot_param->efi_memmap); in efi_get_pal_addr()
[all …]
Desi.c58 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()
Dsetup.c308 (unsigned long)__va(base); in setup_crashkernel()
310 (unsigned long)__va(base + size); in setup_crashkernel()
348 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->efi_memmap); in reserve_memory()
352 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->command_line); in reserve_memory()
354 + strlen(__va(ia64_boot_param->command_line)) + 1); in reserve_memory()
363 rsvd_region[n].start = (unsigned long)__va(ia64_boot_param->initrd_start); in reserve_memory()
412 initrd_start = (unsigned long)__va(ia64_boot_param->initrd_start); in find_initrd()
544 *start = (unsigned long)__va(elfcorehdr_addr); in reserve_elfcorehdr()
558 *cmdline_p = __va(ia64_boot_param->command_line); in setup_arch()
590 ia64_sal_init(__va(sal_systab_phys)); in setup_arch()
/arch/riscv/mm/
Dinit.c101 high_memory = (void *)(__va(PFN_PHYS(max_low_pfn))); in mem_init()
143 initrd_start = (unsigned long)__va(phys_initrd_start); in setup_initrd()
259 return (pte_t *) __va(pa); in get_pte_virt_late()
319 return (pmd_t *) __va(pa); in get_pmd_virt_late()
371 #define alloc_pgd_next(__va) pt_ops.alloc_pmd(__va) argument
373 #define create_pgd_next_mapping(__nextp, __va, __pa, __sz, __prot) \ argument
374 create_pmd_mapping(__nextp, __va, __pa, __sz, __prot)
378 #define alloc_pgd_next(__va) pt_ops.alloc_pte(__va) argument
380 #define create_pgd_next_mapping(__nextp, __va, __pa, __sz, __prot) \ argument
381 create_pte_mapping(__nextp, __va, __pa, __sz, __prot)
[all …]
/arch/powerpc/include/asm/
Dpage.h133 #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
Dsections.h60 return start < (unsigned long)__va(real_end) && in overlaps_interrupt_vector_text()
61 (unsigned long)__va(real_start) < end; in overlaps_interrupt_vector_text()
/arch/x86/mm/
Dnuma_32.c42 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()
/arch/hexagon/include/asm/
Dpage.h87 #define __va(x) ((void *)((unsigned long)(x) - PHYS_OFFSET + PAGE_OFFSET)) macro
130 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
132 #define page_to_virt(page) __va(page_to_phys(page))
/arch/csky/include/asm/
Dpage.h38 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
80 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET - va_pa_offset)) macro
88 #define pfn_to_kaddr(x) __va(PFN_PHYS(x))
/arch/x86/include/asm/numachip/
Dnumachip_csr.h41 return __va(NUMACHIP_LCSR_BASE | (1UL << 15) | in lcsr_address()
69 return (void __iomem *)__va(NUMACHIP2_LCSR_BASE | in numachip2_lcsr_address()
/arch/x86/realmode/
Dinit.c135 __va(real_mode_header->trampoline_header); in setup_real_mode()
155 trampoline_pgd = (u64 *) __va(real_mode_header->trampoline_pgd); in setup_real_mode()
194 (unsigned long) __va(real_mode_header->text_start); in set_real_mode_permissions()
/arch/openrisc/include/asm/
Dpage.h72 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET)) macro
76 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
/arch/sparc/include/asm/
Dpage_64.h148 #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
Dpgtsrmmu.h115 #define __nocache_va(PADDR) (__va((unsigned long)PADDR) - (unsigned long)srmmu_nocache_pool + SRMMU…
116 #define __nocache_fix(VADDR) __va(__nocache_pa(VADDR))
/arch/nios2/include/asm/
Dpage.h81 # define __va(x) \ macro
87 # define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
/arch/powerpc/platforms/powernv/
Dopal-fadump.c193 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/x86/include/asm/uv/
Duv_hub.h530 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()
/arch/alpha/include/asm/
Dmmzone.h65 ((unsigned long)__va(NODE_DATA(kvaddr_to_nid(kaddr))->node_start_pfn \
92 kvirt = (unsigned long)__va(pte_val(x) >> (32-PAGE_SHIFT)); \

123456789