Lines Matching full:buses

1231  * pci_scan_bridge_extend() - Scan buses behind a bridge
1234 * @max: Starting subordinate number of buses behind this bridge
1235 * @available_buses: Total number of buses available for this bridge and
1237 * been allocated the remaining buses will be
1248 * them, we proceed to assigning numbers to the remaining buses in
1251 * Return: New subordinate number covering all buses behind this bridge.
1259 u32 buses, i, j = 0; in pci_scan_bridge_extend() local
1273 pci_read_config_dword(dev, PCI_PRIMARY_BUS, &buses); in pci_scan_bridge_extend()
1274 primary = buses & 0xFF; in pci_scan_bridge_extend()
1275 secondary = (buses >> 8) & 0xFF; in pci_scan_bridge_extend()
1276 subordinate = (buses >> 16) & 0xFF; in pci_scan_bridge_extend()
1307 unsigned int cmax, buses; in pci_scan_bridge_extend() local
1332 buses = subordinate - secondary; in pci_scan_bridge_extend()
1333 cmax = pci_scan_child_bus_extend(child, buses); in pci_scan_bridge_extend()
1359 buses & ~0xffffff); in pci_scan_bridge_extend()
1390 buses = (buses & 0xff000000) in pci_scan_bridge_extend()
1400 buses &= ~0xff000000; in pci_scan_bridge_extend()
1401 buses |= CARDBUS_LATENCY_TIMER << 24; in pci_scan_bridge_extend()
1405 pci_write_config_dword(dev, PCI_PRIMARY_BUS, buses); in pci_scan_bridge_extend()
1481 * pci_scan_bridge() - Scan buses behind a bridge
1484 * @max: Starting subordinate number of buses behind this bridge
1494 * them, we proceed to assigning numbers to the remaining buses in
1497 * Return: New subordinate number covering all buses behind this bridge.
2898 * @available_buses: Total number of buses available (%0 does not try to
2901 * Scans devices below @bus including subordinate buses. Returns new
2921 /* Reserve buses for SR-IOV capability */ in pci_scan_child_bus_extend()
2938 * buses between hotplug bridges. in pci_scan_child_bus_extend()
2967 unsigned int buses = 0; in pci_scan_child_bus_extend() local
2972 * port) so it gets all available buses which it in pci_scan_child_bus_extend()
2976 buses = available_buses; in pci_scan_child_bus_extend()
2979 * Distribute the extra buses between hotplug in pci_scan_child_bus_extend()
2982 buses = available_buses / hotplug_bridges; in pci_scan_child_bus_extend()
2983 buses = min(buses, available_buses - used_buses + 1); in pci_scan_child_bus_extend()
2987 max = pci_scan_bridge_extend(bus, dev, cmax, buses, 1); in pci_scan_child_bus_extend()
2995 * number of buses but allow it to grow up to the maximum available in pci_scan_child_bus_extend()
3004 /* Do not allocate more buses than we have room left */ in pci_scan_child_bus_extend()
3018 * Return how far we've got finding sub-buses. in pci_scan_child_bus_extend()
3028 * Scans devices below @bus including subordinate buses. Returns new
3277 * Scan a PCI bus and child buses for new devices, add them,
3302 * Scan a PCI bus and child buses for new devices, add them,