Searched refs:iommu_buses (Results 1 – 1 of 1) sorted by relevance
112 static struct bus_type * const iommu_buses[] = { variable179 nb = kcalloc(ARRAY_SIZE(iommu_buses), sizeof(*nb), GFP_KERNEL); in iommu_subsys_init()183 for (int i = 0; i < ARRAY_SIZE(iommu_buses); i++) { in iommu_subsys_init()185 bus_register_notifier(iommu_buses[i], &nb[i]); in iommu_subsys_init()221 if (iommu_buses[0]->iommu_ops && iommu_buses[0]->iommu_ops != ops) in iommu_device_register()232 for (int i = 0; i < ARRAY_SIZE(iommu_buses) && !err; i++) { in iommu_device_register()233 iommu_buses[i]->iommu_ops = ops; in iommu_device_register()234 err = bus_iommu_probe(iommu_buses[i]); in iommu_device_register()244 for (int i = 0; i < ARRAY_SIZE(iommu_buses); i++) in iommu_device_unregister()245 bus_for_each_dev(iommu_buses[i], NULL, iommu, remove_iommu_group); in iommu_device_unregister()