Searched refs:busrange (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/arch/powerpc/kernel/ |
D | pci_of_scan.c | 255 const __be32 *busrange, *ranges; in of_scan_pci_bridge() local 265 busrange = of_get_property(node, "bus-range", &len); in of_scan_pci_bridge() 266 if (busrange == NULL || len != 8) { in of_scan_pci_bridge() 279 of_read_number(busrange, 1)); in of_scan_pci_bridge() 282 of_read_number(busrange, 1)); in of_scan_pci_bridge() 291 pci_bus_insert_busn_res(bus, of_read_number(busrange, 1), in of_scan_pci_bridge() 292 of_read_number(busrange+1, 1)); in of_scan_pci_bridge()
|
/Linux-v5.10/arch/sparc/kernel/ |
D | pci.c | 421 const u32 *busrange, *ranges; in of_scan_pci_bridge() local 432 busrange = of_get_property(node, "bus-range", &len); in of_scan_pci_bridge() 433 if (busrange == NULL || len != 8) { in of_scan_pci_bridge() 441 busrange[0], busrange[1]); in of_scan_pci_bridge() 451 bus = pci_add_new_bus(dev->bus, dev, busrange[0]); in of_scan_pci_bridge() 459 pci_bus_insert_busn_res(bus, busrange[0], busrange[1]); in of_scan_pci_bridge()
|
D | prom_irqtrans.c | 273 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()
|