Lines Matching refs:tdevice
203 u16 tdevice;
209 for (tdevice = 0; tdevice < 0xFF; tdevice++) {
211 if (PCI_RefinedAccessConfig(ctrl->pci_bus, tdevice, 0x08, &work) == -1)
213 dbg("Looking for nonbridge bus_num %d dev_num %d\n", bus_num, tdevice);
216 *dev_num = tdevice;
221 for (tdevice = 0; tdevice < 0xFF; tdevice++) {
223 if (PCI_RefinedAccessConfig(ctrl->pci_bus, tdevice, 0x08, &work) == -1)
225 dbg("Looking for bridge bus_num %d dev_num %d\n", bus_num, tdevice);
228 pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(tdevice, 0), PCI_SECONDARY_BUS, &tbus);
230 dbg("Recurse on bus_num %d tdevice %d\n", tbus, tdevice);
243 u8 tbus, tdevice, tslot;
248 tdevice = cpqhp_routing_table->slots[loop].devfn;
253 *dev_num = tdevice;