Searched refs:tdevice (Results 1 – 2 of 2) sorted by relevance
| /linux-6.15/drivers/pci/hotplug/ |
| H A D | cpqphp_pci.c | 194 u16 tdevice; in PCI_ScanBusForNonBridge() local 200 for (tdevice = 0; tdevice < 0xFF; tdevice++) { in PCI_ScanBusForNonBridge() 202 if (!pci_bus_read_dev_vendor_id(ctrl->pci_bus, tdevice, &work, 0)) in PCI_ScanBusForNonBridge() 204 ret = pci_bus_read_config_dword(ctrl->pci_bus, tdevice, PCI_CLASS_REVISION, &work); in PCI_ScanBusForNonBridge() 207 dbg("Looking for nonbridge bus_num %d dev_num %d\n", bus_num, tdevice); in PCI_ScanBusForNonBridge() 210 *dev_num = tdevice; in PCI_ScanBusForNonBridge() 234 u8 tbus, tdevice, tslot; in PCI_GetBusDevHelper() local 239 tdevice = cpqhp_routing_table->slots[loop].devfn; in PCI_GetBusDevHelper() 244 *dev_num = tdevice; in PCI_GetBusDevHelper()
|
| H A D | cpqphp_core.c | 164 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()
|