Lines Matching defs:bus
38 * a PCI bus created. If an error occurs the zPCI function is not enabled.
61 pci_bus_add_resource(zdev->zbus->bus, zdev->bars[i].res, 0);
84 pdev = pci_scan_single_device(zdev->zbus->bus, zdev->devfn);
101 * API but is removed from the common code PCI bus, making it
109 if (!zdev->zbus->bus)
112 pdev = pci_get_slot(zbus->bus, zdev->devfn);
128 /* zpci_bus_scan_bus - Scan all configured zPCI functions on the bus
131 * Enables and scans all PCI functions on the bus making them available to the
133 * returned but attempts will still be made for all other functions on the bus.
152 pci_scan_child_bus(zbus->bus);
153 pci_bus_add_devices(zbus->bus);
176 /* zpci_bus_create_pci_bus - Create the PCI bus associated with this zbus
178 * @fr: PCI root function that will determine the bus's domain, and bus speeed
182 * and maximum bus speed of the entire bus.
188 struct pci_bus *bus;
203 bus = pci_create_root_bus(NULL, ZPCI_BUS_NR, ops, zbus, &zbus->resources);
204 if (!bus) {
209 zbus->bus = bus;
218 if (zbus->bus) {
220 pci_stop_root_bus(zbus->bus);
225 pci_remove_root_bus(zbus->bus);
350 if (!zbus->bus) {
352 * is used as the domain number for that bus. Currently there