Lines Matching refs:bus

188 		  Since the ISA bus isn't enumerable we don't have any clues as to
429 find_routing_table_entry(IRQRoutingTable& table, uint8 bus, uint8 device,
434 if (irqEntry.pci_bus != bus || irqEntry.pci_device != device)
446 ensure_all_functions_matched(pci_module_info* pci, uint8 bus,
451 if (pci->read_pci_config(bus, device, 0, PCI_vendor_id, 2) == 0xffff) {
452 TRACE("PCI bus %" B_PRIu8 ":%" B_PRIu8 " not present.\n",
453 bus, device);
458 uint8 headerType = pci->read_pci_config(bus, device, 0,
467 if (pci->read_pci_config(bus, device, function, PCI_vendor_id, 2)
471 "not present.\n", bus, device, function);
476 headerType = pci->read_pci_config(bus, device, function,
486 pciAddress.bus = bus;
492 uint8 secondaryBus = pci->read_pci_config(bus, device, function,
502 uint8 interruptPin = pci->read_pci_config(bus, device, function,
506 "not routed.\n", bus, device, function);
512 bus, device, interruptPin);
517 "already matched. Will mask.\n", bus, device, function);
523 "parents, searching them...\n", bus, device, function,
533 irqEntry = find_routing_table_entry(matchedTable, parent.bus,
538 "no matchedTable entry.\n", bus, device, function);
540 parent.bus, parent.device, parentPin);
549 B_PRIu8 "...\n", bus, device, function, parentPin);
557 newEntry.pci_bus = bus;
561 uint8 biosIRQ = pci->read_pci_config(bus, device, function,
571 "PCI %u:%u:%u", bus, device, function);
587 uint32 interrupt_line = pci->read_pci_config(bus, device,
594 bus, device, function, interrupt_line);
600 "unstable / broken.\n", bus, device, function);
620 pciAddress.bus = currentBus;
631 // we don't seem to be on the PCI bus anymore
637 uint16 deviceID = pci->read_pci_config(pciAddress.bus,
646 uint8 baseClass = pci->read_pci_config(pciAddress.bus,
648 uint8 subClass = pci->read_pci_config(pciAddress.bus,
656 uint8 headerType = pci->read_pci_config(pciAddress.bus,
671 // Find the secondary bus number (the "downstream" bus number for the
673 uint8 secondaryBus = pci->read_pci_config(pciAddress.bus,
676 // The bus below this bridge is inactive, nothing to do.
677 TRACE("secondary bus is inactive\n");
681 // The secondary bus cannot be the same as the current one.
683 dprintf("invalid secondary bus %u on primary bus %u,"
694 // Everything below is now on the secondary bus.
695 TRACE("now scanning bus %u\n", secondaryBus);
783 // We reset the root bus to 0 here. Any failed evaluation means default