Home
last modified time | relevance | path

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

12345678

/linux/arch/arm/kernel/
H A Dsuspend.c87 *save_ptr = virt_to_phys(ptr); in __cpu_suspend_save()
90 *ptr++ = virt_to_phys(idmap_pgd); in __cpu_suspend_save()
92 *ptr++ = virt_to_phys(cpu_do_resume); in __cpu_suspend_save()
111 outer_clean_range(virt_to_phys(save_ptr), in __cpu_suspend_save()
112 virt_to_phys(save_ptr) + sizeof(*save_ptr)); in __cpu_suspend_save()
126 sleep_save_sp.save_ptr_stash_phys = virt_to_phys(ctx_ptr); in cpu_suspend_alloc_sp()
/linux/drivers/virt/acrn/
H A Dhsm.c56 ret = hcall_get_cpu_state(cmd, virt_to_phys(pm_info)); in pmcmd_ioctl()
71 ret = hcall_get_cpu_state(cmd, virt_to_phys(px_data)); in pmcmd_ioctl()
86 ret = hcall_get_cpu_state(cmd, virt_to_phys(cx_data)); in pmcmd_ioctl()
211 ret = hcall_set_vcpu_regs(vm->vmid, virt_to_phys(cpu_regs)); in acrn_dev_ioctl()
238 ret = hcall_assign_mmiodev(vm->vmid, virt_to_phys(mmiodev)); in acrn_dev_ioctl()
250 ret = hcall_deassign_mmiodev(vm->vmid, virt_to_phys(mmiodev)); in acrn_dev_ioctl()
262 ret = hcall_assign_pcidev(vm->vmid, virt_to_phys(pcidev)); in acrn_dev_ioctl()
274 ret = hcall_deassign_pcidev(vm->vmid, virt_to_phys(pcidev)); in acrn_dev_ioctl()
286 ret = hcall_create_vdev(vm->vmid, virt_to_phys(vdev)); in acrn_dev_ioctl()
297 ret = hcall_destroy_vdev(vm->vmid, virt_to_phys(vdev)); in acrn_dev_ioctl()
[all …]
H A Dmm.c30 regions->regions_gpa = virt_to_phys(region); in modify_region()
32 ret = hcall_set_memory_regions(virt_to_phys(regions)); in modify_region()
299 regions_info->regions_gpa = virt_to_phys(vm_region); in acrn_vm_ram_map()
320 ret = hcall_set_memory_regions(virt_to_phys(regions_info)); in acrn_vm_ram_map()
H A Dvm.c30 ret = hcall_create_vm(virt_to_phys(vm_param)); in acrn_vm_create()
120 ret = hcall_inject_msi(vm->vmid, virt_to_phys(msi)); in acrn_msi_inject()
/linux/tools/include/linux/
H A Dmm.h28 #define virt_to_phys virt_to_phys macro
29 static inline phys_addr_t virt_to_phys(volatile void *address) in virt_to_phys() function
/linux/arch/m68k/emu/
H A Dnatfeat.c51 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()
H A Dnfeth.c118 nf_call(nfEtherID + XIF_READBLOCK, priv->ethX, virt_to_phys(skb->data), in recv_packet()
160 nf_call(nfEtherID + XIF_WRITEBLOCK, priv->ethX, virt_to_phys(data), in nfeth_xmit()
192 if (!nf_call(nfEtherID + XIF_GET_MAC, unit, virt_to_phys(mac), in nfeth_probe()
215 virt_to_phys(host_ip), sizeof(host_ip)); in nfeth_probe()
217 virt_to_phys(local_ip), sizeof(local_ip)); in nfeth_probe()
H A 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()
H A Dnfblock.c44 virt_to_phys(blocks), virt_to_phys(blocksize)); in nfhd_get_capacity()
/linux/arch/s390/include/asm/
H A Dappldata.h57 parm_list->product_id_addr = virt_to_phys(id); in appldata_asm()
58 parm_list->buffer_addr = virt_to_phys(buffer); in appldata_asm()
63 : "d" (virt_to_phys(parm_list)), "m" (*parm_list), "m" (*id) in appldata_asm()
/linux/arch/riscv/mm/
H A Dpmem.c16 noncoherent_cache_ops.wback(virt_to_phys(addr), size); in arch_wb_cache_pmem()
28 noncoherent_cache_ops.inv(virt_to_phys(addr), size); in arch_invalidate_pmem()
/linux/lib/
H A Dtest_debug_virtual.c28 pa = virt_to_phys(va); in test_debug_virtual_init()
36 pa = virt_to_phys(foo); in test_debug_virtual_init()
/linux/drivers/virt/
H A Dfsl_hypervisor.c291 virt_to_phys(sg_list), num_pages); in ioctl_memcpy()
376 virt_to_phys(path), in ioctl_dtprop()
377 virt_to_phys(propname), in ioctl_dtprop()
378 virt_to_phys(propval), in ioctl_dtprop()
382 virt_to_phys(path), in ioctl_dtprop()
383 virt_to_phys(propname), in ioctl_dtprop()
384 virt_to_phys(propval), in ioctl_dtprop()
/linux/drivers/staging/media/ipu3/
H A Dipu3-mmu.c203 pteval = IPU3_ADDR2PTE(virt_to_phys(new_l2pt)); in imgu_mmu_get_l2pt()
450 pteval = IPU3_ADDR2PTE(virt_to_phys(mmu->dummy_page)); in imgu_mmu_init()
460 pteval = IPU3_ADDR2PTE(virt_to_phys(mmu->dummy_l2pt)); in imgu_mmu_init()
476 pteval = IPU3_ADDR2PTE(virt_to_phys(mmu->l1pt)); in imgu_mmu_init()
532 pteval = IPU3_ADDR2PTE(virt_to_phys(mmu->l1pt)); in imgu_mmu_resume()
/linux/tools/virtio/linux/
H A Ddma-mapping.h26 #define dma_map_single(d, p, s, dir) (virt_to_phys(p))
27 #define dma_map_single_attrs(d, p, s, dir, a) (virt_to_phys(p))
/linux/arch/microblaze/include/asm/
H A Dcacheflush.h73 addr = (u32)virt_to_phys((void *)addr); \
92 u32 addr = virt_to_phys(dst); in copy_to_user_page()
/linux/arch/arm/mach-milbeaut/
H A Dplatsmp.c112 phys_reset = (phys_reset_t)(unsigned long)virt_to_phys(cpu_reset); in m10v_die()
113 phys_reset(virt_to_phys(cpu_resume)); in m10v_die()
/linux/arch/arm64/kernel/
H A Dhibernate.c211 *phys_dst_addr = virt_to_phys(page); in create_safe_exec_page()
468 hibernate_exit(virt_to_phys(tmp_pg_dir), resume_hdr.ttbr1_el1, in swsusp_arch_resume()
470 resume_hdr.__hyp_stub_vectors, virt_to_phys(zero_page)); in swsusp_arch_resume()
/linux/drivers/s390/char/
H A Ddiag_ftp.c116 : [cmd] "0" (cmd), [addr] "d" (virt_to_phys(fpl)), in diag_ftp_2c4()
172 ldfpl->bufaddr = virt_to_phys(ftp->buf); in diag_ftp_cmd()
/linux/drivers/iommu/
H A Dexynos-iommu.c178 #define ZERO_LV2LINK mk_lv1ent_page(virt_to_phys(zero_lv2_table))
885 dma_sync_single_for_cpu(dma_dev, virt_to_phys(ent), sizeof(*ent), in exynos_iommu_set_pte()
888 dma_sync_single_for_device(dma_dev, virt_to_phys(ent), sizeof(*ent), in exynos_iommu_set_pte()
920 BUG_ON(handle != virt_to_phys(domain->pgtable)); in exynos_iommu_domain_alloc_paging()
965 dma_unmap_single(dma_dev, virt_to_phys(domain->pgtable), LV1TABLE_SIZE, in exynos_iommu_domain_free()
996 pagetable = virt_to_phys(domain->pgtable); in exynos_iommu_identity_attach()
1040 phys_addr_t pagetable = virt_to_phys(domain->pgtable); in exynos_iommu_attach_device()
1094 exynos_iommu_set_pte(sent, mk_lv1ent_page(virt_to_phys(pent))); in alloc_lv2entry()
1183 dma_addr_t pent_base = virt_to_phys(pent); in lv2set_page()
1346 dma_sync_single_for_cpu(dma_dev, virt_to_phys(ent), in exynos_iommu_unmap()
[all …]
/linux/arch/alpha/include/asm/
H A Dio.h59 static inline unsigned long virt_to_phys(volatile void *address) in virt_to_phys() function
69 static inline unsigned long virt_to_phys(volatile void *address) in virt_to_phys() function
89 #define virt_to_phys virt_to_phys macro
108 unsigned long phys = virt_to_phys(address); in isa_virt_to_bus()
/linux/arch/powerpc/perf/
H A Dhv-gpci.c144 virt_to_phys(arg), HGPCI_REQ_BUFFER_SIZE); in systeminfo_gpci_request()
532 virt_to_phys(arg), HGPCI_REQ_BUFFER_SIZE); in affinity_domain_via_partition_show()
574 virt_to_phys(arg), HGPCI_REQ_BUFFER_SIZE); in affinity_domain_via_partition_show()
697 virt_to_phys(arg), HGPCI_REQ_BUFFER_SIZE); in single_gpci_request()
904 virt_to_phys(arg), HGPCI_REQ_BUFFER_SIZE); in sysinfo_device_attr_create()
1027 virt_to_phys(arg), HGPCI_REQ_BUFFER_SIZE); in hv_gpci_init()
/linux/arch/powerpc/platforms/pseries/
H A Dvas.c225 rc = h_get_nx_fault(txwin->vas_win.winid, (u64)virt_to_phys(&crb)); in pseries_vas_fault_thread_fn()
604 (u64)virt_to_phys(hv_caps)); in get_vas_capabilities()
915 (u64)virt_to_phys(&hv_cop_caps)); in pseries_vas_dlpar_cpu()
1001 (u64)virt_to_phys(&hv_cop_caps)); in vas_migration_handler()
1097 (u64)virt_to_phys(hv_caps)); in pseries_vas_init()
/linux/arch/s390/pci/
H A Dpci_irq.c42 fib.fmt0.aibv = virt_to_phys(zdev->aibv->vector); in zpci_set_airq()
44 fib.fmt0.aisb = virt_to_phys(zpci_sbv->vector) + (zdev->aisb / 64) * 8; in zpci_set_airq()
445 iib.cdiib.dibv_addr = virt_to_phys(zpci_ibv[smp_processor_id()]->vector); in cpu_enable_directed_irq()
462 iib.diib.disb_addr = virt_to_phys(zpci_sbv->vector); in zpci_directed_irq_init()
/linux/drivers/hv/
H A Dhv.c80 virt_to_phys(aligned_msg), 0); in hv_post_message()
284 simp.base_simp_gpa = virt_to_phys(hv_cpu->synic_message_page) in hv_synic_enable_regs()
303 siefp.base_siefp_gpa = virt_to_phys(hv_cpu->synic_event_page) in hv_synic_enable_regs()

12345678