Searched refs:tdevice (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/pci/hotplug/ |
D | cpqphp_pci.c | 208 u16 tdevice; in PCI_ScanBusForNonBridge() local 214 for (tdevice = 0; tdevice < 0xFF; tdevice++) { in PCI_ScanBusForNonBridge() 216 if (PCI_RefinedAccessConfig(ctrl->pci_bus, tdevice, 0x08, &work) == -1) in PCI_ScanBusForNonBridge() 218 dbg("Looking for nonbridge bus_num %d dev_num %d\n", bus_num, tdevice); in PCI_ScanBusForNonBridge() 221 *dev_num = tdevice; in PCI_ScanBusForNonBridge() 226 for (tdevice = 0; tdevice < 0xFF; tdevice++) { in PCI_ScanBusForNonBridge() 228 if (PCI_RefinedAccessConfig(ctrl->pci_bus, tdevice, 0x08, &work) == -1) in PCI_ScanBusForNonBridge() 230 dbg("Looking for bridge bus_num %d dev_num %d\n", bus_num, tdevice); in PCI_ScanBusForNonBridge() 233 pci_bus_read_config_byte (ctrl->pci_bus, PCI_DEVFN(tdevice, 0), PCI_SECONDARY_BUS, &tbus); in PCI_ScanBusForNonBridge() 235 dbg("Recurse on bus_num %d tdevice %d\n", tbus, tdevice); in PCI_ScanBusForNonBridge() [all …]
|
D | cpqphp_core.c | 180 u8 tbus, tdevice, tslot; in pci_print_IRQ_route() local 187 tdevice = cpqhp_routing_table->slots[loop].devfn; in pci_print_IRQ_route() 189 dbg("%d %d %d %d\n", tbus, tdevice >> 3, tdevice & 0x7, tslot); in pci_print_IRQ_route() 340 u8 tbus, tdevice, tslot, bridgeSlot; in get_slot_mapping() local 349 tdevice = cpqhp_routing_table->slots[loop].devfn >> 3; in get_slot_mapping() 352 if ((tbus == bus_num) && (tdevice == dev_num)) { in get_slot_mapping() 366 pci_bus_read_config_dword(bus, PCI_DEVFN(tdevice, 0), in get_slot_mapping() 371 PCI_DEVFN(tdevice, 0), in get_slot_mapping()
|