Lines Matching refs:device
139 static inline void set_iommu_table_base(struct device *dev, in set_iommu_table_base()
145 static inline void *get_iommu_table_base(struct device *dev) in get_iommu_table_base()
150 extern int dma_iommu_dma_supported(struct device *dev, u64 mask);
186 long (*take_ownership)(struct iommu_table_group *table_group, struct device *dev);
188 void (*release_ownership)(struct iommu_table_group *table_group, struct device *dev);
215 struct device *dev);
225 int dev_has_iommu_table(struct device *dev, void *data);
235 struct device *dev) in iommu_add_device()
240 static inline int dev_has_iommu_table(struct device *dev, void *data) in dev_has_iommu_table()
246 u64 dma_iommu_get_required_mask(struct device *dev);
249 static inline void *get_iommu_table_base(struct device *dev) in get_iommu_table_base()
254 static inline int dma_iommu_dma_supported(struct device *dev, u64 mask) in dma_iommu_dma_supported()
261 extern int ppc_iommu_map_sg(struct device *dev, struct iommu_table *tbl,
272 extern void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl,
277 extern dma_addr_t iommu_map_page(struct device *dev, struct iommu_table *tbl,