Home
last modified time | relevance | path

Searched refs:iommu_buses (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/iommu/
Diommu.c149 static const struct bus_type * const iommu_buses[] = { variable
221 nb = kcalloc(ARRAY_SIZE(iommu_buses), sizeof(*nb), GFP_KERNEL); in iommu_subsys_init()
225 for (int i = 0; i < ARRAY_SIZE(iommu_buses); i++) { in iommu_subsys_init()
227 bus_register_notifier(iommu_buses[i], &nb[i]); in iommu_subsys_init()
267 for (int i = 0; i < ARRAY_SIZE(iommu_buses) && !err; i++) in iommu_device_register()
268 err = bus_iommu_probe(iommu_buses[i]); in iommu_device_register()
277 for (int i = 0; i < ARRAY_SIZE(iommu_buses); i++) in iommu_device_unregister()
278 bus_for_each_dev(iommu_buses[i], NULL, iommu, remove_iommu_group); in iommu_device_unregister()
1857 for (int i = 0; i < ARRAY_SIZE(iommu_buses); i++) { in iommu_present()
1858 if (iommu_buses[i] == bus) { in iommu_present()