• Home
  • Raw
  • Download

Lines Matching full:buses

1091  * pci_scan_bridge_extend() - Scan buses behind a bridge
1094 * @max: Starting subordinate number of buses behind this bridge
1095 * @available_buses: Total number of buses available for this bridge and
1097 * been allocated the remaining buses will be
1108 * them, we proceed to assigning numbers to the remaining buses in
1111 * Return: New subordinate number covering all buses behind this bridge.
1119 u32 buses, i, j = 0; in pci_scan_bridge_extend() local
1130 pci_read_config_dword(dev, PCI_PRIMARY_BUS, &buses); in pci_scan_bridge_extend()
1131 primary = buses & 0xFF; in pci_scan_bridge_extend()
1132 secondary = (buses >> 8) & 0xFF; in pci_scan_bridge_extend()
1133 subordinate = (buses >> 16) & 0xFF; in pci_scan_bridge_extend()
1215 buses & ~0xffffff); in pci_scan_bridge_extend()
1239 buses = (buses & 0xff000000) in pci_scan_bridge_extend()
1249 buses &= ~0xff000000; in pci_scan_bridge_extend()
1250 buses |= CARDBUS_LATENCY_TIMER << 24; in pci_scan_bridge_extend()
1254 pci_write_config_dword(dev, PCI_PRIMARY_BUS, buses); in pci_scan_bridge_extend()
1324 * pci_scan_bridge() - Scan buses behind a bridge
1327 * @max: Starting subordinate number of buses behind this bridge
1337 * them, we proceed to assigning numbers to the remaining buses in
1340 * Return: New subordinate number covering all buses behind this bridge.
2811 * @available_buses: Total number of buses available (%0 does not try to
2814 * Scans devices below @bus including subordinate buses. Returns new
2849 /* Reserve buses for SR-IOV capability */ in pci_scan_child_bus_extend()
2866 * buses between hotplug bridges. in pci_scan_child_bus_extend()
2895 unsigned int buses = 0; in pci_scan_child_bus_extend() local
2901 * port) so it gets all available buses which it in pci_scan_child_bus_extend()
2905 buses = available_buses; in pci_scan_child_bus_extend()
2909 * Distribute the extra buses between hotplug in pci_scan_child_bus_extend()
2912 buses = available_buses / hotplug_bridges; in pci_scan_child_bus_extend()
2913 buses = min(buses, available_buses - used_buses + 1); in pci_scan_child_bus_extend()
2917 max = pci_scan_bridge_extend(bus, dev, cmax, buses, 1); in pci_scan_child_bus_extend()
2925 * number of buses but allow it to grow up to the maximum available in pci_scan_child_bus_extend()
2934 /* Do not allocate more buses than we have room left */ in pci_scan_child_bus_extend()
2948 * Return how far we've got finding sub-buses. in pci_scan_child_bus_extend()
2958 * Scans devices below @bus including subordinate buses. Returns new
3208 * Scan a PCI bus and child buses for new devices, add them,
3233 * Scan a PCI bus and child buses for new devices, add them,