Lines Matching refs:busnr
903 bus->number = bus->busn_res.start = bridge->busnr; in pci_register_host_bridge()
911 b = pci_find_bus(pci_domain_nr(bus), bridge->busnr); in pci_register_host_bridge()
920 bridge->busnr); in pci_register_host_bridge()
1077 struct pci_dev *bridge, int busnr) in pci_alloc_child_bus() argument
1104 dev_set_name(&child->dev, "%04x:%02x", pci_domain_nr(child), busnr); in pci_alloc_child_bus()
1107 child->number = child->busn_res.start = busnr; in pci_alloc_child_bus()
1159 int busnr) in pci_add_new_bus() argument
1163 child = pci_alloc_child_bus(parent, dev, busnr); in pci_add_new_bus()
3031 bridge->busnr = bus; in pci_create_root_bus()
3152 bridge->busnr = window->res->start; in pci_scan_root_bus_bridge()
3162 bus = bridge->busnr; in pci_scan_root_bus_bridge()
3323 int busnr, start = parent->busn_res.start; in pci_hp_add_bridge() local
3327 for (busnr = start; busnr <= end; busnr++) { in pci_hp_add_bridge()
3328 if (!pci_find_bus(pci_domain_nr(parent), busnr)) in pci_hp_add_bridge()
3331 if (busnr-- > end) { in pci_hp_add_bridge()
3337 busnr = pci_scan_bridge(parent, dev, busnr, 0); in pci_hp_add_bridge()
3343 available_buses = end - busnr; in pci_hp_add_bridge()
3346 pci_scan_bridge_extend(parent, dev, busnr, available_buses, 1); in pci_hp_add_bridge()