Lines Matching refs:dma_addr
72 dma_addr_t dma_addr) in xen_dma_to_phys() argument
74 return xen_bus_to_phys(dev, dma_to_phys(dev, dma_addr)); in xen_dma_to_phys()
98 dma_addr_t dma_addr) in xen_swiotlb_find_pool() argument
100 unsigned long bfn = XEN_PFN_DOWN(dma_to_phys(dev, dma_addr)); in xen_swiotlb_find_pool()
284 xen_swiotlb_sync_single_for_cpu(struct device *dev, dma_addr_t dma_addr, in xen_swiotlb_sync_single_for_cpu() argument
287 phys_addr_t paddr = xen_dma_to_phys(dev, dma_addr); in xen_swiotlb_sync_single_for_cpu()
291 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_cpu()
294 xen_dma_sync_for_cpu(dev, dma_addr, size, dir); in xen_swiotlb_sync_single_for_cpu()
297 pool = xen_swiotlb_find_pool(dev, dma_addr); in xen_swiotlb_sync_single_for_cpu()
303 xen_swiotlb_sync_single_for_device(struct device *dev, dma_addr_t dma_addr, in xen_swiotlb_sync_single_for_device() argument
306 phys_addr_t paddr = xen_dma_to_phys(dev, dma_addr); in xen_swiotlb_sync_single_for_device()
309 pool = xen_swiotlb_find_pool(dev, dma_addr); in xen_swiotlb_sync_single_for_device()
314 if (pfn_valid(PFN_DOWN(dma_to_phys(dev, dma_addr)))) in xen_swiotlb_sync_single_for_device()
317 xen_dma_sync_for_device(dev, dma_addr, size, dir); in xen_swiotlb_sync_single_for_device()