Lines Matching full:buses
1190 * pci_scan_bridge_extend() - Scan buses behind a bridge
1193 * @max: Starting subordinate number of buses behind this bridge
1194 * @available_buses: Total number of buses available for this bridge and
1196 * been allocated the remaining buses will be
1207 * them, we proceed to assigning numbers to the remaining buses in
1210 * Return: New subordinate number covering all buses behind this bridge.
1218 u32 buses, i, j = 0; in pci_scan_bridge_extend() local
1232 pci_read_config_dword(dev, PCI_PRIMARY_BUS, &buses); in pci_scan_bridge_extend()
1233 primary = buses & 0xFF; in pci_scan_bridge_extend()
1234 secondary = (buses >> 8) & 0xFF; in pci_scan_bridge_extend()
1235 subordinate = (buses >> 16) & 0xFF; in pci_scan_bridge_extend()
1317 buses & ~0xffffff); in pci_scan_bridge_extend()
1348 buses = (buses & 0xff000000) in pci_scan_bridge_extend()
1358 buses &= ~0xff000000; in pci_scan_bridge_extend()
1359 buses |= CARDBUS_LATENCY_TIMER << 24; in pci_scan_bridge_extend()
1363 pci_write_config_dword(dev, PCI_PRIMARY_BUS, buses); in pci_scan_bridge_extend()
1439 * pci_scan_bridge() - Scan buses behind a bridge
1442 * @max: Starting subordinate number of buses behind this bridge
1452 * them, we proceed to assigning numbers to the remaining buses in
1455 * Return: New subordinate number covering all buses behind this bridge.
2799 * @available_buses: Total number of buses available (%0 does not try to
2802 * Scans devices below @bus including subordinate buses. Returns new
2837 /* Reserve buses for SR-IOV capability */ in pci_scan_child_bus_extend()
2854 * buses between hotplug bridges. in pci_scan_child_bus_extend()
2883 unsigned int buses = 0; in pci_scan_child_bus_extend() local
2889 * port) so it gets all available buses which it in pci_scan_child_bus_extend()
2893 buses = available_buses; in pci_scan_child_bus_extend()
2897 * Distribute the extra buses between hotplug in pci_scan_child_bus_extend()
2900 buses = available_buses / hotplug_bridges; in pci_scan_child_bus_extend()
2901 buses = min(buses, available_buses - used_buses + 1); in pci_scan_child_bus_extend()
2905 max = pci_scan_bridge_extend(bus, dev, cmax, buses, 1); in pci_scan_child_bus_extend()
2913 * number of buses but allow it to grow up to the maximum available in pci_scan_child_bus_extend()
2922 /* Do not allocate more buses than we have room left */ in pci_scan_child_bus_extend()
2936 * Return how far we've got finding sub-buses. in pci_scan_child_bus_extend()
2946 * Scans devices below @bus including subordinate buses. Returns new
3195 * Scan a PCI bus and child buses for new devices, add them,
3220 * Scan a PCI bus and child buses for new devices, add them,