Home
last modified time | relevance | path

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

12

/linux-4.19.296/lib/
Dtest_debug_virtual.c27 pa = virt_to_phys(va); in test_debug_virtual_init()
35 pa = virt_to_phys(foo); in test_debug_virtual_init()
/linux-4.19.296/drivers/virt/
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-4.19.296/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()
Dsba_iommu.c575 pa = virt_to_phys(vba); in sba_io_pdir_entry()
1183 if (((virt_to_phys(pdir_base)+pdir_size-1) & PIRANHA_ADDR_MASK) == PIRANHA_ADDR_VAL) { in sba_alloc_pdir()
1333 WRITE_REG(virt_to_phys(ioc->pdir_base), ioc->ioc_hpa + IOC_PDIR_BASE); in sba_ioc_init_pluto()
1465 WRITE_REG64(virt_to_phys(ioc->pdir_base), ioc->ioc_hpa + IOC_PDIR_BASE); in sba_ioc_init()
/linux-4.19.296/drivers/s390/char/
Ddiag_ftp.c115 : [cmd] "0" (cmd), [addr] "d" (virt_to_phys(fpl)), in diag_ftp_2c4()
171 ldfpl->bufaddr = virt_to_phys(ftp->buf); in diag_ftp_cmd()
Dsclp_ftp.c115 sccb->evbuf.mdd.ftp.bufaddr = virt_to_phys(ftp->buf); in sclp_ftp_et7()
/linux-4.19.296/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.19.296/drivers/s390/cio/
Dqdio_thinint.c221 summary_indicator_addr = virt_to_phys(tiqdio_airq.lsi_ptr); in set_subchannel_ind()
222 subchannel_indicator_addr = virt_to_phys(irq_ptr->dsci); in set_subchannel_ind()
Dvfio_ccw_cp.c543 ccw->cda = (__u32) virt_to_phys(idaws); in ccwchain_fetch_direct()
597 ccw->cda = virt_to_phys(idaws); in ccwchain_fetch_idal()
/linux-4.19.296/drivers/xen/
Dswiotlb-xen.c94 return xen_phys_to_bus(virt_to_phys(address)); in xen_virt_to_bus()
138 return paddr >= virt_to_phys(xen_io_tlb_start) && in is_xen_swiotlb_buffer()
139 paddr < virt_to_phys(xen_io_tlb_end); in is_xen_swiotlb_buffer()
152 phys_addr_t p = virt_to_phys(buf); in xen_swiotlb_fixup()
/linux-4.19.296/include/xen/arm/
Dpage.h79 #define virt_to_gfn(v) (pfn_to_gfn(virt_to_phys(v) >> XEN_PAGE_SHIFT))
/linux-4.19.296/drivers/misc/cxl/
Dhcalls.c142 CXL_H_WAIT_UNTIL_DONE(rc, retbuf, H_ATTACH_CA_PROCESS, unit_address, virt_to_phys(element)); in cxl_h_attach_process()
144 unit_address, virt_to_phys(element), rc); in cxl_h_attach_process()
145 trace_cxl_hcall_attach(unit_address, virt_to_phys(element), retbuf[0], retbuf[1], retbuf[2], rc); in cxl_h_attach_process()
Dguest.c108 le[i].phys_addr = cpu_to_be64(virt_to_phys(vpd_buf[i])); in guest_collect_vpd()
116 virt_to_phys(le), entries, &out); in guest_collect_vpd()
119 virt_to_phys(le), entries, &out); in guest_collect_vpd()
433 virt_to_phys((void *)cr), sz); in _guest_afu_cr_readXX()
690 virt_to_phys(tbuf), in guest_afu_read_err_buffer()
Dflash.c298 le[i].phys_addr = cpu_to_be64(virt_to_phys(buffer[i])); in handle_image()
311 rc = fct(adapter->guest->handle, virt_to_phys(le), entries, in handle_image()
Dcxllib.c75 dummy_read_addr = virt_to_phys((void *) vaddr); in allocate_dummy_read_buf()
/linux-4.19.296/drivers/char/hw_random/
Domap3-rom-rng.c71 ptr = virt_to_phys(buf); in omap3_rom_rng_get_random()
/linux-4.19.296/include/asm-generic/
Dio.h913 #ifndef virt_to_phys
914 #define virt_to_phys virt_to_phys macro
915 static inline unsigned long virt_to_phys(volatile void *address) in virt_to_phys() function
/linux-4.19.296/drivers/char/agp/
Dsworks-agp.c159 writel(virt_to_phys(serverworks_private.scratch_dir.real) | 1, page_dir.remapped+i); in serverworks_create_gatt_table()
171 agp_bridge->gatt_bus_addr = virt_to_phys(page_dir.real); in serverworks_create_gatt_table()
183 writel(virt_to_phys(serverworks_private.gatt_pages[i]->real)|1, page_dir.remapped+i); in serverworks_create_gatt_table()
Dati-agp.c366 agp_bridge->gatt_bus_addr = virt_to_phys(page_dir.real); in ati_create_gatt_table()
395 writel(virt_to_phys(ati_generic_private.gatt_pages[i]->real) | 1, in ati_create_gatt_table()
Damd-k7-agp.c146 agp_bridge->gatt_bus_addr = virt_to_phys(page_dir.real); in amd_create_gatt_table()
158 writel(virt_to_phys(amd_irongate_private.gatt_pages[i]->real) | 1, in amd_create_gatt_table()
Damd64-agp.c181 unsigned long gatt_bus = virt_to_phys(agp_bridge->gatt_table_real); in amd_8151_configure()
582 release_mem_region(virt_to_phys(bridge->gatt_table_real), in agp_amd64_remove()
/linux-4.19.296/drivers/s390/net/
Dctcm_mpc.c1721 ch->ccw[9].cda = virt_to_phys(ch->xid_th); in mpc_action_side_xid()
1728 ch->ccw[10].cda = virt_to_phys(ch->xid); in mpc_action_side_xid()
1733 ch->ccw[11].cda = virt_to_phys(ch->rcvd_xid_th); in mpc_action_side_xid()
1738 ch->ccw[12].cda = virt_to_phys(ch->rcvd_xid); in mpc_action_side_xid()
1741 ch->ccw[13].cda = virt_to_phys(ch->rcvd_xid_id); in mpc_action_side_xid()
1747 ch->ccw[9].cda = virt_to_phys(ch->rcvd_xid_th); in mpc_action_side_xid()
1752 ch->ccw[10].cda = virt_to_phys(ch->rcvd_xid); in mpc_action_side_xid()
1759 ch->ccw[11].cda = virt_to_phys(ch->xid_th); in mpc_action_side_xid()
1766 ch->ccw[12].cda = virt_to_phys(ch->xid); in mpc_action_side_xid()
1771 ch->ccw[13].cda = virt_to_phys(ch->xid_id); in mpc_action_side_xid()
/linux-4.19.296/drivers/pci/controller/
Dpcie-xilinx.c287 msg_addr = virt_to_phys((void *)port->msi_pages); in xilinx_pcie_msi_setup_irq()
347 msg_addr = virt_to_phys((void *)port->msi_pages); in xilinx_pcie_enable_msi()
/linux-4.19.296/drivers/cpufreq/
Dspeedstep-smi.c71 magic = virt_to_phys(magic_data); in speedstep_smi_ownership()
/linux-4.19.296/drivers/virt/vboxguest/
Dvboxguest_utils.c97 unsigned long phys_req = virt_to_phys(req); in vbg_req_perform()
437 gdev->cancel_req->phys_req_to_cancel = virt_to_phys(call); in hgcm_cancel_call()

12