Lines Matching refs:iommu_group

36 struct iommu_group;
238 struct iommu_group *(*device_group)(struct device *dev);
423 extern struct iommu_group *iommu_group_get_by_id(int id);
459 extern int iommu_get_group_resv_regions(struct iommu_group *group,
463 struct iommu_group *group);
465 struct iommu_group *group);
466 extern struct iommu_group *iommu_group_alloc(void);
467 extern void *iommu_group_get_iommudata(struct iommu_group *group);
468 extern void iommu_group_set_iommudata(struct iommu_group *group,
471 extern int iommu_group_set_name(struct iommu_group *group, const char *name);
472 extern int iommu_group_add_device(struct iommu_group *group,
475 extern int iommu_group_for_each_dev(struct iommu_group *group, void *data,
477 extern struct iommu_group *iommu_group_get(struct device *dev);
478 extern struct iommu_group *iommu_group_ref_get(struct iommu_group *group);
479 extern void iommu_group_put(struct iommu_group *group);
491 extern int iommu_group_id(struct iommu_group *group);
492 extern struct iommu_domain *iommu_group_default_domain(struct iommu_group *);
595 extern struct iommu_group *pci_device_group(struct device *dev);
597 extern struct iommu_group *generic_device_group(struct device *dev);
599 struct iommu_group *fsl_mc_device_group(struct device *dev);
675 int iommu_group_claim_dma_owner(struct iommu_group *group, void *owner);
676 void iommu_group_release_dma_owner(struct iommu_group *group);
677 bool iommu_group_dma_owner_claimed(struct iommu_group *group);
682 struct iommu_group {}; struct
703 static inline struct iommu_group *iommu_group_get_by_id(int id) in iommu_group_get_by_id()
797 static inline int iommu_get_group_resv_regions(struct iommu_group *group, in iommu_get_group_resv_regions()
817 struct iommu_group *group) in iommu_attach_group()
823 struct iommu_group *group) in iommu_detach_group()
827 static inline struct iommu_group *iommu_group_alloc(void) in iommu_group_alloc()
832 static inline void *iommu_group_get_iommudata(struct iommu_group *group) in iommu_group_get_iommudata()
837 static inline void iommu_group_set_iommudata(struct iommu_group *group, in iommu_group_set_iommudata()
843 static inline int iommu_group_set_name(struct iommu_group *group, in iommu_group_set_name()
849 static inline int iommu_group_add_device(struct iommu_group *group, in iommu_group_add_device()
859 static inline int iommu_group_for_each_dev(struct iommu_group *group, in iommu_group_for_each_dev()
866 static inline struct iommu_group *iommu_group_get(struct device *dev) in iommu_group_get()
871 static inline void iommu_group_put(struct iommu_group *group) in iommu_group_put()
900 static inline int iommu_group_id(struct iommu_group *group) in iommu_group_id()
1028 iommu_group_claim_dma_owner(struct iommu_group *group, void *owner) in iommu_group_claim_dma_owner()
1033 static inline void iommu_group_release_dma_owner(struct iommu_group *group) in iommu_group_release_dma_owner()
1037 static inline bool iommu_group_dma_owner_claimed(struct iommu_group *group) in iommu_group_dma_owner_claimed()