Lines Matching refs:iommu_group

35 struct iommu_group;
646 struct iommu_group *(*device_group)(struct device *dev);
759 struct iommu_group *singleton_group;
860 extern bool iommu_group_has_isolated_msi(struct iommu_group *group);
895 extern int iommu_get_group_resv_regions(struct iommu_group *group,
899 struct iommu_group *group);
901 struct iommu_group *group);
902 extern struct iommu_group *iommu_group_alloc(void);
903 extern void *iommu_group_get_iommudata(struct iommu_group *group);
904 extern void iommu_group_set_iommudata(struct iommu_group *group,
907 extern int iommu_group_set_name(struct iommu_group *group, const char *name);
908 extern int iommu_group_add_device(struct iommu_group *group,
911 extern int iommu_group_for_each_dev(struct iommu_group *group, void *data,
913 extern struct iommu_group *iommu_group_get(struct device *dev);
914 extern struct iommu_group *iommu_group_ref_get(struct iommu_group *group);
915 extern void iommu_group_put(struct iommu_group *group);
917 extern int iommu_group_id(struct iommu_group *group);
918 extern struct iommu_domain *iommu_group_default_domain(struct iommu_group *);
1042 extern struct iommu_group *pci_device_group(struct device *dev);
1044 extern struct iommu_group *generic_device_group(struct device *dev);
1046 struct iommu_group *fsl_mc_device_group(struct device *dev);
1047 extern struct iommu_group *generic_single_device_group(struct device *dev);
1132 int iommu_group_claim_dma_owner(struct iommu_group *group, void *owner);
1133 void iommu_group_release_dma_owner(struct iommu_group *group);
1134 bool iommu_group_dma_owner_claimed(struct iommu_group *group);
1149 struct iommu_group {}; struct
1248 static inline int iommu_get_group_resv_regions(struct iommu_group *group, in iommu_get_group_resv_regions()
1268 struct iommu_group *group) in iommu_attach_group()
1274 struct iommu_group *group) in iommu_detach_group()
1278 static inline struct iommu_group *iommu_group_alloc(void) in iommu_group_alloc()
1283 static inline void *iommu_group_get_iommudata(struct iommu_group *group) in iommu_group_get_iommudata()
1288 static inline void iommu_group_set_iommudata(struct iommu_group *group, in iommu_group_set_iommudata()
1294 static inline int iommu_group_set_name(struct iommu_group *group, in iommu_group_set_name()
1300 static inline int iommu_group_add_device(struct iommu_group *group, in iommu_group_add_device()
1310 static inline int iommu_group_for_each_dev(struct iommu_group *group, in iommu_group_for_each_dev()
1317 static inline struct iommu_group *iommu_group_get(struct device *dev) in iommu_group_get()
1322 static inline void iommu_group_put(struct iommu_group *group) in iommu_group_put()
1326 static inline int iommu_group_id(struct iommu_group *group) in iommu_group_id()
1440 iommu_group_claim_dma_owner(struct iommu_group *group, void *owner) in iommu_group_claim_dma_owner()
1445 static inline void iommu_group_release_dma_owner(struct iommu_group *group) in iommu_group_release_dma_owner()
1449 static inline bool iommu_group_dma_owner_claimed(struct iommu_group *group) in iommu_group_dma_owner_claimed()