/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 | 94 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/ |
D | page.h | 54 #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/ |
D | page.h | 22 #define __va(x) ((void *)((unsigned long)(x) | 0x20000000)) macro 26 #define __va(x) ((void *)((unsigned long)(x) | 0x80000000)) macro
|
/arch/powerpc/kernel/ |
D | setup_32.c | 126 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()
|
D | setup_64.c | 273 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/ |
D | page_no.h | 23 #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))
|
D | page_mm.h | 84 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)
|
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/x86/realmode/ |
D | init.c | 22 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/ |
D | efi.c | 72 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 …]
|
D | esi.c | 58 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/ |
D | page.h | 100 #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/ |
D | sections.h | 32 return start < (unsigned long)__va(real_end) && in overlaps_interrupt_vector_text() 33 (unsigned long)__va(real_start) < end; in overlaps_interrupt_vector_text()
|
D | page.h | 131 #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/ |
D | page.h | 104 #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/ |
D | memory.h | 89 #define __va(x) ((void *)__phys_to_virt((unsigned long)(x))) macro 90 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
|
/arch/sh/mm/ |
D | numa.c | 39 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/ |
D | numa_32.c | 88 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/ |
D | ftrace.c | 153 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/ |
D | page_64.h | 136 #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/ |
D | numachip_csr.h | 47 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/ |
D | efi_64.c | 99 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/ |
D | head64.c | 135 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/ |
D | page.h | 79 #define __va(x) ((void *)((unsigned long)(x) + PAGE_OFFSET)) macro 83 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)
|