Lines Matching +defs:dev +defs:attrs

47 static inline phys_addr_t xen_phys_to_bus(struct device *dev, phys_addr_t paddr)  in xen_phys_to_bus()
56 static inline dma_addr_t xen_phys_to_dma(struct device *dev, phys_addr_t paddr) in xen_phys_to_dma()
61 static inline phys_addr_t xen_bus_to_phys(struct device *dev, in xen_bus_to_phys()
71 static inline phys_addr_t xen_dma_to_phys(struct device *dev, in xen_dma_to_phys()
91 static int is_xen_swiotlb_buffer(struct device *dev, dma_addr_t dma_addr) in is_xen_swiotlb_buffer()
134 xen_swiotlb_alloc_coherent(struct device *dev, size_t size, in xen_swiotlb_alloc_coherent()
135 dma_addr_t *dma_handle, gfp_t flags, unsigned long attrs) in xen_swiotlb_alloc_coherent()
168 xen_swiotlb_free_coherent(struct device *dev, size_t size, void *vaddr, in xen_swiotlb_free_coherent()
169 dma_addr_t dma_handle, unsigned long attrs) in xen_swiotlb_free_coherent()
194 static dma_addr_t xen_swiotlb_map_page(struct device *dev, struct page *page, in xen_swiotlb_map_page()
197 unsigned long attrs) in xen_swiotlb_map_page()
254 size_t size, enum dma_data_direction dir, unsigned long attrs) in xen_swiotlb_unmap_page()
273 xen_swiotlb_sync_single_for_cpu(struct device *dev, dma_addr_t dma_addr, in xen_swiotlb_sync_single_for_cpu()
290 xen_swiotlb_sync_single_for_device(struct device *dev, dma_addr_t dma_addr, in xen_swiotlb_sync_single_for_device()
312 enum dma_data_direction dir, unsigned long attrs) in xen_swiotlb_unmap_sg()
326 xen_swiotlb_map_sg(struct device *dev, struct scatterlist *sgl, int nelems, in xen_swiotlb_map_sg()
327 enum dma_data_direction dir, unsigned long attrs) in xen_swiotlb_map_sg()
350 xen_swiotlb_sync_sg_for_cpu(struct device *dev, struct scatterlist *sgl, in xen_swiotlb_sync_sg_for_cpu()
363 xen_swiotlb_sync_sg_for_device(struct device *dev, struct scatterlist *sgl, in xen_swiotlb_sync_sg_for_device()