Lines Matching +defs:dev +defs:attrs
21 static void *dma_iommu_alloc_coherent(struct device *dev, size_t size, in dma_iommu_alloc_coherent()
23 unsigned long attrs) in dma_iommu_alloc_coherent()
30 static void dma_iommu_free_coherent(struct device *dev, size_t size, in dma_iommu_free_coherent()
32 unsigned long attrs) in dma_iommu_free_coherent()
42 static dma_addr_t dma_iommu_map_page(struct device *dev, struct page *page, in dma_iommu_map_page()
45 unsigned long attrs) in dma_iommu_map_page()
52 static void dma_iommu_unmap_page(struct device *dev, dma_addr_t dma_handle, in dma_iommu_unmap_page()
54 unsigned long attrs) in dma_iommu_unmap_page()
61 static int dma_iommu_map_sg(struct device *dev, struct scatterlist *sglist, in dma_iommu_map_sg()
63 unsigned long attrs) in dma_iommu_map_sg()
69 static void dma_iommu_unmap_sg(struct device *dev, struct scatterlist *sglist, in dma_iommu_unmap_sg()
71 unsigned long attrs) in dma_iommu_unmap_sg()
77 static bool dma_iommu_bypass_supported(struct device *dev, u64 mask) in dma_iommu_bypass_supported()
88 int dma_iommu_dma_supported(struct device *dev, u64 mask) in dma_iommu_dma_supported()
115 u64 dma_iommu_get_required_mask(struct device *dev) in dma_iommu_get_required_mask()