Lines Matching defs:buses

461 	u32 buses;
466 pci_read_config_dword(bridge, PCI_PRIMARY_BUS, &buses);
468 res.start = (buses >> 8) & 0xff;
469 res.end = (buses >> 16) & 0xff;
1243 * pci_scan_bridge_extend() - Scan buses behind a bridge
1246 * @max: Starting subordinate number of buses behind this bridge
1247 * @available_buses: Total number of buses available for this bridge and
1249 * been allocated the remaining buses will be
1260 * them, we proceed to assigning numbers to the remaining buses in
1263 * Return: New subordinate number covering all buses behind this bridge.
1271 u32 buses, i, j = 0;
1285 pci_read_config_dword(dev, PCI_PRIMARY_BUS, &buses);
1286 primary = buses & 0xFF;
1287 secondary = (buses >> 8) & 0xFF;
1288 subordinate = (buses >> 16) & 0xFF;
1319 unsigned int cmax, buses;
1344 buses = subordinate - secondary;
1345 cmax = pci_scan_child_bus_extend(child, buses);
1371 buses & ~0xffffff);
1402 buses = (buses & 0xff000000)
1412 buses &= ~0xff000000;
1413 buses |= CARDBUS_LATENCY_TIMER << 24;
1417 pci_write_config_dword(dev, PCI_PRIMARY_BUS, buses);
1493 * pci_scan_bridge() - Scan buses behind a bridge
1496 * @max: Starting subordinate number of buses behind this bridge
1506 * them, we proceed to assigning numbers to the remaining buses in
1509 * Return: New subordinate number covering all buses behind this bridge.
2876 * @available_buses: Total number of buses available (%0 does not try to
2879 * Scans devices below @bus including subordinate buses. Returns new
2899 /* Reserve buses for SR-IOV capability */
2916 * buses between hotplug bridges.
2945 unsigned int buses = 0;
2950 * port) so it gets all available buses which it
2954 buses = available_buses;
2957 * Distribute the extra buses between hotplug
2960 buses = available_buses / hotplug_bridges;
2961 buses = min(buses, available_buses - used_buses + 1);
2965 max = pci_scan_bridge_extend(bus, dev, cmax, buses, 1);
2973 * number of buses but allow it to grow up to the maximum available
2982 /* Do not allocate more buses than we have room left */
2996 * Return how far we've got finding sub-buses.
3006 * Scans devices below @bus including subordinate buses. Returns new
3255 * Scan a PCI bus and child buses for new devices, add them,
3280 * Scan a PCI bus and child buses for new devices, add them,