Home
last modified time | relevance | path

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

12345678910

/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.c94 v = (u32) __va(p); in map_ram()
152 end = (unsigned long)__va(max_low_pfn * PAGE_SIZE); in paging_init()
168 unsigned long *dtlb_vector = __va(0x900); in paging_init()
169 unsigned long *itlb_vector = __va(0xa00); in paging_init()
210 high_memory = (void *)__va(max_low_pfn * PAGE_SIZE); in mem_init()
/arch/x86/include/asm/
Dpage.h54 #define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET)) macro
56 #define __boot_va(x) __va(x)
64 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
/arch/cris/include/arch-v10/arch/
Dpage.h22 #define __va(x) ((void *)((unsigned long)(x) | 0x20000000)) macro
26 #define __va(x) ((void *)((unsigned long)(x) | 0x80000000)) macro
/arch/powerpc/kernel/
Dsetup_32.c126 early_init_devtree(__va(dt_ptr)); in machine_init()
234 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init()
236 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init()
255 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
258 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
260 __va(memblock_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
Dsetup_64.c273 early_init_devtree(__va(dt_ptr)); in early_setup()
600 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init()
603 __va(memblock_alloc_base(THREAD_SIZE, in irqstack_early_init()
616 critirq_ctx[i] = (struct thread_info *)__va(sp); in exc_lvl_early_init()
617 paca[i].crit_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init()
620 dbgirq_ctx[i] = (struct thread_info *)__va(sp); in exc_lvl_early_init()
621 paca[i].dbg_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init()
624 mcheckirq_ctx[i] = (struct thread_info *)__va(sp); in exc_lvl_early_init()
625 paca[i].mc_kstack = __va(sp + THREAD_SIZE); in exc_lvl_early_init()
660 paca[i].emergency_sp = __va(sp); in emergency_stack_init()
[all …]
/arch/m68k/include/asm/
Dpage_no.h23 #define __va(paddr) ((void *)(paddr)) macro
26 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
29 #define page_to_virt(page) __va(((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET))
Dpage_mm.h84 static inline void *__va(unsigned long paddr) in __va() function
108 static inline void *__va(unsigned long x) in __va() function
127 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
Dmotorola_pgtable.h125 #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/x86/realmode/
Dinit.c22 base = __va(mem); in reserve_real_mode()
68 __va(real_mode_header->trampoline_header); in setup_real_mode()
86 trampoline_pgd = (u64 *) __va(real_mode_header->trampoline_pgd); in setup_real_mode()
114 (unsigned long) __va(real_mode_header->text_start); in set_real_mode_permissions()
/arch/ia64/kernel/
Defi.c72 ret = efi_call_##prefix((efi_get_time_t *) __va(runtime->get_time), \
86 ret = efi_call_##prefix((efi_set_time_t *) __va(runtime->set_time), \
102 (efi_get_wakeup_time_t *) __va(runtime->get_wakeup_time), \
120 (efi_set_wakeup_time_t *) __va(runtime->set_wakeup_time), \
139 (efi_get_variable_t *) __va(runtime->get_variable), \
156 (efi_get_next_variable_t *) __va(runtime->get_next_variable), \
173 (efi_set_variable_t *) __va(runtime->set_variable), \
189 __va(runtime->get_next_high_mono_count), \
208 (efi_reset_system_t *) __va(runtime->reset_system), \
356 efi_map_start = __va(ia64_boot_param->efi_memmap); in efi_get_pal_addr()
[all …]
Desi.c58 config_tables = __va(efi.systab->tables); in esi_init()
70 systab = __va(esi); in esi_init()
121 pdesc.addr = __va(esi->esi_proc); in ia64_esi_call()
122 pdesc.gp = __va(esi->gp); in ia64_esi_call()
/arch/hexagon/include/asm/
Dpage.h100 #define __va(x) ((void *)((unsigned long)(x) - PHYS_OFFSET + PAGE_OFFSET)) macro
144 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
146 #define page_to_virt(page) __va(page_to_phys(page))
/arch/powerpc/include/asm/
Dsections.h32 return start < (unsigned long)__va(real_end) && in overlaps_interrupt_vector_text()
33 (unsigned long)__va(real_start) < end; in overlaps_interrupt_vector_text()
Dpage.h131 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
208 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + VIRT_PHYS_OFFSET)) macro
216 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) | PAGE_OFFSET)) macro
220 #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + PAGE_OFFSET - MEMORY_START)) macro
/arch/metag/include/asm/
Dpage.h104 #define __va(x) ((void *)((unsigned long)(((unsigned long)(x)) + meta_memoffset))) macro
109 #define page_to_virt(page) __va(page_to_pfn(page) << PAGE_SHIFT)
118 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
/arch/unicore32/include/asm/
Dmemory.h89 #define __va(x) ((void *)__phys_to_virt((unsigned long)(x))) macro
90 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
/arch/sh/mm/
Dnuma.c39 pmb_bolt_mapping((unsigned long)__va(start), start, end - start, in setup_bootmem_node()
47 NODE_DATA(nid) = __va(memblock_alloc_base(sizeof(struct pglist_data), in setup_bootmem_node()
/arch/x86/mm/
Dnuma_32.c88 high_memory = (void *) __va(highstart_pfn * PAGE_SIZE - 1) + 1; in initmem_init()
90 high_memory = (void *) __va(max_low_pfn * PAGE_SIZE - 1) + 1; in initmem_init()
/arch/s390/kernel/
Dftrace.c153 return probe_kernel_write(__va(ftrace_graph_caller)+1, &op, sizeof(op)); in ftrace_enable_ftrace_graph_caller()
160 return probe_kernel_write(__va(ftrace_graph_caller)+1, &op, sizeof(op)); in ftrace_disable_ftrace_graph_caller()
/arch/sparc/include/asm/
Dpage_64.h136 #define __va(x) ((void *)((unsigned long) (x) + PAGE_OFFSET)) macro
138 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
145 #define phys_to_virt __va
/arch/x86/include/asm/numachip/
Dnumachip_csr.h47 return __va(NUMACHIP_GCSR_BASE | (1UL << 15) | in gcsr_address()
53 return __va(NUMACHIP_LCSR_BASE | (1UL << 15) | in lcsr_address()
/arch/x86/platform/efi/
Defi_64.c99 vaddress = (unsigned long)__va(pgd * PGDIR_SIZE); in efi_call_phys_prolog()
130 pgd_t *pgd = (pgd_t *)__va(real_mode_header->trampoline_pgd); in efi_sync_low_kernel_mappings()
153 pgd = __va(efi_scratch.efi_pgt); in efi_setup_page_tables()
197 pgd_t *pgd = (pgd_t *)__va(real_mode_header->trampoline_pgd); in efi_cleanup_page_tables()
204 pgd_t *pgd = (pgd_t *)__va(real_mode_header->trampoline_pgd); in __map_region()
291 efi_memory_uc((u64)(unsigned long)__va(phys_addr), size); in efi_ioremap()
293 return (void __iomem *)__va(phys_addr); in efi_ioremap()
313 pgd_t *pgd = (pgd_t *)__va(real_mode_header->trampoline_pgd); in efi_dump_pagetable()
/arch/x86/kernel/
Dhead64.c135 command_line = __va(cmd_line_ptr); in copy_bootdata()
170 copy_bootdata(__va(real_mode_data)); in x86_64_start_kernel()
191 copy_bootdata(__va(real_mode_data)); in x86_64_start_reservations()
/arch/openrisc/include/asm/
Dpage.h79 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET)) macro
83 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)

12345678910