Home
last modified time | relevance | path

Searched refs:next_busno (Results 1 – 7 of 7) sorted by relevance

/arch/mips/pci/
Dpci.c81 static int next_busno; in pcibios_scanbus() local
90 next_busno = (*hose->get_busno)(); in pcibios_scanbus()
95 bus = pci_scan_root_bus(NULL, next_busno, hose->pci_ops, hose, in pcibios_scanbus()
105 next_busno = bus->busn_res.end + 1; in pcibios_scanbus()
108 if (next_busno > 224) { in pcibios_scanbus()
109 next_busno = 0; in pcibios_scanbus()
/arch/powerpc/kernel/
Dpci_32.c230 int next_busno = 0; in pcibios_init() local
240 hose->first_busno = next_busno; in pcibios_init()
244 if (pci_assign_all_buses || next_busno <= hose->last_busno) in pcibios_init()
245 next_busno = hose->last_busno + pcibios_assign_bus_offset; in pcibios_init()
247 pci_bus_count = next_busno; in pcibios_init()
/arch/sh/drivers/pci/
Dpci.c37 static int next_busno; in pcibios_scanbus() local
55 bus = pci_scan_root_bus(NULL, next_busno, hose->pci_ops, hose, in pcibios_scanbus()
62 next_busno = bus->busn_res.end + 1; in pcibios_scanbus()
65 if (next_busno > 224) { in pcibios_scanbus()
66 next_busno = 0; in pcibios_scanbus()
/arch/alpha/kernel/
Dpci.c312 int next_busno; in common_init_pci() local
319 for (next_busno = 0, hose = hose_head; hose; hose = hose->next) { in common_init_pci()
335 bus = pci_scan_root_bus(NULL, next_busno, alpha_mv.pci_ops, in common_init_pci()
339 next_busno = bus->busn_res.end + 1; in common_init_pci()
342 if (next_busno > 224) { in common_init_pci()
343 next_busno = 0; in common_init_pci()
/arch/xtensa/kernel/
Dpci.c177 int next_busno = 0; in pcibios_init() local
190 if (next_busno <= pci_ctrl->last_busno) in pcibios_init()
191 next_busno = pci_ctrl->last_busno+1; in pcibios_init()
193 pci_bus_count = next_busno; in pcibios_init()
/arch/tile/kernel/
Dpci_gx.c673 int next_busno; in pcibios_init() local
689 for (next_busno = 0, i = 0; i < num_rc_controllers; i++) { in pcibios_init()
889 controller->first_busno = next_busno; in pcibios_init()
890 bus = pci_scan_root_bus(NULL, next_busno, controller->ops, in pcibios_init()
893 next_busno = bus->busn_res.end + 1; in pcibios_init()
/arch/microblaze/pci/
Dpci-common.c1359 int next_busno = 0; in pcibios_init() local
1367 if (next_busno <= hose->last_busno) in pcibios_init()
1368 next_busno = hose->last_busno + 1; in pcibios_init()
1370 pci_bus_count = next_busno; in pcibios_init()