Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pci/hotplug/
H A Dcpqphp_pci.c203 u16 tdevice; in PCI_ScanBusForNonBridge() local
209 for (tdevice = 0; tdevice < 0xFF; tdevice++) { in PCI_ScanBusForNonBridge()
211 if (PCI_RefinedAccessConfig(ctrl->pci_bus, tdevice, 0x08, &work) == -1) in PCI_ScanBusForNonBridge()
213 dbg("Looking for nonbridge bus_num %d dev_num %d\n", bus_num, tdevice); in PCI_ScanBusForNonBridge()
216 *dev_num = tdevice; in PCI_ScanBusForNonBridge()
221 for (tdevice = 0; tdevice < 0xFF; tdevice++) { in PCI_ScanBusForNonBridge()
225 dbg("Looking for bridge bus_num %d dev_num %d\n", bus_num, tdevice); in PCI_ScanBusForNonBridge()
230 dbg("Recurse on bus_num %d tdevice %d\n", tbus, tdevice); in PCI_ScanBusForNonBridge()
243 u8 tbus, tdevice, tslot; in PCI_GetBusDevHelper() local
248 tdevice = cpqhp_routing_table->slots[loop].devfn; in PCI_GetBusDevHelper()
[all …]
H A Dcpqphp_core.c164 u8 tbus, tdevice, tslot; in pci_print_IRQ_route() local
171 tdevice = cpqhp_routing_table->slots[loop].devfn; in pci_print_IRQ_route()
173 dbg("%d %d %d %d\n", tbus, tdevice >> 3, tdevice & 0x7, tslot); in pci_print_IRQ_route()
313 u8 tbus, tdevice, tslot, bridgeSlot; in get_slot_mapping() local
322 tdevice = cpqhp_routing_table->slots[loop].devfn >> 3; in get_slot_mapping()
325 if ((tbus == bus_num) && (tdevice == dev_num)) { in get_slot_mapping()
339 pci_bus_read_config_dword(bus, PCI_DEVFN(tdevice, 0), in get_slot_mapping()
344 PCI_DEVFN(tdevice, 0), in get_slot_mapping()