Lines Matching refs:device
17 bool arch_dma_map_page_direct(struct device *dev, phys_addr_t addr) in arch_dma_map_page_direct()
27 bool arch_dma_unmap_page_direct(struct device *dev, dma_addr_t dma_handle) in arch_dma_unmap_page_direct()
35 bool arch_dma_map_sg_direct(struct device *dev, struct scatterlist *sg, in arch_dma_map_sg_direct()
52 bool arch_dma_unmap_sg_direct(struct device *dev, struct scatterlist *sg, in arch_dma_unmap_sg_direct()
78 static void *dma_iommu_alloc_coherent(struct device *dev, size_t size, in dma_iommu_alloc_coherent()
87 static void dma_iommu_free_coherent(struct device *dev, size_t size, in dma_iommu_free_coherent()
99 static dma_addr_t dma_iommu_map_page(struct device *dev, struct page *page, in dma_iommu_map_page()
109 static void dma_iommu_unmap_page(struct device *dev, dma_addr_t dma_handle, in dma_iommu_unmap_page()
118 static int dma_iommu_map_sg(struct device *dev, struct scatterlist *sglist, in dma_iommu_map_sg()
126 static void dma_iommu_unmap_sg(struct device *dev, struct scatterlist *sglist, in dma_iommu_unmap_sg()
134 static bool dma_iommu_bypass_supported(struct device *dev, u64 mask) in dma_iommu_bypass_supported()
145 int dma_iommu_dma_supported(struct device *dev, u64 mask) in dma_iommu_dma_supported()
184 u64 dma_iommu_get_required_mask(struct device *dev) in dma_iommu_get_required_mask()