Lines Matching defs:bus
9 #include <linux/amba/bus.h>
292 const struct bus_type *bus,
295 bus_unregister_notifier(bus, nb);
301 * Register an iommu driver against a single bus. This is only used by iommufd
307 const struct bus_type *bus,
314 err = bus_register_notifier(bus, nb);
322 err = bus_iommu_probe(bus);
324 iommu_device_unregister_bus(iommu, bus, nb);
1404 if (tmp == pdev || tmp->bus != pdev->bus ||
1421 * aliases are only supported on the same bus, therefore the search
1442 if (tmp == pdev || tmp->bus != pdev->bus)
1515 * Use standard PCI bus topology, isolation features, and DMA alias quirks
1522 struct pci_bus *bus;
1546 for (bus = pdev->bus; !pci_is_root_bus(bus); bus = bus->parent) {
1547 if (!bus->self)
1550 if (pci_acs_path_enabled(bus->self, NULL, REQ_ACS_FLAGS))
1553 pdev = bus->self;
1582 /* Get the IOMMU group for device on fsl-mc bus */
1804 int bus_iommu_probe(const struct bus_type *bus)
1810 ret = bus_for_each_dev(bus, NULL, &group_list, probe_iommu_group);
1851 * @bus: bus to check
1855 * Return: true if some IOMMU is present and aware of devices on the given bus;
1859 bool iommu_present(const struct bus_type *bus)
1864 if (iommu_buses[i] == bus) {
2011 "Multiple IOMMU drivers present for bus %s, which the public IOMMU API can't fully support yet. You will still need to disable one or more for this to work, sorry!\n",
2019 struct iommu_domain *iommu_domain_alloc(const struct bus_type *bus)
2022 int err = bus_for_each_dev(bus, NULL, &ops, __iommu_domain_alloc_dev);