Lines Matching refs:AgentId
112 void pci_Log_Error(char* Error_Text, int Bus, int SubBus, int AgentId, int HvRc) in pci_Log_Error() argument
116 sprintf(ErrorString,"%s Failed: 0x%02X.%02X.%02X Rc: 0x%04X",Error_Text,Bus,SubBus,AgentId,HvRc); in pci_Log_Error()
140 DevNode->AgentId, in dumpDevice_Node()
172 struct iSeries_Device_Node* build_device_node(HvBusNumber Bus, HvSubBusNumber SubBus, int AgentId,… in build_device_node() argument
176 …PPCDBG(PPCDBG_BUSWALK,"-build_device_node 0x%02X.%02X.%02X Function: %02X\n",Bus,SubBus,AgentId, F… in build_device_node()
188 DeviceNode->AgentId = AgentId; in build_device_node()
189 DeviceNode->DevFn = PCI_DEVFN(ISERIES_ENCODE_DEVICE(AgentId),Function ); in build_device_node()
399 HvAgentId AgentId; in iSeries_Scan_EADs_Bridge() local
410 AgentId = ISERIES_PCI_AGENTID(IdSel, Function); in iSeries_Scan_EADs_Bridge()
411 HvRc = HvCallXm_connectBusUnit(Bus, SubBus, AgentId, 0); in iSeries_Scan_EADs_Bridge()
414 PPCDBG(PPCDBG_BUSWALK,"PCI:Connect EADs: 0x%02X.%02X.%02X\n",Bus, SubBus, AgentId); in iSeries_Scan_EADs_Bridge()
415 PCIFR( "Connect EADs: 0x%02X.%02X.%02X", Bus, SubBus, AgentId); in iSeries_Scan_EADs_Bridge()
416 HvRc = HvCallPci_getBusUnitInfo(Bus, SubBus, AgentId, in iSeries_Scan_EADs_Bridge()
439 else if(HvRc != 0x000B) pci_Log_Error("EADs Connect",Bus,SubBus,AgentId,HvRc); in iSeries_Scan_EADs_Bridge()
458 HvAgentId AgentId = ISERIES_PCI_AGENTID(IdSel, Function); in iSeries_Scan_Bridge_Slot() local
465 Irq = iSeries_allocate_IRQ(Bus, 0, AgentId); in iSeries_Scan_Bridge_Slot()
466 iSeries_assign_IRQ(Irq, Bus, 0, AgentId); in iSeries_Scan_Bridge_Slot()
467 …PPCDBG(PPCDBG_BUSWALK,"PCI:- allocate and assign IRQ 0x%02X.%02X.%02X = 0x%02X\n",Bus, 0, AgentId,… in iSeries_Scan_Bridge_Slot()
474 AgentId = ISERIES_PCI_AGENTID(IdSel, Function); in iSeries_Scan_Bridge_Slot()
475 HvRc = HvCallXm_connectBusUnit(Bus, SubBus, AgentId, Irq); in iSeries_Scan_Bridge_Slot()
477 HvRc = HvCallPci_configLoad16(Bus, SubBus, AgentId, PCI_VENDOR_ID, &VendorId); in iSeries_Scan_Bridge_Slot()
483 Bus, SubBus, AgentId, VendorId); in iSeries_Scan_Bridge_Slot()
485 HvRc = HvCallPci_configStore8(Bus, SubBus, AgentId, PCI_INTERRUPT_LINE, Irq); in iSeries_Scan_Bridge_Slot()
487 pci_Log_Error("PciCfgStore Irq Failed!",Bus,SubBus,AgentId,HvRc); in iSeries_Scan_Bridge_Slot()
496 DeviceCount,Bus, SubBus, AgentId, in iSeries_Scan_Bridge_Slot()
503 FirstSlotId = AgentId; in iSeries_Scan_Bridge_Slot()
507 else pci_Log_Error("Read Vendor",Bus,SubBus,AgentId,HvRc); in iSeries_Scan_Bridge_Slot()
509 else pci_Log_Error("Connect Bus Unit",Bus,SubBus, AgentId,HvRc); in iSeries_Scan_Bridge_Slot()
769 …rTxt, DevNode->IoRetry, in_interrupt(), RtnCode, IoAddress, ISERIES_BUS(DevNode),DevNode->AgentId); in logPciError()
817 DevNode->IoRetry,ISERIES_BUS(DevNode),DevNode->AgentId, in pciRetrySuccessful()
983 …DeviceNode->ReturnCode = HvCallPci_setSlotReset(ISERIES_BUS(DeviceNode),0x00,DeviceNode->AgentId,S… in pci_set_reset()