Home
last modified time | relevance | path

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

1234567

/arch/x86/kernel/
Defi_64.c53 set_memory_x((unsigned long)__va(start), num_pages); in early_mapping_set_exec()
55 set_memory_nx((unsigned long)__va(start), num_pages); in early_mapping_set_exec()
83 vaddress = (unsigned long)__va(0x0UL); in efi_call_phys_prelog()
108 return (void __iomem *)__va(phys_addr); in efi_ioremap()
Dhead64.c71 command_line = __va(boot_params.hdr.cmd_line_ptr); in copy_bootdata()
122 copy_bootdata(__va(real_mode_data)); in x86_64_start_reservations()
Dcheck.c101 memset(__va(addr), 0, size); in setup_bios_corruption_check()
121 unsigned long *addr = __va(scan_areas[i].addr); in check_for_bios_corruption()
/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/powerpc/kernel/
Dsetup_32.c125 early_init_devtree(__va(dt_ptr)); in machine_init()
243 __va(lmb_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init()
245 __va(lmb_alloc(THREAD_SIZE, THREAD_SIZE)); in irqstack_early_init()
261 __va(lmb_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
264 __va(lmb_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
266 __va(lmb_alloc(THREAD_SIZE, THREAD_SIZE)); in exc_lvl_early_init()
/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/cris/include/arch-v32/arch/
Dpage.h16 #define __va(x) ((void *)((unsigned long)(x) | 0x80000000)) macro
19 #define __va(x) ((void *)((unsigned long)(x) | 0xc0000000)) macro
/arch/ia64/kernel/
Defi.c64 ret = efi_call_##prefix((efi_get_time_t *) __va(runtime->get_time), \
78 ret = efi_call_##prefix((efi_set_time_t *) __va(runtime->set_time), \
94 (efi_get_wakeup_time_t *) __va(runtime->get_wakeup_time), \
112 (efi_set_wakeup_time_t *) __va(runtime->set_wakeup_time), \
131 (efi_get_variable_t *) __va(runtime->get_variable), \
148 (efi_get_next_variable_t *) __va(runtime->get_next_variable), \
165 (efi_set_variable_t *) __va(runtime->set_variable), \
181 __va(runtime->get_next_high_mono_count), \
200 (efi_reset_system_t *) __va(runtime->reset_system), \
348 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()
Dsetup.c299 (unsigned long)__va(base); in setup_crashkernel()
301 (unsigned long)__va(base + size); in setup_crashkernel()
339 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->efi_memmap); in reserve_memory()
343 rsvd_region[n].start = (unsigned long) __va(ia64_boot_param->command_line); in reserve_memory()
345 + strlen(__va(ia64_boot_param->command_line)) + 1); in reserve_memory()
356 rsvd_region[n].start = (unsigned long)__va(ia64_boot_param->initrd_start); in reserve_memory()
396 initrd_start = (unsigned long)__va(ia64_boot_param->initrd_start); in find_initrd()
525 *start = (unsigned long)__va(elfcorehdr_addr); in reserve_elfcorehdr()
541 *cmdline_p = __va(ia64_boot_param->command_line); in setup_arch()
583 ia64_sal_init(__va(efi.sal_systab)); in setup_arch()
/arch/um/include/asm/
Dio.h22 return __va(address); in phys_to_virt()
29 #define xlate_dev_mem_ptr(p) __va(p)
/arch/x86/include/asm/uv/
Duv_hub.h227 return __va(((unsigned long)pnode << uv_hub_info->m_val) | offset); in uv_pnode_offset_to_vaddr()
246 return __va(UV_GLOBAL_MMR32_BASE | in uv_global_mmr32_address()
269 return __va(UV_GLOBAL_MMR64_BASE | in uv_global_mmr64_address()
291 return __va(UV_LOCAL_MMR_BASE | offset); in uv_local_mmr_address()
/arch/powerpc/mm/
Dinit_32.c199 p = __va(lmb_alloc_base(PAGE_SIZE, PAGE_SIZE, in early_get_page()
271 if ( 0xfffffffful - (unsigned long)__va(base) < size) { in setup_kcore()
272 size = 0xfffffffful - (unsigned long)(__va(base)); in setup_kcore()
277 kclist_add(kcore_mem, __va(base), size); in setup_kcore()
/arch/sparc/include/asm/
Dpage_64.h119 #define __va(x) ((void *)((unsigned long) (x) + PAGE_OFFSET)) macro
121 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
128 #define phys_to_virt __va
/arch/m68k/include/asm/
Dmotorola_pgtable.h124 #define __pte_page(pte) ((unsigned long)__va(pte_val(pte) & PAGE_MASK))
125 #define __pmd_page(pmd) ((unsigned long)__va(pmd_val(pmd) & _TABLE_MASK))
126 #define __pgd_page(pgd) ((unsigned long)__va(pgd_val(pgd) & _TABLE_MASK))
133 #define pte_page(pte) virt_to_page(__va(pte_val(pte)))
146 #define pmd_page(pmd) virt_to_page(__va(pmd_val(pmd)))
153 #define pgd_page(pgd) (mem_map + ((unsigned long)(__va(pgd_val(pgd)) - PAGE_OFFSET) >> PAGE_SHIFT))
Dpage_mm.h131 static inline void *__va(unsigned long paddr) in __va() function
155 static inline void *__va(unsigned long x) in __va() function
174 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
Dpage_no.h58 #define __va(paddr) phys_to_virt((unsigned long)(paddr)) macro
61 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
/arch/sh/include/asm/
Dpage.h134 #define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET-__MEMORY_START)) macro
137 #define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET)) macro
140 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
/arch/x86/include/asm/
Dpage.h186 #define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET)) macro
188 #define __boot_va(x) __va(x)
196 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
/arch/h8300/include/asm/
Dpage.h58 #define __va(paddr) phys_to_virt((unsigned long)paddr) macro
61 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
/arch/x86/kernel/cpu/
Dbugs_64.c32 set_memory_4k((unsigned long)__va(0), 1); in check_bugs()
/arch/blackfin/include/asm/
Dpage.h67 #define __va(paddr) phys_to_virt((unsigned long)(paddr)) macro
72 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
/arch/alpha/include/asm/
Dmmzone.h67 ((unsigned long)__va(NODE_DATA(kvaddr_to_nid(kaddr))->node_start_pfn \
97 kvirt = (unsigned long)__va(pte_val(x) >> (32-PAGE_SHIFT)); \
/arch/ia64/sn/kernel/
Dsetup.c170 efi_systab = (efi_system_table_t *) __va(ia64_boot_param->efi_systab); in early_sn_setup()
171 config_tables = __va(efi_systab->tables); in early_sn_setup()
175 sal_systab = __va(config_tables[i].table); in early_sn_setup()
181 ia64_sal_handler_init(__va in early_sn_setup()
183 __va(ep->gp)); in early_sn_setup()
329 pcdp = __va(efi.hcdp); in sn_scan_pcdp()
/arch/arm/mm/
Dmmu.c675 if (__va(bank->start) < VMALLOC_MIN && in sanity_check_meminfo()
676 bank->size > VMALLOC_MIN - __va(bank->start)) { in sanity_check_meminfo()
685 bank[1].size -= VMALLOC_MIN - __va(bank->start); in sanity_check_meminfo()
689 bank->size = VMALLOC_MIN - __va(bank->start); in sanity_check_meminfo()
696 if (__va(bank->start) >= VMALLOC_MIN || in sanity_check_meminfo()
697 __va(bank->start) < PAGE_OFFSET) { in sanity_check_meminfo()
708 if (__va(bank->start + bank->size) > VMALLOC_MIN || in sanity_check_meminfo()
709 __va(bank->start + bank->size) < __va(bank->start)) { in sanity_check_meminfo()
710 unsigned long newsize = VMALLOC_MIN - __va(bank->start); in sanity_check_meminfo()

1234567