/arch/frv/include/asm/ |
D | virtconvert.h | 25 #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/ |
D | suspend.c | 63 *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()
|
D | hibernate.c | 65 _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/ |
D | efi_64.c | 181 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/ |
D | natfeat.c | 50 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()
|
D | nfeth.c | 122 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/ |
D | mcpm_entry.c | 27 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/ |
D | virtconvert.h | 18 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/ |
D | setup.c | 271 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/ |
D | suspend.c | 27 *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()
|
D | setup.c | 225 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/ |
D | mmu_context.h | 52 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/ |
D | platsmp-scu.c | 28 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()
|
D | platsmp-apmu.c | 134 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/ |
D | omap-smp.c | 229 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/ |
D | dma-coherence.h | 26 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/ |
D | platsmp.c | 51 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/ |
D | reset.c | 97 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/ |
D | consistent.c | 54 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/ |
D | io.h | 6 #define virt_to_bus virt_to_phys
|
/arch/unicore32/kernel/ |
D | setup.c | 201 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/ |
D | switch_to.h | 10 (L) = alpha_switch_to(virt_to_phys(&task_thread_info(N)->pcb), (P)); \
|
/arch/arm/mach-hisi/ |
D | platsmp.c | 29 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/ |
D | setup.c | 262 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/ |
D | cacheflush.h | 80 addr = (u32)virt_to_phys((void *)addr); \ 109 u32 addr = virt_to_phys(dst); in copy_to_user_page()
|