Home
last modified time | relevance | path

Searched refs:tdevice (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/pci/hotplug/
Dcpqphp_pci.c201 u16 tdevice; in PCI_ScanBusForNonBridge() local
207 for (tdevice = 0; tdevice < 0xFF; tdevice++) { in PCI_ScanBusForNonBridge()
209 if (PCI_RefinedAccessConfig(ctrl->pci_bus, tdevice, 0x08, &work) == -1) in PCI_ScanBusForNonBridge()
211 dbg("Looking for nonbridge bus_num %d dev_num %d\n", bus_num, tdevice); in PCI_ScanBusForNonBridge()
214 *dev_num = tdevice; in PCI_ScanBusForNonBridge()
219 for (tdevice = 0; tdevice < 0xFF; tdevice++) { in PCI_ScanBusForNonBridge()
221 if (PCI_RefinedAccessConfig(ctrl->pci_bus, tdevice, 0x08, &work) == -1) in PCI_ScanBusForNonBridge()
223 dbg("Looking for bridge bus_num %d dev_num %d\n", bus_num, tdevice); in PCI_ScanBusForNonBridge()
226 pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(tdevice, 0), PCI_SECONDARY_BUS, &tbus); in PCI_ScanBusForNonBridge()
228 dbg("Recurse on bus_num %d tdevice %d\n", tbus, tdevice); in PCI_ScanBusForNonBridge()
[all …]
Dcpqphp_core.c166 u8 tbus, tdevice, tslot; in pci_print_IRQ_route() local
173 tdevice = cpqhp_routing_table->slots[loop].devfn; in pci_print_IRQ_route()
175 dbg("%d %d %d %d\n", tbus, tdevice >> 3, tdevice & 0x7, tslot); in pci_print_IRQ_route()
317 u8 tbus, tdevice, tslot, bridgeSlot; in get_slot_mapping() local
326 tdevice = cpqhp_routing_table->slots[loop].devfn >> 3; in get_slot_mapping()
329 if ((tbus == bus_num) && (tdevice == dev_num)) { in get_slot_mapping()
343 pci_bus_read_config_dword(bus, PCI_DEVFN(tdevice, 0), in get_slot_mapping()
348 PCI_DEVFN(tdevice, 0), in get_slot_mapping()