Lines Matching refs:hwdev
87 static void __xen_dma_page_dev_to_cpu(struct device *hwdev, dma_addr_t handle, in __xen_dma_page_dev_to_cpu() argument
93 static void __xen_dma_page_cpu_to_dev(struct device *hwdev, dma_addr_t handle, in __xen_dma_page_cpu_to_dev() argument
99 void __xen_dma_map_page(struct device *hwdev, struct page *page, in __xen_dma_map_page() argument
103 if (is_device_dma_coherent(hwdev)) in __xen_dma_map_page()
108 __xen_dma_page_cpu_to_dev(hwdev, dev_addr, size, dir); in __xen_dma_map_page()
111 void __xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, in __xen_dma_unmap_page() argument
116 if (is_device_dma_coherent(hwdev)) in __xen_dma_unmap_page()
121 __xen_dma_page_dev_to_cpu(hwdev, handle, size, dir); in __xen_dma_unmap_page()
124 void __xen_dma_sync_single_for_cpu(struct device *hwdev, in __xen_dma_sync_single_for_cpu() argument
127 if (is_device_dma_coherent(hwdev)) in __xen_dma_sync_single_for_cpu()
129 __xen_dma_page_dev_to_cpu(hwdev, handle, size, dir); in __xen_dma_sync_single_for_cpu()
132 void __xen_dma_sync_single_for_device(struct device *hwdev, in __xen_dma_sync_single_for_device() argument
135 if (is_device_dma_coherent(hwdev)) in __xen_dma_sync_single_for_device()
137 __xen_dma_page_cpu_to_dev(hwdev, handle, size, dir); in __xen_dma_sync_single_for_device()