Home
last modified time | relevance | path

Searched refs:virt_to_phys (Results 1 – 200 of 360) sorted by relevance

12

/linux-4.4.14/arch/x86/platform/efi/
Defi_64.c183 efi_scratch.phys_stack = virt_to_phys(page_address(page)); in efi_setup_page_tables()
401 phys_tm = virt_to_phys(tm); in efi_thunk_get_time()
402 phys_tc = virt_to_phys(tc); in efi_thunk_get_time()
418 phys_tm = virt_to_phys(tm); in efi_thunk_set_time()
436 phys_enabled = virt_to_phys(enabled); in efi_thunk_get_wakeup_time()
437 phys_pending = virt_to_phys(pending); in efi_thunk_get_wakeup_time()
438 phys_tm = virt_to_phys(tm); in efi_thunk_get_wakeup_time()
456 phys_tm = virt_to_phys(tm); in efi_thunk_set_wakeup_time()
474 phys_data_size = virt_to_phys(data_size); in efi_thunk_get_variable()
475 phys_vendor = virt_to_phys(vendor); in efi_thunk_get_variable()
[all …]
/linux-4.4.14/arch/arm/kernel/
Dsuspend.c59 *save_ptr = virt_to_phys(ptr); in __cpu_suspend_save()
62 *ptr++ = virt_to_phys(idmap_pgd); in __cpu_suspend_save()
64 *ptr++ = virt_to_phys(cpu_do_resume); in __cpu_suspend_save()
83 outer_clean_range(virt_to_phys(save_ptr), in __cpu_suspend_save()
84 virt_to_phys(save_ptr) + sizeof(*save_ptr)); in __cpu_suspend_save()
98 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()
Dsmp.c92 return __phys_to_pfn(virt_to_phys(pgd)); in get_arch_pgd()
94 return virt_to_phys(pgd); in get_arch_pgd()
115 secondary_data.pgdir = virt_to_phys(idmap_pgd); in __cpu_up()
Dsetup.c774 kernel_code.start = virt_to_phys(_text); in request_standard_resources()
775 kernel_code.end = virt_to_phys(_etext - 1); in request_standard_resources()
776 kernel_data.start = virt_to_phys(_sdata); in request_standard_resources()
777 kernel_data.end = virt_to_phys(_end - 1); in request_standard_resources()
/linux-4.4.14/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))
Dpage.h45 #define __pa(vaddr) virt_to_phys((void *) (unsigned long) (vaddr))
/linux-4.4.14/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()
Dmachine_kexec.c137 *ptr = virt_to_phys(*ptr); in machine_kexec()
/linux-4.4.14/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()
Dnfcon.c29 unsigned long phys = virt_to_phys(buf); in nfputs()
84 nf_call(stderr_id, virt_to_phys(temp)); in nfcon_tty_put_char()
Dnfblock.c45 virt_to_phys(blocks), virt_to_phys(blocksize)); in nfhd_get_capacity()
/linux-4.4.14/arch/arm64/include/asm/
Dmemory.h132 #define virt_to_phys virt_to_phys macro
133 static inline phys_addr_t virt_to_phys(const volatile void *x) in virt_to_phys() function
Dproc-fns.h41 cpu_do_switch_mm(virt_to_phys(pgd),mm); \
/linux-4.4.14/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
Dmmu_context.h219 mm->context = virt_to_phys(mm->pgd); in init_new_context()
297 next_mm->context = virt_to_phys(next_mm->pgd); in activate_mm()
/linux-4.4.14/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()
Domap-mpuss-lowpower.c275 set_cpu_wakeup_addr(cpu, virt_to_phys(omap_pm_ops.resume)); in omap4_enter_lowpower()
327 set_cpu_wakeup_addr(cpu, virt_to_phys(omap_pm_ops.hotplug_restart)); in omap4_hotplug_cpu()
Dcontrol.c330 virt_to_phys(omap3_restore_3630); in omap3_save_scratchpad_contents()
335 virt_to_phys(omap3_restore); in omap3_save_scratchpad_contents()
338 virt_to_phys(omap3_restore_es3); in omap3_save_scratchpad_contents()
410 arm_context_addr = virt_to_phys(omap3_arm_context); in omap3_save_scratchpad_contents()
/linux-4.4.14/arch/arm/common/
Dmcpm_entry.c147 unsigned long val = ptr ? virt_to_phys(ptr) : 0; in mcpm_set_entry_vector()
302 phys_reset = (phys_reset_t)(unsigned long)virt_to_phys(cpu_reset); in mcpm_cpu_power_down()
303 phys_reset(virt_to_phys(mcpm_entry_point)); in mcpm_cpu_power_down()
391 phys_reset = (phys_reset_t)(unsigned long)virt_to_phys(cpu_reset); in nocache_trampoline()
392 phys_reset(virt_to_phys(mcpm_entry_point)); in nocache_trampoline()
452 mcpm_power_up_setup_phys = virt_to_phys(power_up_setup); in mcpm_sync_init()
/linux-4.4.14/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.c125 shmobile_boot_fn = virt_to_phys(shmobile_smp_boot); in shmobile_smp_apmu_prepare_cpus()
136 shmobile_smp_hook(cpu, virt_to_phys(secondary_startup), 0); in shmobile_smp_apmu_boot_secondary()
221 shmobile_smp_hook(cpu, virt_to_phys(cpu_resume), 0); in shmobile_smp_apmu_do_suspend()
Dsmp-r8a7779.c95 shmobile_boot_fn = virt_to_phys(shmobile_boot_scu); in r8a7779_smp_prepare_cpus()
/linux-4.4.14/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()
/linux-4.4.14/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()
Dpm.c71 return virt_to_phys(sp); in sleep_phys_sp()
Dpuv3-core.c197 writel(virt_to_phys(puv3_cpu_resume), PM_DIVCFG); in puv3_cpu_pm_prepare()
/linux-4.4.14/arch/arm/mach-hisi/
Dplatsmp.c31 writel_relaxed(virt_to_phys(jump_addr), ctrl_base + ((cpu - 1) << 2)); in hi3xxx_set_cpu_jump()
121 jumpaddr = virt_to_phys(secondary_startup); in hix5hd2_boot_secondary()
159 jumpaddr = virt_to_phys(secondary_startup); in hip01_boot_secondary()
/linux-4.4.14/arch/nios2/include/asm/
Dio.h52 #define page_to_phys(page) virt_to_phys(page_to_virt(page))
59 #define virt_to_phys(vaddr) \ macro
Dpage.h93 # define virt_to_page(vaddr) pfn_to_page(PFN_DOWN(virt_to_phys(vaddr)))
94 # define virt_addr_valid(vaddr) pfn_valid(PFN_DOWN(virt_to_phys(vaddr)))
Ddma-mapping.h70 return virt_to_phys(ptr); in dma_map_single()
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/
Ddma-coherence.h26 return phys_to_dma(dev, virt_to_phys(addr)); in plat_map_dma_mem()
28 return virt_to_phys(addr) | 0x80000000; in plat_map_dma_mem()
/linux-4.4.14/arch/arm/mach-tegra/
Dreset.c97 virt_to_phys((void *)secondary_startup); in tegra_cpu_reset_handler_init()
104 virt_to_phys((void *)tegra_resume); in tegra_cpu_reset_handler_init()
/linux-4.4.14/arch/arm64/kernel/
Dsuspend.c26 *save_ptr = virt_to_phys(ptr); in __cpu_suspend_save()
147 sleep_save_sp.save_ptr_stash_phys = virt_to_phys(ctx_ptr); in cpu_suspend_init()
Dsetup.c203 kernel_code.start = virt_to_phys(_text); in request_standard_resources()
204 kernel_code.end = virt_to_phys(_etext - 1); in request_standard_resources()
205 kernel_data.start = virt_to_phys(_sdata); in request_standard_resources()
206 kernel_data.end = virt_to_phys(_end - 1); in request_standard_resources()
Dpsci.c186 virt_to_phys(cpu_resume)); in psci_suspend_finisher()
/linux-4.4.14/arch/arm/mach-exynos/
Dpm.c137 __raw_writel(virt_to_phys(exynos_cpu_resume), in exynos_cpu_set_boot_vector()
243 unsigned long boot_addr = virt_to_phys(exynos_cpu_resume); in exynos_cpu0_enter_aftr()
335 unsigned long boot_addr = virt_to_phys(exynos_cpu_resume); in exynos_pre_enter_aftr()
Dfirmware.c46 __raw_writel(virt_to_phys(exynos_cpu_resume_ns), in exynos_do_idle()
140 writel(virt_to_phys(exynos_cpu_resume_ns), in exynos_suspend()
Dplatsmp.c357 boot_addr = virt_to_phys(exynos4_secondary_startup); in exynos_boot_secondary()
447 boot_addr = virt_to_phys(exynos4_secondary_startup); in exynos_smp_prepare_cpus()
Dsuspend.c351 pmu_raw_writel(virt_to_phys(exynos_cpu_resume), S5P_INFORM0); in exynos_pm_prepare()
368 pmu_raw_writel(virt_to_phys(exynos_cpu_resume), S5P_INFORM0); in exynos3250_pm_prepare()
395 pmu_raw_writel(virt_to_phys(mcpm_entry_point), S5P_INFORM0); in exynos5420_pm_prepare()
Dmcpm-exynos.c224 __raw_writel(virt_to_phys(mcpm_entry_point), ns_sram_base_addr + 8); in exynos_mcpm_setup_entry_point()
/linux-4.4.14/arch/arm/mach-socfpga/
Dplatsmp.c43 writel(virt_to_phys(secondary_startup), in socfpga_boot_secondary()
66 writel(virt_to_phys(secondary_startup), in socfpga_a10_boot_secondary()
/linux-4.4.14/arch/arm/include/asm/
Dmemory.h257 #define virt_to_phys virt_to_phys macro
258 static inline phys_addr_t virt_to_phys(const volatile void *x) in virt_to_phys() function
Dproc-fns.h116 #define cpu_switch_mm(pgd,mm) cpu_do_switch_mm(virt_to_phys(pgd),mm)
/linux-4.4.14/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()
/linux-4.4.14/arch/tile/include/asm/
Dpage.h260 static inline phys_addr_t virt_to_phys(const volatile void *kaddr) in virt_to_phys() function
291 static inline phys_addr_t virt_to_phys(const volatile void *kaddr) in virt_to_phys() function
307 #define __pa(kaddr) virt_to_phys((void *)(unsigned long)(kaddr))
Dio.h65 #define mm_vtop(addr) ((unsigned long)virt_to_phys(addr))
506 #define virt_to_bus virt_to_phys
/linux-4.4.14/arch/x86/platform/intel-quark/
Dimr_selftest.c58 phys_addr_t base = virt_to_phys(&_text); in imr_self_test()
59 size_t size = virt_to_phys(&__end_rodata) - base; in imr_self_test()
Dimr.c588 phys_addr_t base = virt_to_phys(&_text); in imr_fixup_memmap()
589 size_t size = virt_to_phys(&__end_rodata) - base; in imr_fixup_memmap()
/linux-4.4.14/arch/arm/mach-zx/
Dplatsmp.c79 __raw_writel(virt_to_phys(zx_secondary_startup), in zx_smp_prepare_cpus()
97 zx_secondary_startup_pa = virt_to_phys(zx_secondary_startup); in zx_smp_prepare_cpus()
/linux-4.4.14/drivers/virt/
Dfsl_hypervisor.c293 virt_to_phys(sg_list), num_pages); in ioctl_memcpy()
380 virt_to_phys(path), in ioctl_dtprop()
381 virt_to_phys(propname), in ioctl_dtprop()
382 virt_to_phys(propval), in ioctl_dtprop()
386 virt_to_phys(path), in ioctl_dtprop()
387 virt_to_phys(propname), in ioctl_dtprop()
388 virt_to_phys(propval), in ioctl_dtprop()
/linux-4.4.14/drivers/staging/android/ion/
Dion_dummy_driver.c83 virt_to_phys(carveout_ptr); in ion_dummy_init()
92 dummy_heaps[ION_HEAP_TYPE_CHUNK].base = virt_to_phys(chunk_ptr); in ion_dummy_init()
/linux-4.4.14/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()
Ddma-mapping.h69 __dma_sync(virt_to_phys(vaddr), size, (int)direction); in dma_cache_sync()
/linux-4.4.14/drivers/parisc/
Dccio-rm-dma.c91 *handle = virt_to_phys(ret); in ccio_alloc_consistent()
105 return virt_to_phys(ptr); in ccio_map_single()
/linux-4.4.14/arch/x86/include/asm/
Dio.h118 static inline phys_addr_t virt_to_phys(volatile void *address) in virt_to_phys() function
153 return (unsigned int)virt_to_phys(address); in isa_virt_to_bus()
164 #define virt_to_bus virt_to_phys
/linux-4.4.14/drivers/s390/char/
Ddiag_ftp.c114 : [cmd] "0" (cmd), [addr] "d" (virt_to_phys(fpl)), in diag_ftp_2c4()
170 ldfpl->bufaddr = virt_to_phys(ftp->buf); in diag_ftp_cmd()
/linux-4.4.14/arch/score/include/asm/
Dio.h6 #define virt_to_bus virt_to_phys
/linux-4.4.14/arch/alpha/kernel/
Dpci-noop.c121 *dma_handle = virt_to_phys(ret); in alpha_noop_alloc_coherent()
152 sg_dma_address(sg) = (dma_addr_t)virt_to_phys(va); in alpha_noop_map_sg()
Dcore_cia.c334 pte = (virt_to_phys(ppte) >> (PAGE_SHIFT - 1)) | 1; in cia_prepare_tbia_workaround()
342 *(vip)CIA_IOC_PCI_Tn_BASE(window) = virt_to_phys(ppte) >> 2; in cia_prepare_tbia_workaround()
373 pte0 = (virt_to_phys(page) >> (PAGE_SHIFT - 1)) | 1; in verify_tb_operation()
733 *(vip)CIA_IOC_PCI_T0_BASE = virt_to_phys(hose->sg_isa->ptes) >> 2; in do_init_arch()
Dcore_tsunami.c334 pchip->tba[0].csr = virt_to_phys(hose->sg_isa->ptes); in tsunami_init_one_pchip()
338 pchip->tba[1].csr = virt_to_phys(hose->sg_pci->ptes); in tsunami_init_one_pchip()
Dcore_mcpcia.c375 *(vuip)MCPCIA_T0_BASE(mid) = virt_to_phys(hose->sg_isa->ptes) >> 8; in mcpcia_startup_hose()
379 *(vuip)MCPCIA_T1_BASE(mid) = virt_to_phys(hose->sg_pci->ptes) >> 8; in mcpcia_startup_hose()
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_map.h33 *dma_handle = virt_to_phys(va); in scif_alloc_coherent()
64 *dma_handle = virt_to_phys((local)); in scif_map_single()
/linux-4.4.14/arch/arm/mach-sunxi/
Dplatsmp.c83 writel(virt_to_phys(secondary_startup), in sun6i_smp_boot_secondary()
165 writel(virt_to_phys(secondary_startup), in sun8i_smp_boot_secondary()
/linux-4.4.14/drivers/net/cris/
Deth_v10.c338 RxDescList[i].descr.next = virt_to_phys(&RxDescList[i + 1]); in etrax_ethernet_init()
339 RxDescList[i].descr.buf = L1_CACHE_ALIGN(virt_to_phys(RxDescList[i].skb->data)); in etrax_ethernet_init()
346 RxDescList[NBR_OF_RX_DESC - 1].descr.next = virt_to_phys(&RxDescList[0]); in etrax_ethernet_init()
353 TxDescList[i].descr.next = virt_to_phys(&TxDescList[i + 1].descr); in etrax_ethernet_init()
361 TxDescList[NBR_OF_TX_DESC - 1].descr.next = virt_to_phys(&TxDescList[0].descr); in etrax_ethernet_init()
590 *R_DMA_CH1_FIRST = virt_to_phys(myNextRxDesc); in e100_open()
596 *R_DMA_CH0_DESCR = virt_to_phys(myLastTxDesc); in e100_open()
1080 *R_DMA_CH0_DESCR = virt_to_phys(myLastTxDesc); in e100_tx_timeout()
1151 while ((*R_DMA_CH1_FIRST != virt_to_phys(myNextRxDesc)) && in e100rxtx_interrupt()
1171 while (virt_to_phys(myFirstTxDesc) != *R_DMA_CH0_FIRST && in e100rxtx_interrupt()
[all …]
/linux-4.4.14/drivers/firmware/
Ddell_rbu.c174 if ((unsigned long)virt_to_phys(packet_data_temp_buf) in create_packet()
177 (unsigned long)virt_to_phys( in create_packet()
189 (unsigned long)virt_to_phys(newpacket->data)); in create_packet()
208 (unsigned long)virt_to_phys( in create_packet()
442 (unsigned long) virt_to_phys(image_update_buffer); in img_update_realloc()
Dqcom_scm-32.c215 u32 cmd_addr = virt_to_phys(cmd); in __qcom_scm_call()
426 return qcom_scm_set_boot_addr(virt_to_phys(entry), flags); in __qcom_scm_set_cold_boot_addr()
457 ret = qcom_scm_set_boot_addr(virt_to_phys(entry), flags); in __qcom_scm_set_warm_boot_addr()
Ddcdbas.c110 smi_data_buf_phys_addr = (u32) virt_to_phys(buf); in smi_data_buf_realloc()
325 smi_cmd->ebx = (u32) virt_to_phys(smi_cmd->command_buffer); in smi_request_store()
/linux-4.4.14/arch/alpha/mm/
Dnuma.c152 end_kernel_pfn = PFN_UP(virt_to_phys(kernel_end)); in setup_memory_node()
282 virt_to_phys((void *)initrd_start), in setup_memory()
302 dma_local_pfn = virt_to_phys((char *)MAX_DMA_ADDRESS) >> PAGE_SHIFT; in paging_init()
Dinit.c244 dma_pfn = virt_to_phys((char *)MAX_DMA_ADDRESS) >> PAGE_SHIFT; in paging_init()
/linux-4.4.14/arch/alpha/include/asm/
Dswitch_to.h10 (L) = alpha_switch_to(virt_to_phys(&task_thread_info(N)->pcb), (P)); \
Dio.h63 static inline unsigned long virt_to_phys(void *address) in virt_to_phys() function
73 static inline unsigned long virt_to_phys(void *address) in virt_to_phys() function
116 unsigned long phys = virt_to_phys(address); in virt_to_bus()
Dmmu_context.h31 a0 = virt_to_phys(pcb); in __reload_thread()
/linux-4.4.14/arch/microblaze/mm/
Dconsistent.c90 flush_dcache_range(virt_to_phys((void *)vaddr), in consistent_alloc()
91 virt_to_phys((void *)vaddr) + size); in consistent_alloc()
Dpgtable.c74 p >= memory_start && p < virt_to_phys(high_memory) && in __ioremap()
/linux-4.4.14/drivers/hv/
Dhv.c96 u64 input_address = (input) ? virt_to_phys(input) : 0; in do_hypercall()
97 u64 output_address = (output) ? virt_to_phys(output) : 0; in do_hypercall()
513 simp.base_simp_gpa = virt_to_phys(hv_context.synic_message_page[cpu]) in hv_synic_init()
521 siefp.base_siefp_gpa = virt_to_phys(hv_context.synic_event_page[cpu]) in hv_synic_init()
Dconnection.c83 msg->interrupt_page = virt_to_phys(vmbus_connection.int_page); in vmbus_negotiate_version()
84 msg->monitor_page1 = virt_to_phys(vmbus_connection.monitor_pages[0]); in vmbus_negotiate_version()
85 msg->monitor_page2 = virt_to_phys(vmbus_connection.monitor_pages[1]); in vmbus_negotiate_version()
/linux-4.4.14/arch/arm/mach-alpine/
Dplatsmp.c30 addr = virt_to_phys(secondary_startup); in alpine_boot_secondary()
/linux-4.4.14/arch/unicore32/include/asm/
Dcpu-single.h21 #define cpu_switch_mm(pgd, mm) cpu_do_switch_mm(virt_to_phys(pgd), mm)
/linux-4.4.14/drivers/misc/mic/host/
Dmic_fops.c171 *pa = virt_to_phys(mdev->dp); in mic_query_offset()
179 *pa = virt_to_phys(mvr->vring.va); in mic_query_offset()
/linux-4.4.14/arch/arm/mach-vexpress/
Dtc2_pm.c57 virt_to_phys(mcpm_entry_point)); in tc2_pm_cpu_powerup()
162 ve_spc_set_resume_addr(cluster, cpu, virt_to_phys(mcpm_entry_point)); in tc2_pm_cpu_suspend_prepare()
Dplatsmp.c64 vexpress_flags_set(virt_to_phys(versatile_secondary_startup)); in vexpress_smp_dt_prepare_cpus()
Ddcscb.c169 vexpress_flags_set(virt_to_phys(mcpm_entry_point)); in dcscb_init()
/linux-4.4.14/arch/m32r/include/asm/
Dio.h25 static inline unsigned long virt_to_phys(volatile void * address) in virt_to_phys() function
79 #define virt_to_bus virt_to_phys
/linux-4.4.14/arch/powerpc/kernel/
Dmachine_kexec_32.c51 reboot_code_buffer_phys = virt_to_phys((void *)reboot_code_buffer); in default_machine_kexec()
/linux-4.4.14/arch/arm/mach-s3c24xx/
Dpm-s3c2416.c51 __raw_writel(virt_to_phys(s3c_cpu_resume), S3C2412_INFORM1); in s3c2416_pm_prepare()
Dpm-s3c2410.c48 __raw_writel(virt_to_phys(s3c_cpu_resume), S3C2410_GSTATUS3); in s3c2410_pm_prepare()
/linux-4.4.14/arch/xtensa/include/asm/
Dio.h65 #define virt_to_bus virt_to_phys
/linux-4.4.14/arch/mips/include/asm/mach-jazz/
Ddma-coherence.h17 return vdma_alloc(virt_to_phys(addr), size); in plat_map_dma_mem()
/linux-4.4.14/arch/cris/arch-v32/drivers/pci/
Ddma.c37 *dma_handle = virt_to_phys(ret); in dma_alloc_coherent()
/linux-4.4.14/arch/arm/mach-rockchip/
Dplatsmp.c155 writel(virt_to_phys(secondary_startup), sram_base_addr + 8); in rockchip_boot_secondary()
194 rockchip_boot_fn = virt_to_phys(secondary_startup); in rockchip_smp_prepare_sram()
Dpm.c65 rkpm_bootdata_cpu_code = virt_to_phys(cpu_resume); in rk3288_config_bootdata()
/linux-4.4.14/arch/powerpc/perf/
Dhv-common.c25 virt_to_phys(&arg), sizeof(arg)); in hv_perf_caps_get()
/linux-4.4.14/arch/arm/mach-realview/
Dplatsmp.c74 __raw_writel(virt_to_phys(versatile_secondary_startup), in realview_smp_prepare_cpus()
/linux-4.4.14/arch/mips/include/asm/mach-generic/
Ddma-coherence.h17 return virt_to_phys(addr); in plat_map_dma_mem()
/linux-4.4.14/arch/mips/include/asm/mach-ath25/
Ddma-coherence.h36 return virt_to_phys(addr) + ath25_dev_offset(dev); in plat_map_dma_mem()
/linux-4.4.14/drivers/xen/
Dswiotlb-xen.c106 return xen_phys_to_bus(virt_to_phys(address)); in xen_virt_to_bus()
150 return paddr >= virt_to_phys(xen_io_tlb_start) && in is_xen_swiotlb_buffer()
151 paddr < virt_to_phys(xen_io_tlb_end); in is_xen_swiotlb_buffer()
164 phys_addr_t p = virt_to_phys(buf); in xen_swiotlb_fixup()
/linux-4.4.14/arch/mips/include/asm/mach-ip27/
Ddma-coherence.h24 dma_addr_t pa = dev_to_baddr(dev, virt_to_phys(addr)); in plat_map_dma_mem()
/linux-4.4.14/arch/mips/include/asm/mach-ip32/
Ddma-coherence.h32 dma_addr_t pa = virt_to_phys(addr) & RAM_OFFSET_MASK; in plat_map_dma_mem()
/linux-4.4.14/arch/arm/mach-prima2/
Dplatsmp.c68 __raw_writel(virt_to_phys(sirfsoc_secondary_startup), in sirfsoc_boot_secondary()
Dpm.c57 u32 wakeup_entry = virt_to_phys(cpu_resume); in sirfsoc_pre_suspend_power_off()
/linux-4.4.14/drivers/s390/cio/
Dqdio_thinint.c224 summary_indicator_addr = virt_to_phys(tiqdio_airq.lsi_ptr); in set_subchannel_ind()
225 subchannel_indicator_addr = virt_to_phys(irq_ptr->dsci); in set_subchannel_ind()
/linux-4.4.14/arch/cris/include/asm/
Dio.h29 static inline unsigned long virt_to_phys(volatile void * address) in virt_to_phys() function
54 #define virt_to_bus virt_to_phys
Ddma-mapping.h45 return virt_to_phys(ptr); in dma_map_single()
/linux-4.4.14/arch/sh/boards/mach-lboxre2/
Dsetup.c57 paddrbase = virt_to_phys((void*)PA_AREA5_IO); in lboxre2_devices_setup()
/linux-4.4.14/arch/x86/include/asm/xen/
Dpage-coherent.h13 *dma_handle = virt_to_phys(vstart); in xen_alloc_coherent_pages()
/linux-4.4.14/arch/s390/include/asm/
Dappldata.h56 parm_list.buffer_addr = virt_to_phys(buffer); in appldata_asm()
/linux-4.4.14/arch/cris/arch-v32/drivers/
Dsync_serial.c410 (dma_descr_data *)virt_to_phys(&descr[i+1]); in initialize_port()
416 (dma_descr_data *)virt_to_phys(&port->out_descr[0]); in initialize_port()
1263 port->active_tr_descr->buf = (char *)virt_to_phys((char *)data); in start_dma_out()
1281 (dma_descr_data *)virt_to_phys(port->prev_tr_descr); in start_dma_out()
1285 virt_to_phys((char *)&port->out_context)); in start_dma_out()
1307 buf = (char *)virt_to_phys(port->in_buffer); in start_dma_in()
1313 (dma_descr_data *)virt_to_phys(&port->in_descr[i+1]); in start_dma_in()
1319 (dma_descr_data *)virt_to_phys(&port->in_descr[0]); in start_dma_in()
1324 (dma_descr_data *)virt_to_phys(&port->in_descr[0]); in start_dma_in()
1326 DMA_START_CONTEXT(port->regi_dmain, virt_to_phys(&port->in_context)); in start_dma_in()
[all …]
Dcryptocop.c356 cd->dma_descr->next = (dma_descr_data*)virt_to_phys(cd->next->dma_descr); in setup_descr_chain()
425 cdesc->dma_descr->buf = (char*)virt_to_phys((char*)pad); in create_pad_descriptor()
458 key_desc->dma_descr->buf = (char*)virt_to_phys(tc->tctx->dec_key); in setup_key_dl_desc()
461 key_desc->dma_descr->buf = (char*)virt_to_phys(tc->tctx->init.key); in setup_key_dl_desc()
509 iv_desc->dma_descr->buf = (char*)virt_to_phys(tc->tcfg->iv); in setup_cipher_iv_desc()
578 …outdesc->dma_descr->buf = (char*)virt_to_phys(operation->tfrm_op.outdata[outiov_ix].iov_base + iov… in create_input_descriptors()
628 …cdesc->dma_descr->buf = (char*)virt_to_phys(operation->tfrm_op.indata[*iniov_ix].iov_base + *iniov… in create_output_descriptors()
681 (*current_in_cdesc)->dma_descr->buf = (char*)virt_to_phys(mem2mem_discard_buf); in append_input_descriptors()
1240 …ed->dma_descr->buf = (char*)virt_to_phys(&ed); /* Use any valid physical address for zero length d… in cryptocop_setup_dma_list()
1319 (*int_op)->ctx_out.saved_data = (dma_descr_data*)virt_to_phys((*int_op)->cdesc_out->dma_descr); in cryptocop_setup_dma_list()
[all …]
/linux-4.4.14/arch/mn10300/mm/
Ddma-alloc.c57 mn10300_dcache_flush_inv_range2(virt_to_phys((void *) addr), PAGE_SIZE); in dma_alloc_coherent()
/linux-4.4.14/arch/arm/mach-ux500/
Dplatsmp.c58 writel(virt_to_phys(secondary_startup), in wakeup_secondary()
/linux-4.4.14/arch/arm/mach-spear/
Dplatsmp.c120 __raw_writel(virt_to_phys(spear13xx_secondary_startup), SYS_LOCATION); in spear13xx_smp_prepare_cpus()
/linux-4.4.14/arch/arm/mach-sa1100/
Dpm.c76 PSPR = virt_to_phys(cpu_resume); in sa11x0_pm_enter()
/linux-4.4.14/arch/arm/mach-axxia/
Dplatsmp.c28 writel_relaxed(virt_to_phys(secondary_startup), virt); in write_release_addr()
/linux-4.4.14/arch/nios2/kernel/
Dprom.c38 u64 kernel_start = (u64)virt_to_phys(_text); in early_init_dt_add_memory_arch()
Dsetup.c193 reserve_bootmem(virt_to_phys((void *)initrd_start), in setup_arch()
/linux-4.4.14/arch/sh/boards/mach-sh03/
Dsetup.c83 paddrbase = virt_to_phys((void *)PA_AREA5_IO); in sh03_devices_setup()
/linux-4.4.14/arch/sh/boards/mach-landisk/
Dsetup.c62 paddrbase = virt_to_phys((void *)PA_AREA5_IO); in landisk_devices_setup()
/linux-4.4.14/arch/h8300/kernel/
Ddma.c28 *dma_handle = virt_to_phys(ret); in dma_alloc()
/linux-4.4.14/include/asm-generic/
Dio.h723 #ifndef virt_to_phys
724 #define virt_to_phys virt_to_phys macro
725 static inline unsigned long virt_to_phys(volatile void *address) in virt_to_phys() function
/linux-4.4.14/arch/m32r/mm/
Dioremap.c65 if (phys_addr < virt_to_phys(high_memory)) { in __ioremap()
Dinit.c68 max_dma = virt_to_phys((char *)MAX_DMA_ADDRESS) >> PAGE_SHIFT; in zone_sizes_init()
/linux-4.4.14/arch/parisc/mm/
Dioremap.c52 if (phys_addr < virt_to_phys(high_memory)) { in __ioremap()
Dinit.c369 data_resource.start = virt_to_phys(&data_start); in setup_bootmem()
370 data_resource.end = virt_to_phys(_end) - 1; in setup_bootmem()
371 code_resource.start = virt_to_phys(_text); in setup_bootmem()
372 code_resource.end = virt_to_phys(&data_start)-1; in setup_bootmem()
/linux-4.4.14/arch/frv/mm/
Dinit.c91 __set_pmd(pme, virt_to_phys(pkmap_page_table) | _PAGE_TABLE); in paging_init()
Dmmu-context.c94 _pgd = virt_to_phys(pgd); in change_mm_context()
/linux-4.4.14/arch/arm/mach-uniphier/
Dheadsmp.S37 .word 0 @ set virt_to_phys(secondary_startup)
Dplatsmp.c80 writel(virt_to_phys(secondary_startup), in uniphier_smp_copy_trampoline()
/linux-4.4.14/arch/parisc/include/asm/
Dio.h7 #define virt_to_phys(a) ((unsigned long)__pa(a)) macro
9 #define virt_to_bus virt_to_phys
/linux-4.4.14/arch/arm/mach-imx/
Dplatsmp.c120 paddr = virt_to_phys(secondary_startup); in ls1021a_smp_prepare_cpus()
Dsrc.c102 writel_relaxed(virt_to_phys(jump_addr), in imx_set_cpu_jump()
/linux-4.4.14/arch/arm/mach-sti/
Dplatsmp.c106 unsigned long entry_pa = virt_to_phys(sti_secondary_startup); in sti_smp_prepare_cpus()
/linux-4.4.14/arch/x86/kernel/
Dmpparse.c583 (unsigned long long) virt_to_phys(mpf), in smp_scan_config()
584 (unsigned long long) virt_to_phys(mpf) + in smp_scan_config()
587 mem = virt_to_phys(mpf); in smp_scan_config()
861 pr_info("mpf: %llx\n", (u64)virt_to_phys(mpf)); in update_mp_table()
/linux-4.4.14/drivers/virtio/
Dvirtio_mmio.c435 writel(virt_to_phys(info->queue) >> PAGE_SHIFT, in vm_setup_vq()
440 addr = virt_to_phys(info->queue); in vm_setup_vq()
445 addr = virt_to_phys(virtqueue_get_avail(vq)); in vm_setup_vq()
450 addr = virt_to_phys(virtqueue_get_used(vq)); in vm_setup_vq()
Dvirtio_pci_modern.c369 vp_iowrite64_twopart(virt_to_phys(info->queue), in setup_vq()
371 vp_iowrite64_twopart(virt_to_phys(virtqueue_get_avail(vq)), in setup_vq()
373 vp_iowrite64_twopart(virt_to_phys(virtqueue_get_used(vq)), in setup_vq()
/linux-4.4.14/arch/arm/mach-zynq/
Dplatsmp.c92 return zynq_cpun_start(virt_to_phys(secondary_startup), cpu); in zynq_boot_secondary()
/linux-4.4.14/arch/arm/include/asm/xen/
Dpage.h78 #define virt_to_gfn(v) (pfn_to_gfn(virt_to_phys(v) >> XEN_PAGE_SHIFT))
/linux-4.4.14/arch/arm/mach-berlin/
Dplatsmp.c95 writel(virt_to_phys(secondary_startup), vectors_base + SW_RESET_ADDR); in berlin_smp_prepare_cpus()
/linux-4.4.14/arch/arm/mach-s5pv210/
Dpm.c72 __raw_writel(virt_to_phys(s5pv210_cpu_resume), S5P_INFORM0); in s5pv210_pm_prepare()
/linux-4.4.14/arch/arm/mach-bcm/
Dbcm63xx_smp.c138 val = virt_to_phys(secondary_startup); in bcm63138_smp_boot_secondary()
Dkona_smp.c172 boot_func = virt_to_phys(secondary_startup); in bcm_boot_secondary()
/linux-4.4.14/arch/arm/mach-mediatek/
Dplatsmp.c117 writel_relaxed(virt_to_phys(secondary_startup_arm), in __mtk_smp_prepare_cpus()
/linux-4.4.14/arch/s390/kernel/
Dcpcmd.c95 if ((virt_to_phys(response) != (unsigned long) response) || in cpcmd()
/linux-4.4.14/drivers/char/hw_random/
Domap3-rom-rng.c66 ptr = virt_to_phys(buf); in omap3_rom_rng_get_random()
/linux-4.4.14/drivers/iommu/
Dexynos-iommu.c139 #define ZERO_LV2LINK mk_lv1ent_page(virt_to_phys(zero_lv2_table))
656 outer_flush_range(virt_to_phys(vastart), in pgtable_flush()
657 virt_to_phys(vaend)); in pgtable_flush()
746 phys_addr_t pagetable = virt_to_phys(domain->pgtable); in exynos_iommu_attach_device()
781 phys_addr_t pagetable = virt_to_phys(domain->pgtable); in exynos_iommu_detach_device()
826 *sent = mk_lv1ent_page(virt_to_phys(pent)); in alloc_lv2entry()
Drockchip-iommu.c97 phys_addr_t pa_start = virt_to_phys(va); in rk_table_flush()
98 phys_addr_t pa_end = virt_to_phys(va + count); in rk_table_flush()
187 phys_addr_t pt_phys = virt_to_phys(pt); in rk_mk_dte()
775 dte_addr = virt_to_phys(rk_domain->dt); in rk_iommu_attach_device()
Dio-pgtable-arm.c207 return (dma_addr_t)virt_to_phys(pages); in __arm_lpae_dma_addr()
229 if (dma != virt_to_phys(pages)) in __arm_lpae_alloc_pages()
733 cfg->arm_lpae_s1_cfg.ttbr[0] = virt_to_phys(data->pgd); in arm_64_lpae_alloc_pgtable_s1()
822 cfg->arm_lpae_s2_cfg.vttbr = virt_to_phys(data->pgd); in arm_64_lpae_alloc_pgtable_s2()
/linux-4.4.14/arch/microblaze/kernel/
Dptrace.c117 u32 paddr = virt_to_phys((u32)reg_addr); in arch_ptrace()
Ddma.c37 *dma_handle = virt_to_phys(ret); in dma_direct_alloc_coherent()
/linux-4.4.14/arch/c6x/mm/
Ddma-coherent.c112 __free_dma_pages(virt_to_phys(vaddr), order); in dma_free_coherent()
/linux-4.4.14/arch/mips/bmips/
Ddma.c57 return bmips_phys_to_dma(dev, virt_to_phys(addr)); in plat_map_dma_mem()
/linux-4.4.14/arch/arm/mach-mvebu/
Dsystem-controller.c156 writel(virt_to_phys(boot_addr), system_controller_base + in mvebu_system_controller_set_cpu_boot_addr()
Dpm.c112 resume_pc = virt_to_phys(armada_370_xp_cpu_resume); in mvebu_pm_store_armadaxp_bootinfo()
/linux-4.4.14/arch/parisc/kernel/
Dpci-dma.c458 return virt_to_phys(addr); in pa11_dma_map_single()
488 sg_dma_address(sg) = (dma_addr_t) virt_to_phys(vaddr); in pa11_dma_map_sg()
576 *dma_handle = (dma_addr_t)virt_to_phys(addr); in pa11_dma_alloc_noncoherent()
/linux-4.4.14/drivers/char/agp/
Dsworks-agp.c158 writel(virt_to_phys(serverworks_private.scratch_dir.real) | 1, page_dir.remapped+i); in serverworks_create_gatt_table()
170 agp_bridge->gatt_bus_addr = virt_to_phys(page_dir.real); in serverworks_create_gatt_table()
182 writel(virt_to_phys(serverworks_private.gatt_pages[i]->real)|1, page_dir.remapped+i); in serverworks_create_gatt_table()
Damd-k7-agp.c144 agp_bridge->gatt_bus_addr = virt_to_phys(page_dir.real); in amd_create_gatt_table()
156 writel(virt_to_phys(amd_irongate_private.gatt_pages[i]->real) | 1, in amd_create_gatt_table()
Dati-agp.c364 agp_bridge->gatt_bus_addr = virt_to_phys(page_dir.real); in ati_create_gatt_table()
393 writel(virt_to_phys(ati_generic_private.gatt_pages[i]->real) | 1, in ati_create_gatt_table()
/linux-4.4.14/arch/cris/arch-v10/drivers/
Dsync_serial.c1224 port->out_descr.buf = virt_to_phys(data); in start_dma()
1227 *port->output_dma_first = virt_to_phys(&port->out_descr); in start_dma()
1243 buf = virt_to_phys(port->in_buffer); in start_dma_in()
1247 port->in_descr[i].next = virt_to_phys(&port->in_descr[i+1]); in start_dma_in()
1256 port->in_descr[i-1].next = virt_to_phys(&port->in_descr[0]); in start_dma_in()
1260 *port->input_dma_first = virt_to_phys(port->next_rx_desc); in start_dma_in()
1336 virt_to_phys(port->next_rx_desc)) { in rx_interrupt()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Dhvcserver.c103 last_p_unit_address, virt_to_phys(pi_buff)); in hvcs_next_partner()
Deeh_pseries.c596 virt_to_phys(drv_log), len, in pseries_eeh_get_log()
597 virt_to_phys(slot_errbuf), eeh_error_buf_size, in pseries_eeh_get_log()
/linux-4.4.14/tools/virtio/linux/
Dkernel.h32 #define virt_to_phys(p) ((unsigned long)p) macro
/linux-4.4.14/arch/arm/mach-pxa/
Dpxa25x.c87 PSPR = virt_to_phys(cpu_resume); in pxa25x_cpu_pm_prepare()
Dpxa27x.c168 PSPR = virt_to_phys(cpu_resume); in pxa27x_cpu_pm_prepare()
Dpalmz72.c252 PSPR = virt_to_phys(&palmz72_resume_info); in palmz72_pm_suspend()
/linux-4.4.14/arch/powerpc/platforms/512x/
Dmpc512x_shared.c281 out_be32(&diu_reg->gamma, virt_to_phys(&diu_shared_fb.gamma)); in mpc512x_init_diu()
284 out_be32(&diu_reg->desc[0], virt_to_phys(&diu_shared_fb.ad0)); in mpc512x_init_diu()
/linux-4.4.14/arch/avr32/include/asm/
Dio.h15 static __inline__ unsigned long virt_to_phys(volatile void *address) in virt_to_phys() function
305 #define virt_to_bus virt_to_phys
/linux-4.4.14/arch/ia64/include/asm/
Dio.h80 virt_to_phys (volatile void *address) in virt_to_phys() function
101 #define virt_to_bus virt_to_phys
/linux-4.4.14/drivers/s390/net/
Dctcm_mpc.c1727 ch->ccw[9].cda = virt_to_phys(ch->xid_th); in mpc_action_side_xid()
1734 ch->ccw[10].cda = virt_to_phys(ch->xid); in mpc_action_side_xid()
1739 ch->ccw[11].cda = virt_to_phys(ch->rcvd_xid_th); in mpc_action_side_xid()
1744 ch->ccw[12].cda = virt_to_phys(ch->rcvd_xid); in mpc_action_side_xid()
1747 ch->ccw[13].cda = virt_to_phys(ch->rcvd_xid_id); in mpc_action_side_xid()
1753 ch->ccw[9].cda = virt_to_phys(ch->rcvd_xid_th); in mpc_action_side_xid()
1758 ch->ccw[10].cda = virt_to_phys(ch->rcvd_xid); in mpc_action_side_xid()
1765 ch->ccw[11].cda = virt_to_phys(ch->xid_th); in mpc_action_side_xid()
1772 ch->ccw[12].cda = virt_to_phys(ch->xid); in mpc_action_side_xid()
1777 ch->ccw[13].cda = virt_to_phys(ch->xid_id); in mpc_action_side_xid()
/linux-4.4.14/arch/sh/kernel/cpu/sh4a/
Dsmp-shx3.c93 __raw_writel(virt_to_phys(entry_point), RESET_REG(cpu)); in shx3_start_cpu()
/linux-4.4.14/arch/blackfin/kernel/
Ddma-mapping.c90 *dma_handle = virt_to_phys(ret); in dma_alloc_coherent()
/linux-4.4.14/arch/sparc/include/asm/
Dpage_32.h126 #define virt_to_phys __pa macro
Dpage_64.h144 #define virt_to_phys __pa macro
/linux-4.4.14/arch/unicore32/mm/
Dmmu.c368 map.pfn = __phys_to_pfn(virt_to_phys(vectors)); in devicemaps_init()
378 map.pfn = __phys_to_pfn(virt_to_phys(vectors)); in devicemaps_init()
/linux-4.4.14/arch/mips/include/asm/
Ddma.h92 #define MAX_DMA_PFN PFN_DOWN(virt_to_phys((void *)MAX_DMA_ADDRESS))
Dio.h119 static inline unsigned long virt_to_phys(volatile const void *address) in virt_to_phys() function
162 #define virt_to_bus virt_to_phys
Dpage.h225 #define virt_to_page(kaddr) pfn_to_page(PFN_DOWN(virt_to_phys((void *) \
/linux-4.4.14/drivers/net/ethernet/i825xx/
D82596.c565 cache_clear(virt_to_phys(skb->data), PKT_BUF_SZ); in init_rx_bufs()
799 cache_clear(virt_to_phys(newskb->data), PKT_BUF_SZ); in i596_rx()
817 cache_clear(virt_to_phys(rbd->skb->data), in i596_rx()
1092 cache_push(virt_to_phys(skb->data), length); in i596_start_xmit()
1212 cache_push(virt_to_phys((void *)(dev->mem_start)), 4096); in i82596_probe()
1213 cache_clear(virt_to_phys((void *)(dev->mem_start)), 4096); in i82596_probe()
/linux-4.4.14/arch/mips/kernel/
Dvdso.c154 virt_to_phys(&vdso_data) >> PAGE_SHIFT, in arch_setup_additional_pages()
/linux-4.4.14/arch/sh/include/asm/
Dio.h244 #define virt_to_phys(address) ((unsigned long)(address)) macro
247 #define virt_to_phys(address) (__pa(address)) macro
/linux-4.4.14/arch/c6x/kernel/
Ddma.c42 dma_addr_t addr = virt_to_phys(ptr); in dma_map_single()
/linux-4.4.14/arch/hexagon/kernel/
Ddma.c79 *dma_addr = (dma_addr_t) virt_to_phys(ret); in hexagon_dma_alloc_coherent()
/linux-4.4.14/arch/nios2/mm/
Dioremap.c130 if (phys_addr > PHYS_OFFSET && phys_addr < virt_to_phys(high_memory)) { in __ioremap()
Ddma-mapping.c40 *dma_handle = virt_to_phys(ret); in dma_alloc_coherent()
/linux-4.4.14/arch/mips/mm/
Dmmap.c204 return pfn_valid(PFN_DOWN(virt_to_phys(kaddr))); in __virt_addr_valid()
Dioremap.c141 if (phys_addr < virt_to_phys(high_memory)) { in __ioremap()
/linux-4.4.14/arch/frv/kernel/
Dpm.c119 return virt_to_phys(sp); in sleep_phys_sp()
/linux-4.4.14/Documentation/arm/
Dfirmware.txt63 __raw_writel(virt_to_phys(exynos4_secondary_startup),
/linux-4.4.14/arch/m68k/kernel/
Ddma.c88 *dma_handle = virt_to_phys(ret); in dma_alloc_coherent()
/linux-4.4.14/arch/ia64/mm/
Dcontig.c241 max_dma = virt_to_phys((void *) MAX_DMA_ADDRESS) >> PAGE_SHIFT; in paging_init()
/linux-4.4.14/drivers/ide/
Dau1xxx-ide.c63 if (!au1xxx_dbdma_put_dest(ahwif->rx_chan, virt_to_phys(addr), in auide_insw()
81 if (!au1xxx_dbdma_put_source(ahwif->tx_chan, virt_to_phys(addr), in auide_outsw()
/linux-4.4.14/lib/
Dswiotlb.c138 return phys_to_dma(hwdev, virt_to_phys(address)); in swiotlb_virt_to_bus()
294 io_tlb_start = virt_to_phys(tlb); in swiotlb_late_init_with_tbl()
307 io_tlb_overflow_buffer = virt_to_phys(v_overflow_buffer); in swiotlb_late_init_with_tbl()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c188 desc->buf_addr = virt_to_phys(rbuf) >> NICVF_RCV_BUF_ALIGN; in nicvf_init_rbdr()
271 desc->buf_addr = virt_to_phys(rbuf) >> NICVF_RCV_BUF_ALIGN; in nicvf_refill_rbdr()
1076 virt_to_phys(tso.data)); in nicvf_sq_append_tso()
1145 nicvf_sq_add_gather_subdesc(sq, qentry, size, virt_to_phys(skb->data)); in nicvf_sq_append_skb()
1159 virt_to_phys( in nicvf_sq_append_skb()
/linux-4.4.14/arch/hexagon/include/asm/
Dio.h62 static inline unsigned long virt_to_phys(volatile void *address) in virt_to_phys() function
/linux-4.4.14/drivers/watchdog/
Ddiag288_wdt.c99 return __diag288(func, timeout, virt_to_phys(cmd), len); in __diag288_vm()
/linux-4.4.14/drivers/cpufreq/
Dspeedstep-smi.c69 magic = virt_to_phys(magic_data); in speedstep_smi_ownership()
/linux-4.4.14/arch/sparc/kernel/
Dioport.c463 srmmu_mapiorange(0, virt_to_phys(va), res->start, len_total); in pci32_alloc_coherent()
465 *pba = virt_to_phys(va); /* equals virt_to_bus (R.I.P.) for us. */ in pci32_alloc_coherent()
/linux-4.4.14/drivers/scsi/
Datari_scsi.c557 unsigned long addr = virt_to_phys(data); in atari_scsi_dma_setup()
733 limit = (atari_dma_buffer && !STRAM_ADDR(virt_to_phys(cmd->SCp.ptr))) ? in atari_dma_xfer_len()
/linux-4.4.14/arch/m68k/amiga/
Dconfig.c529 unsigned long jmp_addr040 = virt_to_phys(&&jmp_addr_label040); in amiga_reset()
530 unsigned long jmp_addr = virt_to_phys(&&jmp_addr_label); in amiga_reset()
/linux-4.4.14/arch/metag/include/asm/
Ddma-mapping.h36 return virt_to_phys(ptr); in dma_map_single()

12