Lines Matching defs:group
75 #define for_each_group_device(group, pos) \ argument
117 static int __iommu_group_set_domain(struct iommu_group *group, in __iommu_group_set_domain()
122 static void __iommu_group_set_domain_nofail(struct iommu_group *group, in __iommu_group_set_domain_nofail()
391 struct iommu_group *group; in iommu_init_device() local
441 struct iommu_group *group = dev->iommu_group; in iommu_deinit_device() local
487 struct iommu_group *group; in __iommu_probe_device() local
579 static void __iommu_group_free_device(struct iommu_group *group, in __iommu_group_free_device()
605 struct iommu_group *group = dev->iommu_group; in __iommu_group_remove_device() local
632 struct iommu_group *group = dev->iommu_group; in iommu_release_device() local
681 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_show() local
694 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_store() local
707 static int iommu_group_create_file(struct iommu_group *group, in iommu_group_create_file()
713 static void iommu_group_remove_file(struct iommu_group *group, in iommu_group_remove_file()
719 static ssize_t iommu_group_show_name(struct iommu_group *group, char *buf) in iommu_group_show_name()
800 int iommu_get_group_resv_regions(struct iommu_group *group, in iommu_get_group_resv_regions()
829 static ssize_t iommu_group_show_resv_regions(struct iommu_group *group, in iommu_group_show_resv_regions()
851 static ssize_t iommu_group_show_type(struct iommu_group *group, in iommu_group_show_type()
891 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_release() local
926 struct iommu_group *group; in iommu_group_alloc() local
993 void *iommu_group_get_iommudata(struct iommu_group *group) in iommu_group_get_iommudata()
1009 void iommu_group_set_iommudata(struct iommu_group *group, void *iommu_data, in iommu_group_set_iommudata()
1025 int iommu_group_set_name(struct iommu_group *group, const char *name) in iommu_group_set_name()
1119 static struct group_device *iommu_group_alloc_device(struct iommu_group *group, in iommu_group_alloc_device()
1182 int iommu_group_add_device(struct iommu_group *group, struct device *dev) in iommu_group_add_device()
1209 struct iommu_group *group = dev->iommu_group; in iommu_group_remove_device() local
1231 int iommu_group_for_each_dev(struct iommu_group *group, void *data, in iommu_group_for_each_dev()
1259 struct iommu_group *group = dev->iommu_group; in iommu_group_get() local
1275 struct iommu_group *iommu_group_ref_get(struct iommu_group *group) in iommu_group_ref_get()
1289 void iommu_group_put(struct iommu_group *group) in iommu_group_put()
1513 int iommu_group_id(struct iommu_group *group) in iommu_group_id()
1542 struct iommu_group *group; in get_pci_function_alias_group() local
1576 struct iommu_group *group; in get_pci_alias_group() local
1610 struct iommu_group *group; member
1646 struct iommu_group *group = NULL; in pci_device_group() local
1709 struct iommu_group *group; in fsl_mc_device_group() local
1733 struct iommu_group *group, int req_type) in __iommu_group_alloc_default_domain()
1745 iommu_group_alloc_default_domain(struct iommu_group *group, int req_type) in iommu_group_alloc_default_domain()
1774 struct iommu_domain *iommu_group_default_domain(struct iommu_group *group) in iommu_group_default_domain()
1812 static int iommu_get_default_domain_type(struct iommu_group *group, in iommu_get_default_domain_type()
1857 struct iommu_group *group, *next; in bus_iommu_probe() local
1937 bool iommu_group_has_isolated_msi(struct iommu_group *group) in iommu_group_has_isolated_msi()
2023 static void __iommu_group_set_core_domain(struct iommu_group *group) in __iommu_group_set_core_domain()
2065 struct iommu_group *group; in iommu_attach_device() local
2101 struct iommu_group *group; in iommu_detach_device() local
2122 struct iommu_group *group; in iommu_get_domain_for_dev() local
2146 struct iommu_group *group) in __iommu_attach_group()
2167 int iommu_attach_group(struct iommu_domain *domain, struct iommu_group *group) in iommu_attach_group()
2190 int iommu_group_replace_domain(struct iommu_group *group, in iommu_group_replace_domain()
2205 static int __iommu_device_set_domain(struct iommu_group *group, in __iommu_device_set_domain()
2264 static int __iommu_group_set_domain_internal(struct iommu_group *group, in __iommu_group_set_domain_internal()
2347 void iommu_detach_group(struct iommu_domain *domain, struct iommu_group *group) in iommu_detach_group()
2944 static int iommu_setup_default_domain(struct iommu_group *group, in iommu_setup_default_domain()
3053 static ssize_t iommu_group_store_type(struct iommu_group *group, in iommu_group_store_type()
3117 static bool iommu_is_default_domain(struct iommu_group *group) in iommu_is_default_domain()
3145 struct iommu_group *group = iommu_group_get(dev); in iommu_device_use_default_domain() local
3179 struct iommu_group *group = iommu_group_get(dev); in iommu_device_unuse_default_domain() local
3192 static int __iommu_group_alloc_blocking_domain(struct iommu_group *group) in __iommu_group_alloc_blocking_domain()
3215 static int __iommu_take_dma_ownership(struct iommu_group *group, void *owner) in __iommu_take_dma_ownership()
3244 int iommu_group_claim_dma_owner(struct iommu_group *group, void *owner) in iommu_group_claim_dma_owner()
3276 struct iommu_group *group; in iommu_device_claim_dma_owner() local
3305 static void __iommu_release_dma_ownership(struct iommu_group *group) in __iommu_release_dma_ownership()
3322 void iommu_group_release_dma_owner(struct iommu_group *group) in iommu_group_release_dma_owner()
3338 struct iommu_group *group = iommu_group_get(dev); in iommu_device_release_dma_owner() local
3357 bool iommu_group_dma_owner_claimed(struct iommu_group *group) in iommu_group_dma_owner_claimed()
3370 struct iommu_group *group, ioasid_t pasid) in __iommu_set_group_pasid()
3395 static void __iommu_remove_group_pasid(struct iommu_group *group, in __iommu_remove_group_pasid()
3418 struct iommu_group *group; in iommu_attach_device_pasid() local
3459 struct iommu_group *group = iommu_group_get(dev); in iommu_detach_device_pasid() local
3489 struct iommu_group *group; in iommu_get_domain_for_dev_pasid() local