Home
last modified time | relevance | path

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

12345678910>>...12

/linux/arch/arm/kernel/
A Dsuspend.c79 *save_ptr = virt_to_phys(ptr); in __cpu_suspend_save()
82 *ptr++ = virt_to_phys(idmap_pgd); in __cpu_suspend_save()
84 *ptr++ = virt_to_phys(cpu_do_resume); in __cpu_suspend_save()
103 outer_clean_range(virt_to_phys(save_ptr), in __cpu_suspend_save()
104 virt_to_phys(save_ptr) + sizeof(*save_ptr)); in __cpu_suspend_save()
118 sleep_save_sp.save_ptr_stash_phys = virt_to_phys(ctx_ptr); in cpu_suspend_alloc_sp()
/linux/arch/m68k/include/asm/
A Dvirtconvert.h19 #define virt_to_phys virt_to_phys macro
20 static inline unsigned long virt_to_phys(void *address) in virt_to_phys() function
37 #define virt_to_bus virt_to_phys
/linux/drivers/virt/acrn/
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()
201 ret = hcall_set_vcpu_regs(vm->vmid, virt_to_phys(cpu_regs)); in acrn_dev_ioctl()
228 ret = hcall_assign_mmiodev(vm->vmid, virt_to_phys(mmiodev)); in acrn_dev_ioctl()
252 ret = hcall_assign_pcidev(vm->vmid, virt_to_phys(pcidev)); in acrn_dev_ioctl()
264 ret = hcall_deassign_pcidev(vm->vmid, virt_to_phys(pcidev)); in acrn_dev_ioctl()
276 ret = hcall_create_vdev(vm->vmid, virt_to_phys(vdev)); in acrn_dev_ioctl()
287 ret = hcall_destroy_vdev(vm->vmid, virt_to_phys(vdev)); in acrn_dev_ioctl()
299 ret = hcall_set_ptdev_intr(vm->vmid, virt_to_phys(irq_info)); in acrn_dev_ioctl()
[all …]
A Dmm.c29 regions->regions_gpa = virt_to_phys(region); in modify_region()
31 ret = hcall_set_memory_regions(virt_to_phys(regions)); in modify_region()
235 regions_info->regions_gpa = virt_to_phys(vm_region); in acrn_vm_ram_map()
258 ret = hcall_set_memory_regions(virt_to_phys(regions_info)); in acrn_vm_ram_map()
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/
A Dsetup.c299 code_resource.start = virt_to_phys(_text); in setup_arch()
300 code_resource.end = virt_to_phys(_etext)-1; in setup_arch()
301 data_resource.start = virt_to_phys(_etext); in setup_arch()
302 data_resource.end = virt_to_phys(_edata)-1; in setup_arch()
303 bss_resource.start = virt_to_phys(__bss_start); in setup_arch()
304 bss_resource.end = virt_to_phys(__bss_stop)-1; in setup_arch()
/linux/arch/m68k/emu/
A 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()
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()
/linux/arch/ia64/include/asm/
A Dio.h81 virt_to_phys (volatile void *address) in virt_to_phys() function
85 #define virt_to_phys virt_to_phys macro
104 #define virt_to_bus virt_to_phys
/linux/arch/x86/include/asm/
A Dio.h129 static inline phys_addr_t virt_to_phys(volatile void *address) in virt_to_phys() function
133 #define virt_to_phys virt_to_phys macro
166 return (unsigned int)virt_to_phys(address); in isa_virt_to_bus()
176 #define virt_to_bus virt_to_phys
/linux/lib/
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/nios2/include/asm/
A Dio.h32 #define page_to_phys(page) virt_to_phys(page_to_virt(page))
38 #define virt_to_phys(vaddr) \ macro
A Dpage.h98 # define virt_to_page(vaddr) pfn_to_page(PFN_DOWN(virt_to_phys(vaddr)))
99 # define virt_addr_valid(vaddr) pfn_valid(PFN_DOWN(virt_to_phys(vaddr)))
/linux/arch/arm64/include/asm/
A Dmmu_context.h55 cpu_do_switch_mm(virt_to_phys(pgd),mm); in cpu_switch_mm()
153 phys_addr_t ttbr1 = phys_to_ttbr(virt_to_phys(pgdp)); in cpu_replace_ttbr1()
206 ttbr = phys_to_ttbr(virt_to_phys(mm->pgd)) | ASID(mm) << 48; in update_saved_ttbr0()
/linux/arch/mips/include/asm/
A Dio.h114 #define virt_to_phys virt_to_phys macro
115 static inline phys_addr_t virt_to_phys(const volatile void *x) in virt_to_phys() function
142 return virt_to_phys(address); in isa_virt_to_bus()
156 #define virt_to_bus virt_to_phys
/linux/drivers/virt/
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/
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/arch/arm/include/asm/
A Dmemory.h311 #define virt_to_phys virt_to_phys macro
312 static inline phys_addr_t virt_to_phys(const volatile void *x) in virt_to_phys() function
/linux/arch/microblaze/include/asm/
A Dcacheflush.h73 addr = (u32)virt_to_phys((void *)addr); \
84 u32 addr = virt_to_phys(dst); in copy_to_user_page()
/linux/arch/x86/platform/intel-quark/
A Dimr_selftest.c61 phys_addr_t base = virt_to_phys(&_text); in imr_self_test()
62 size_t size = virt_to_phys(&__end_rodata) - base; in imr_self_test()
/linux/drivers/iommu/
A Dexynos-iommu.c179 #define ZERO_LV2LINK mk_lv1ent_page(virt_to_phys(zero_lv2_table))
721 dma_sync_single_for_cpu(dma_dev, virt_to_phys(ent), sizeof(*ent), in exynos_iommu_set_pte()
724 dma_sync_single_for_device(dma_dev, virt_to_phys(ent), sizeof(*ent), in exynos_iommu_set_pte()
759 BUG_ON(handle != virt_to_phys(domain->pgtable)); in exynos_iommu_domain_alloc()
804 dma_unmap_single(dma_dev, virt_to_phys(domain->pgtable), LV1TABLE_SIZE, in exynos_iommu_domain_free()
827 phys_addr_t pagetable = virt_to_phys(domain->pgtable); in exynos_iommu_detach_device()
866 phys_addr_t pagetable = virt_to_phys(domain->pgtable); in exynos_iommu_attach_device()
921 exynos_iommu_set_pte(sent, mk_lv1ent_page(virt_to_phys(pent))); in alloc_lv2entry()
1010 dma_addr_t pent_base = virt_to_phys(pent); in lv2set_page()
1171 dma_sync_single_for_cpu(dma_dev, virt_to_phys(ent), in exynos_iommu_unmap()
[all …]
/linux/drivers/s390/cio/
A Dqdio_setup.c182 q->sl->element[j].sbal = virt_to_phys(q->sbal[j]); in setup_storage_lists()
294 desc->sliba = virt_to_phys(queue->slib); in qdio_fill_qdr_desc()
295 desc->sla = virt_to_phys(queue->sl); in qdio_fill_qdr_desc()
296 desc->slsba = virt_to_phys(&queue->slsb); in qdio_fill_qdr_desc()
318 irq_ptr->qdr->qiba = virt_to_phys(&irq_ptr->qib); in setup_qdr()
/linux/drivers/platform/x86/dell/
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/arm/mach-milbeaut/
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/hyperv/
A Dhv_core.c30 input_address = input ? virt_to_phys(input) : 0; in hv_do_hypercall()
31 output_address = output ? virt_to_phys(output) : 0; in hv_do_hypercall()

Completed in 34 milliseconds

12345678910>>...12