Home
last modified time | relevance | path

Searched refs:busrange (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/arch/powerpc/kernel/
Dpci_of_scan.c207 const __be32 *busrange, *ranges; in of_scan_pci_bridge() local
217 busrange = of_get_property(node, "bus-range", &len); in of_scan_pci_bridge()
218 if (busrange == NULL || len != 8) { in of_scan_pci_bridge()
231 of_read_number(busrange, 1)); in of_scan_pci_bridge()
234 of_read_number(busrange, 1)); in of_scan_pci_bridge()
243 pci_bus_insert_busn_res(bus, of_read_number(busrange, 1), in of_scan_pci_bridge()
244 of_read_number(busrange+1, 1)); in of_scan_pci_bridge()
/Linux-v4.19/arch/sparc/kernel/
Dpci.c426 const u32 *busrange, *ranges; in of_scan_pci_bridge() local
437 busrange = of_get_property(node, "bus-range", &len); in of_scan_pci_bridge()
438 if (busrange == NULL || len != 8) { in of_scan_pci_bridge()
446 busrange[0], busrange[1]); in of_scan_pci_bridge()
456 bus = pci_add_new_bus(dev->bus, dev, busrange[0]); in of_scan_pci_bridge()
464 pci_bus_insert_busn_res(bus, busrange[0], busrange[1]); in of_scan_pci_bridge()
Dprom_irqtrans.c273 const u32 *busrange; in sabre_irq_trans_init() local
283 busrange = of_get_property(dp, "bus-range", NULL); in sabre_irq_trans_init()
284 irq_data->pci_first_busno = busrange[0]; in sabre_irq_trans_init()