Home
last modified time | relevance | path

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

123456789

/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/arch/sh/kernel/
H A Dsetup.c295 code_resource.start = virt_to_phys(_text); in setup_arch()
296 code_resource.end = virt_to_phys(_etext)-1; in setup_arch()
297 data_resource.start = virt_to_phys(_etext); in setup_arch()
298 data_resource.end = virt_to_phys(_edata)-1; in setup_arch()
299 bss_resource.start = virt_to_phys(__bss_start); in setup_arch()
300 bss_resource.end = virt_to_phys(__bss_stop)-1; in setup_arch()
/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()
/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/arch/s390/kvm/
H A Dpci.c76 zpci_aipb->aipb.faisb = virt_to_phys(aift->sbv->vector); in zpci_setup_aipb()
77 zpci_aipb->aipb.gait = virt_to_phys(aift->gait); in zpci_setup_aipb()
168 fib.fmt0.aibv = virt_to_phys(zdev->aibv->vector); in kvm_zpci_set_airq()
170 fib.fmt0.aisb = virt_to_phys(aift->sbv->vector + (zdev->aisb / 64) * 8); in kvm_zpci_set_airq()
299 gaite->gisa = (u32)virt_to_phys(&kvm->arch.sie_page2->gisa); in kvm_s390_pci_aif_enable()
306 gaite->aisb = virt_to_phys(page_address(aisb_page) + (fib->fmt0.aisb & in kvm_s390_pci_aif_enable()
313 fib->fmt0.aisb = virt_to_phys(aift->sbv->vector + (zdev->aisb / 64) * 8); in kvm_s390_pci_aif_enable()
480 zdev->gisa = (u32)virt_to_phys(&kvm->arch.sie_page2->gisa); in kvm_s390_pci_register_kvm()
/linux/arch/arm64/include/asm/
H A Dmemory.h360 #define virt_to_phys virt_to_phys macro
361 static inline phys_addr_t virt_to_phys(const volatile void *x) in virt_to_phys() function
377 return __phys_to_pfn(virt_to_phys(kaddr)); in virt_to_pfn()
/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/drivers/platform/x86/dell/
H A Ddell_rbu.c157 if ((unsigned long)virt_to_phys(packet_data_temp_buf) in create_packet()
160 (unsigned long)virt_to_phys( in create_packet()
177 (unsigned long)virt_to_phys(newpacket->data)); in create_packet()
196 (unsigned long)virt_to_phys(invalid_addr_packet_array[idx])); in create_packet()
414 img_buf_phys_addr = (unsigned long)virt_to_phys(image_update_buffer); in img_update_realloc()
/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/iommu/
H A Dexynos-iommu.c179 #define ZERO_LV2LINK mk_lv1ent_page(virt_to_phys(zero_lv2_table))
886 dma_sync_single_for_cpu(dma_dev, virt_to_phys(ent), sizeof(*ent), in exynos_iommu_set_pte()
889 dma_sync_single_for_device(dma_dev, virt_to_phys(ent), sizeof(*ent), in exynos_iommu_set_pte()
921 BUG_ON(handle != virt_to_phys(domain->pgtable)); in exynos_iommu_domain_alloc_paging()
968 dma_unmap_single(dma_dev, virt_to_phys(domain->pgtable), LV1TABLE_SIZE, in exynos_iommu_domain_free()
999 pagetable = virt_to_phys(domain->pgtable); in exynos_iommu_identity_attach()
1043 phys_addr_t pagetable = virt_to_phys(domain->pgtable); in exynos_iommu_attach_device()
1097 exynos_iommu_set_pte(sent, mk_lv1ent_page(virt_to_phys(pent))); in alloc_lv2entry()
1186 dma_addr_t pent_base = virt_to_phys(pent); in lv2set_page()
1349 dma_sync_single_for_cpu(dma_dev, virt_to_phys(ent), in exynos_iommu_unmap()
[all …]
/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/alpha/include/asm/
H A Dio.h55 static inline unsigned long virt_to_phys(volatile void *address) in virt_to_phys() function
65 static inline unsigned long virt_to_phys(volatile void *address) in virt_to_phys() function
85 #define virt_to_phys virt_to_phys macro
104 unsigned long phys = virt_to_phys(address); in isa_virt_to_bus()
/linux/arch/s390/kernel/
H A Dperf_cpum_sf.c219 *sdbt = virt_to_phys((void *)sdb); in alloc_sample_data_block()
276 *tail = virt_to_phys((void *)new) + 1; in realloc_sampling_buffer()
306 *tail = virt_to_phys(sfb->sdbt) + 1; in realloc_sampling_buffer()
341 *sfb->tail = virt_to_phys((void *)sfb->sdbt) + 1; in alloc_sampling_buffer()
1372 cpuhw->lsctl.tear = virt_to_phys((void *)base) + offset * sizeof(unsigned long); in aux_output_begin()
1373 cpuhw->lsctl.dear = virt_to_phys((void *)aux->sdb_index[head]); in aux_output_begin()
1648 *tail = virt_to_phys(new) + 1; in aux_buffer_setup()
1652 *tail = virt_to_phys(pages[i]); in aux_buffer_setup()
1659 *tail = virt_to_phys(sfb->sdbt) + 1; in aux_buffer_setup()
1788 cpuhw->lsctl.tear = virt_to_phys(cpuhw->sfb.sdbt); in cpumsf_pmu_add()
/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()

123456789