• Home
  • Raw
  • Download

Lines Matching refs:iommu_group

36 struct iommu_group {  struct
59 ssize_t (*show)(struct iommu_group *group, char *buf); argument
60 ssize_t (*store)(struct iommu_group *group,
84 static int iommu_alloc_default_domain(struct iommu_group *group,
91 struct iommu_group *group);
93 struct iommu_group *group);
94 static int iommu_create_device_direct_mappings(struct iommu_group *group,
96 static struct iommu_group *iommu_group_get_for_dev(struct device *dev);
105 container_of(_kobj, struct iommu_group, kobj)
203 struct iommu_group *group; in __iommu_probe_device()
270 struct iommu_group *group; in iommu_probe_device()
361 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_show()
374 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_attr_store()
387 static int iommu_group_create_file(struct iommu_group *group, in iommu_group_create_file()
393 static void iommu_group_remove_file(struct iommu_group *group, in iommu_group_remove_file()
399 static ssize_t iommu_group_show_name(struct iommu_group *group, char *buf) in iommu_group_show_name()
480 int iommu_get_group_resv_regions(struct iommu_group *group, in iommu_get_group_resv_regions()
502 static ssize_t iommu_group_show_resv_regions(struct iommu_group *group, in iommu_group_show_resv_regions()
524 static ssize_t iommu_group_show_type(struct iommu_group *group, in iommu_group_show_type()
559 struct iommu_group *group = to_iommu_group(kobj); in iommu_group_release()
591 struct iommu_group *iommu_group_alloc(void) in iommu_group_alloc()
593 struct iommu_group *group; in iommu_group_alloc()
649 struct iommu_group *iommu_group_get_by_id(int id) in iommu_group_get_by_id()
652 struct iommu_group *group; in iommu_group_get_by_id()
668 group = container_of(group_kobj, struct iommu_group, kobj); in iommu_group_get_by_id()
686 void *iommu_group_get_iommudata(struct iommu_group *group) in iommu_group_get_iommudata()
702 void iommu_group_set_iommudata(struct iommu_group *group, void *iommu_data, in iommu_group_set_iommudata()
718 int iommu_group_set_name(struct iommu_group *group, const char *name) in iommu_group_set_name()
745 static int iommu_create_device_direct_mappings(struct iommu_group *group, in iommu_create_device_direct_mappings()
817 int iommu_group_add_device(struct iommu_group *group, struct device *dev) in iommu_group_add_device()
857 dev->iommu_group = group; in iommu_group_add_device()
881 dev->iommu_group = NULL; in iommu_group_add_device()
904 struct iommu_group *group = dev->iommu_group; in iommu_group_remove_device()
936 dev->iommu_group = NULL; in iommu_group_remove_device()
941 static int iommu_group_device_count(struct iommu_group *group) in iommu_group_device_count()
963 static int __iommu_group_for_each_dev(struct iommu_group *group, void *data, in __iommu_group_for_each_dev()
978 int iommu_group_for_each_dev(struct iommu_group *group, void *data, in iommu_group_for_each_dev()
999 struct iommu_group *iommu_group_get(struct device *dev) in iommu_group_get()
1001 struct iommu_group *group = dev->iommu_group; in iommu_group_get()
1017 struct iommu_group *iommu_group_ref_get(struct iommu_group *group) in iommu_group_ref_get()
1031 void iommu_group_put(struct iommu_group *group) in iommu_group_put()
1047 int iommu_group_register_notifier(struct iommu_group *group, in iommu_group_register_notifier()
1061 int iommu_group_unregister_notifier(struct iommu_group *group, in iommu_group_unregister_notifier()
1285 int iommu_group_id(struct iommu_group *group) in iommu_group_id()
1291 static struct iommu_group *get_pci_alias_group(struct pci_dev *pdev,
1310 static struct iommu_group *get_pci_function_alias_group(struct pci_dev *pdev, in get_pci_function_alias_group()
1314 struct iommu_group *group; in get_pci_function_alias_group()
1344 static struct iommu_group *get_pci_alias_group(struct pci_dev *pdev, in get_pci_alias_group()
1348 struct iommu_group *group; in get_pci_alias_group()
1382 struct iommu_group *group;
1403 struct iommu_group *generic_device_group(struct device *dev) in generic_device_group()
1413 struct iommu_group *pci_device_group(struct device *dev) in pci_device_group()
1418 struct iommu_group *group = NULL; in pci_device_group()
1478 struct iommu_group *fsl_mc_device_group(struct device *dev) in fsl_mc_device_group()
1481 struct iommu_group *group; in fsl_mc_device_group()
1502 struct iommu_group *group, in iommu_group_alloc_default_domain()
1532 static int iommu_alloc_default_domain(struct iommu_group *group, in iommu_alloc_default_domain()
1555 static struct iommu_group *iommu_group_get_for_dev(struct device *dev) in iommu_group_get_for_dev()
1558 struct iommu_group *group; in iommu_group_get_for_dev()
1587 struct iommu_domain *iommu_group_default_domain(struct iommu_group *group) in iommu_group_default_domain()
1595 struct iommu_group *group; in probe_iommu_group()
1624 struct iommu_group *group; in iommu_bus_notifier()
1704 struct iommu_group *group) in probe_alloc_default_domain()
1732 static int __iommu_group_dma_attach(struct iommu_group *group) in __iommu_group_dma_attach()
1748 static void __iommu_group_dma_finalize(struct iommu_group *group) in __iommu_group_dma_finalize()
1756 struct iommu_group *group = data; in iommu_do_create_direct_mappings()
1763 static int iommu_group_create_direct_mappings(struct iommu_group *group) in iommu_group_create_direct_mappings()
1771 struct iommu_group *group, *next; in bus_iommu_probe()
1968 struct iommu_group *group; in iommu_attach_device()
2219 struct iommu_group *group; in iommu_detach_device()
2242 struct iommu_group *group; in iommu_get_domain_for_dev()
2262 return dev->iommu_group->default_domain; in iommu_get_dma_domain()
2283 struct iommu_group *group) in __iommu_attach_group()
2298 int iommu_attach_group(struct iommu_domain *domain, struct iommu_group *group) in iommu_attach_group()
2320 struct iommu_group *group) in __iommu_detach_group()
2343 void iommu_detach_group(struct iommu_domain *domain, struct iommu_group *group) in iommu_detach_group()
3082 struct iommu_group *group; in iommu_sva_bind_device()
3127 struct iommu_group *group; in iommu_sva_unbind_device()