Lines Matching refs:handle
11 void __xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle,
15 dma_addr_t handle, size_t size, enum dma_data_direction dir);
18 dma_addr_t handle, size_t size, enum dma_data_direction dir);
49 static inline void xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, in xen_dma_unmap_page() argument
53 unsigned long pfn = PFN_DOWN(handle); in xen_dma_unmap_page()
60 __generic_dma_ops(hwdev)->unmap_page(hwdev, handle, size, dir, attrs); in xen_dma_unmap_page()
62 __xen_dma_unmap_page(hwdev, handle, size, dir, attrs); in xen_dma_unmap_page()
66 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_cpu() argument
68 unsigned long pfn = PFN_DOWN(handle); in xen_dma_sync_single_for_cpu()
71 __generic_dma_ops(hwdev)->sync_single_for_cpu(hwdev, handle, size, dir); in xen_dma_sync_single_for_cpu()
73 __xen_dma_sync_single_for_cpu(hwdev, handle, size, dir); in xen_dma_sync_single_for_cpu()
77 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_device() argument
79 unsigned long pfn = PFN_DOWN(handle); in xen_dma_sync_single_for_device()
82 __generic_dma_ops(hwdev)->sync_single_for_device(hwdev, handle, size, dir); in xen_dma_sync_single_for_device()
84 __xen_dma_sync_single_for_device(hwdev, handle, size, dir); in xen_dma_sync_single_for_device()