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);
60 static inline void xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, in xen_dma_unmap_page() argument
64 unsigned long pfn = PFN_DOWN(handle); in xen_dma_unmap_page()
75 __generic_dma_ops(hwdev)->unmap_page(hwdev, handle, size, dir, attrs); in xen_dma_unmap_page()
77 __xen_dma_unmap_page(hwdev, handle, size, dir, attrs); in xen_dma_unmap_page()
81 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_cpu() argument
83 unsigned long pfn = PFN_DOWN(handle); in xen_dma_sync_single_for_cpu()
86 __generic_dma_ops(hwdev)->sync_single_for_cpu(hwdev, handle, size, dir); in xen_dma_sync_single_for_cpu()
88 __xen_dma_sync_single_for_cpu(hwdev, handle, size, dir); in xen_dma_sync_single_for_cpu()
92 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_device() argument
94 unsigned long pfn = PFN_DOWN(handle); in xen_dma_sync_single_for_device()
97 __generic_dma_ops(hwdev)->sync_single_for_device(hwdev, handle, size, dir); in xen_dma_sync_single_for_device()
99 __xen_dma_sync_single_for_device(hwdev, handle, size, dir); in xen_dma_sync_single_for_device()