Home
last modified time | relevance | path

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

12345678910

/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()
298 regions_info->regions_gpa = virt_to_phys(vm_region); in acrn_vm_ram_map()
319 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.h29 #define virt_to_phys virt_to_phys in virt_to_phys() function
30 static inline phys_addr_t virt_to_phys(volatile void *address) in virt_to_phys()
28 #define virt_to_phys virt_to_phys global() macro
/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()
167 fib.fmt0.aibv = virt_to_phys(zdev->aibv->vector); in kvm_zpci_set_airq()
169 fib.fmt0.aisb = virt_to_phys(aift->sbv->vector + (zdev->aisb / 64) * 8); in kvm_zpci_set_airq()
298 gaite->gisa = (u32)virt_to_phys(&kvm->arch.sie_page2->gisa); in kvm_s390_pci_aif_enable()
305 gaite->aisb = virt_to_phys(page_address(aisb_page) + (fib->fmt0.aisb & in kvm_s390_pci_aif_enable()
312 fib->fmt0.aisb = virt_to_phys(aift->sbv->vector + (zdev->aisb / 64) * 8); in kvm_s390_pci_aif_enable()
479 zdev->gisa = (u32)virt_to_phys(&kvm->arch.sie_page2->gisa); in kvm_s390_pci_register_kvm()
/linux/arch/s390/mm/
H A Dmaccess.c137 lc = virt_to_phys(lowcore_ptr[cpu]); in get_swapped_owner()
176 ptr = (void *)(addr - virt_to_phys(lowcore_ptr[cpu])); in xlate_dev_mem_ptr()
192 if (addr != virt_to_phys(ptr)) in unxlate_dev_mem_ptr()
H A Dpfault.c65 : [refbk] "a" (virt_to_phys(&pfault_init_refbk)), "m" (pfault_init_refbk) in __pfault_init()
87 : [refbk] "a" (virt_to_phys(&pfault_fini_refbk)), "m" (pfault_fini_refbk) in __pfault_fini()
/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/iommu/
H A Diommu-pages.c168 if (WARN_ON(dma != virt_to_phys(virt))) { in iommu_pages_start_incoherent()
227 dma_unmap_single(dma_dev, virt_to_phys(folio_address(folio)), in iommu_pages_stop_incoherent_list()
246 dma_unmap_single(dma_dev, virt_to_phys(virt), in iommu_pages_free_incoherent()
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()
1000 pagetable = virt_to_phys(domain->pgtable); in exynos_iommu_identity_attach()
1045 phys_addr_t pagetable = virt_to_phys(domain->pgtable); in exynos_iommu_attach_device()
1099 exynos_iommu_set_pte(sent, mk_lv1ent_page(virt_to_phys(pent))); in alloc_lv2entry()
1188 dma_addr_t pent_base = virt_to_phys(pent); in lv2set_page()
1351 dma_sync_single_for_cpu(dma_dev, virt_to_phys(ent), in exynos_iommu_unmap()
[all …]
/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/drivers/hv/
H A Dhv.c86 virt_to_phys(aligned_msg), 0); in hv_post_message()
297 simp.base_simp_gpa = virt_to_phys(hv_cpu->hyp_synic_message_page) in hv_hyp_synic_enable_regs()
316 siefp.base_siefp_gpa = virt_to_phys(hv_cpu->hyp_synic_event_page) in hv_hyp_synic_enable_regs()
355 simp.base_simp_gpa = virt_to_phys(hv_cpu->para_synic_message_page) in hv_para_synic_enable_regs()
362 siefp.base_siefp_gpa = virt_to_phys(hv_cpu->para_synic_event_page) in hv_para_synic_enable_regs()
/linux/tools/virtio/linux/
H A Ddma-mapping.h27 #define dma_map_single(d, p, s, dir) (virt_to_phys(p))
28 #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/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()
415 img_buf_phys_addr = (unsigned long)virt_to_phys(image_update_buffer); in img_update_realloc()
/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/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()

12345678910