Home
last modified time | relevance | path

Searched refs:xen_get_dma_ops (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/include/xen/arm/
Dpage-coherent.h9 static inline const struct dma_map_ops *xen_get_dma_ops(struct device *dev) in xen_get_dma_ops() function
31 return xen_get_dma_ops(hwdev)->alloc(hwdev, size, dma_handle, flags, attrs); in xen_alloc_coherent_pages()
37 xen_get_dma_ops(hwdev)->free(hwdev, size, cpu_addr, dma_handle, attrs); in xen_free_coherent_pages()
61 xen_get_dma_ops(hwdev)->map_page(hwdev, page, offset, size, dir, attrs); in xen_dma_map_page()
79 if (xen_get_dma_ops(hwdev)->unmap_page) in xen_dma_unmap_page()
80 xen_get_dma_ops(hwdev)->unmap_page(hwdev, handle, size, dir, attrs); in xen_dma_unmap_page()
90 if (xen_get_dma_ops(hwdev)->sync_single_for_cpu) in xen_dma_sync_single_for_cpu()
91 xen_get_dma_ops(hwdev)->sync_single_for_cpu(hwdev, handle, size, dir); in xen_dma_sync_single_for_cpu()
101 if (xen_get_dma_ops(hwdev)->sync_single_for_device) in xen_dma_sync_single_for_device()
102 xen_get_dma_ops(hwdev)->sync_single_for_device(hwdev, handle, size, dir); in xen_dma_sync_single_for_device()
/Linux-v4.19/drivers/xen/
Dswiotlb-xen.c661 if (xen_get_dma_ops(dev)->mmap) in xen_swiotlb_dma_mmap()
662 return xen_get_dma_ops(dev)->mmap(dev, vma, cpu_addr, in xen_swiotlb_dma_mmap()
678 if (xen_get_dma_ops(dev)->get_sgtable) { in xen_swiotlb_get_sgtable()
688 return xen_get_dma_ops(dev)->get_sgtable(dev, sgt, cpu_addr, in xen_swiotlb_get_sgtable()