Home
last modified time | relevance | path

Searched refs:virt_to_phys (Results 1 – 25 of 197) sorted by relevance

12345678

/arch/frv/include/asm/
Dvirtconvert.h25 #define virt_to_phys(vaddr) ((unsigned long) (vaddr) - PAGE_OFFSET) macro
30 #define virt_to_phys(vaddr) ((unsigned long) (vaddr)) macro
34 #define virt_to_bus virt_to_phys
38 #define page_to_phys(page) virt_to_phys((void *)__page_address(page))
/arch/arm/kernel/
Dsuspend.c63 *save_ptr = virt_to_phys(ptr); in __cpu_suspend_save()
66 *ptr++ = virt_to_phys(idmap_pgd); in __cpu_suspend_save()
68 *ptr++ = virt_to_phys(cpu_do_resume); in __cpu_suspend_save()
87 outer_clean_range(virt_to_phys(save_ptr), in __cpu_suspend_save()
88 virt_to_phys(save_ptr) + sizeof(*save_ptr)); in __cpu_suspend_save()
102 sleep_save_sp.save_ptr_stash_phys = virt_to_phys(ctx_ptr); in cpu_suspend_alloc_sp()
Dhibernate.c65 _soft_restart(virt_to_phys(cpu_resume), false); in arch_save_image()
90 _soft_restart(virt_to_phys(cpu_resume), false); in arch_restore_image()
/arch/x86/platform/efi/
Defi_64.c181 efi_scratch.phys_stack = virt_to_phys(page_address(page)); in efi_setup_page_tables()
399 phys_tm = virt_to_phys(tm); in efi_thunk_get_time()
400 phys_tc = virt_to_phys(tc); in efi_thunk_get_time()
416 phys_tm = virt_to_phys(tm); in efi_thunk_set_time()
434 phys_enabled = virt_to_phys(enabled); in efi_thunk_get_wakeup_time()
435 phys_pending = virt_to_phys(pending); in efi_thunk_get_wakeup_time()
436 phys_tm = virt_to_phys(tm); in efi_thunk_get_wakeup_time()
454 phys_tm = virt_to_phys(tm); in efi_thunk_set_wakeup_time()
472 phys_data_size = virt_to_phys(data_size); in efi_thunk_get_variable()
473 phys_vendor = virt_to_phys(vendor); in efi_thunk_get_variable()
[all …]
/arch/m68k/emu/
Dnatfeat.c50 return nf_get_id_phys(virt_to_phys(name_copy)); in nf_get_id()
62 nf_call(nf_get_id("NF_STDERR"), virt_to_phys(buf)); in nfprint()
87 nf_call(id, virt_to_phys(buf), 256); in nf_init()
Dnfeth.c122 nf_call(nfEtherID + XIF_READBLOCK, priv->ethX, virt_to_phys(skb->data), in recv_packet()
165 nf_call(nfEtherID + XIF_WRITEBLOCK, priv->ethX, virt_to_phys(data), in nfeth_xmit()
198 if (!nf_call(nfEtherID + XIF_GET_MAC, unit, virt_to_phys(mac), in nfeth_probe()
221 virt_to_phys(host_ip), sizeof(host_ip)); in nfeth_probe()
223 virt_to_phys(local_ip), sizeof(local_ip)); in nfeth_probe()
/arch/arm/common/
Dmcpm_entry.c27 unsigned long val = ptr ? virt_to_phys(ptr) : 0; in mcpm_set_entry_vector()
104 phys_reset = (phys_reset_t)(unsigned long)virt_to_phys(cpu_reset); in mcpm_cpu_power_down()
105 phys_reset(virt_to_phys(mcpm_entry_point)); in mcpm_cpu_power_down()
137 phys_reset = (phys_reset_t)(unsigned long)virt_to_phys(cpu_reset); in mcpm_cpu_suspend()
138 phys_reset(virt_to_phys(mcpm_entry_point)); in mcpm_cpu_suspend()
170 phys_reset = (phys_reset_t)(unsigned long)virt_to_phys(cpu_reset); in nocache_trampoline()
171 phys_reset(virt_to_phys(mcpm_entry_point)); in nocache_trampoline()
343 mcpm_power_up_setup_phys = virt_to_phys(power_up_setup); in mcpm_sync_init()
/arch/m68k/include/asm/
Dvirtconvert.h18 static inline unsigned long virt_to_phys(void *address) in virt_to_phys() function
39 #define virt_to_bus virt_to_phys
/arch/sh/kernel/
Dsetup.c271 code_resource.start = virt_to_phys(_text); in setup_arch()
272 code_resource.end = virt_to_phys(_etext)-1; in setup_arch()
273 data_resource.start = virt_to_phys(_etext); in setup_arch()
274 data_resource.end = virt_to_phys(_edata)-1; in setup_arch()
275 bss_resource.start = virt_to_phys(__bss_start); in setup_arch()
276 bss_resource.end = virt_to_phys(__bss_stop)-1; in setup_arch()
/arch/arm64/kernel/
Dsuspend.c27 *save_ptr = virt_to_phys(ptr); in __cpu_suspend_save()
165 sleep_save_sp.save_ptr_stash_phys = virt_to_phys(ctx_ptr); in cpu_suspend_init()
166 sleep_idmap_phys = virt_to_phys(idmap_pg_dir); in cpu_suspend_init()
Dsetup.c225 kernel_code.start = virt_to_phys(_text); in request_standard_resources()
226 kernel_code.end = virt_to_phys(__init_begin - 1); in request_standard_resources()
227 kernel_data.start = virt_to_phys(_sdata); in request_standard_resources()
228 kernel_data.end = virt_to_phys(_end - 1); in request_standard_resources()
298 init_thread_info.ttbr0 = virt_to_phys(empty_zero_page); in setup_arch()
/arch/arm64/include/asm/
Dmmu_context.h52 unsigned long ttbr = virt_to_phys(empty_zero_page); in cpu_set_reserved_ttbr0()
65 cpu_do_switch_mm(virt_to_phys(pgd),mm); in cpu_switch_mm()
135 ttbr = virt_to_phys(mm->pgd) | ASID(mm) << 48; in update_saved_ttbr0()
/arch/arm/mach-shmobile/
Dplatsmp-scu.c28 shmobile_smp_hook(cpu, virt_to_phys(shmobile_boot_scu), in shmobile_smp_scu_notifier_call()
43 shmobile_boot_fn = virt_to_phys(shmobile_smp_boot); in shmobile_smp_scu_prepare_cpus()
Dplatsmp-apmu.c134 shmobile_boot_fn = virt_to_phys(shmobile_smp_boot); in shmobile_smp_apmu_prepare_cpus()
145 shmobile_smp_hook(cpu, virt_to_phys(shmobile_invalidate_start), 0); in shmobile_smp_apmu_boot_secondary()
230 shmobile_smp_hook(cpu, virt_to_phys(cpu_resume), 0); in shmobile_smp_apmu_do_suspend()
/arch/arm/mach-omap2/
Domap-smp.c229 omap_auxcoreboot_addr(virt_to_phys(startup_addr)); in omap4_smp_prepare_cpus()
236 writel_relaxed(virt_to_phys(omap5_secondary_hyp_startup), in omap4_smp_prepare_cpus()
239 writel_relaxed(virt_to_phys(omap5_secondary_startup), in omap4_smp_prepare_cpus()
/arch/mips/include/asm/mach-loongson/
Ddma-coherence.h26 return virt_to_phys(addr); in plat_map_dma_mem()
28 return virt_to_phys(addr) | 0x80000000; in plat_map_dma_mem()
/arch/arm/mach-vexpress/
Dplatsmp.c51 vexpress_flags_set(virt_to_phys(versatile_secondary_startup)); in vexpress_smp_prepare_cpus()
104 vexpress_flags_set(virt_to_phys(versatile_secondary_startup)); in vexpress_smp_dt_prepare_cpus()
/arch/arm/mach-tegra/
Dreset.c97 virt_to_phys((void *)tegra_secondary_startup); in tegra_cpu_reset_handler_init()
104 virt_to_phys((void *)tegra_resume); in tegra_cpu_reset_handler_init()
/arch/sh/mm/
Dconsistent.c54 ret_nocache = (void __force *)ioremap_nocache(virt_to_phys(ret), size); in dma_generic_alloc_coherent()
60 split_page(pfn_to_page(virt_to_phys(ret) >> PAGE_SHIFT), order); in dma_generic_alloc_coherent()
62 *dma_handle = virt_to_phys(ret); in dma_generic_alloc_coherent()
/arch/score/include/asm/
Dio.h6 #define virt_to_bus virt_to_phys
/arch/unicore32/kernel/
Dsetup.c201 kernel_code.start = virt_to_phys(_stext); in request_standard_resources()
202 kernel_code.end = virt_to_phys(_etext - 1); in request_standard_resources()
203 kernel_data.start = virt_to_phys(_sdata); in request_standard_resources()
204 kernel_data.end = virt_to_phys(_end - 1); in request_standard_resources()
/arch/alpha/include/asm/
Dswitch_to.h10 (L) = alpha_switch_to(virt_to_phys(&task_thread_info(N)->pcb), (P)); \
/arch/arm/mach-hisi/
Dplatsmp.c29 writel_relaxed(virt_to_phys(jump_addr), ctrl_base + ((cpu - 1) << 2)); in hi3xxx_set_cpu_jump()
119 jumpaddr = virt_to_phys(hix5hd2_secondary_startup); in hix5hd2_boot_secondary()
/arch/m32r/kernel/
Dsetup.c262 code_resource.start = virt_to_phys(_text); in setup_arch()
263 code_resource.end = virt_to_phys(_etext)-1; in setup_arch()
264 data_resource.start = virt_to_phys(_etext); in setup_arch()
265 data_resource.end = virt_to_phys(_edata)-1; in setup_arch()
/arch/microblaze/include/asm/
Dcacheflush.h80 addr = (u32)virt_to_phys((void *)addr); \
109 u32 addr = virt_to_phys(dst); in copy_to_user_page()

12345678