Lines Matching refs:iommu_group
36 struct iommu_group;
262 struct iommu_group *(*device_group)(struct device *dev);
461 extern bool iommu_group_has_isolated_msi(struct iommu_group *group);
463 extern struct iommu_group *iommu_group_get_by_id(int id);
495 extern int iommu_get_group_resv_regions(struct iommu_group *group,
499 struct iommu_group *group);
501 struct iommu_group *group);
502 extern struct iommu_group *iommu_group_alloc(void);
503 extern void *iommu_group_get_iommudata(struct iommu_group *group);
504 extern void iommu_group_set_iommudata(struct iommu_group *group,
507 extern int iommu_group_set_name(struct iommu_group *group, const char *name);
508 extern int iommu_group_add_device(struct iommu_group *group,
511 extern int iommu_group_for_each_dev(struct iommu_group *group, void *data,
513 extern struct iommu_group *iommu_group_get(struct device *dev);
514 extern struct iommu_group *iommu_group_ref_get(struct iommu_group *group);
515 extern void iommu_group_put(struct iommu_group *group);
527 extern int iommu_group_id(struct iommu_group *group);
528 extern struct iommu_domain *iommu_group_default_domain(struct iommu_group *);
631 extern struct iommu_group *pci_device_group(struct device *dev);
633 extern struct iommu_group *generic_device_group(struct device *dev);
635 struct iommu_group *fsl_mc_device_group(struct device *dev);
710 int iommu_group_claim_dma_owner(struct iommu_group *group, void *owner);
711 void iommu_group_release_dma_owner(struct iommu_group *group);
712 bool iommu_group_dma_owner_claimed(struct iommu_group *group);
729 struct iommu_group {}; struct
750 static inline struct iommu_group *iommu_group_get_by_id(int id) in iommu_group_get_by_id()
830 static inline int iommu_get_group_resv_regions(struct iommu_group *group, in iommu_get_group_resv_regions()
850 struct iommu_group *group) in iommu_attach_group()
856 struct iommu_group *group) in iommu_detach_group()
860 static inline struct iommu_group *iommu_group_alloc(void) in iommu_group_alloc()
865 static inline void *iommu_group_get_iommudata(struct iommu_group *group) in iommu_group_get_iommudata()
870 static inline void iommu_group_set_iommudata(struct iommu_group *group, in iommu_group_set_iommudata()
876 static inline int iommu_group_set_name(struct iommu_group *group, in iommu_group_set_name()
882 static inline int iommu_group_add_device(struct iommu_group *group, in iommu_group_add_device()
892 static inline int iommu_group_for_each_dev(struct iommu_group *group, in iommu_group_for_each_dev()
899 static inline struct iommu_group *iommu_group_get(struct device *dev) in iommu_group_get()
904 static inline void iommu_group_put(struct iommu_group *group) in iommu_group_put()
933 static inline int iommu_group_id(struct iommu_group *group) in iommu_group_id()
1046 iommu_group_claim_dma_owner(struct iommu_group *group, void *owner) in iommu_group_claim_dma_owner()
1051 static inline void iommu_group_release_dma_owner(struct iommu_group *group) in iommu_group_release_dma_owner()
1055 static inline bool iommu_group_dma_owner_claimed(struct iommu_group *group) in iommu_group_dma_owner_claimed()