Searched refs:PciDev (Results 1 – 7 of 7) sorted by relevance
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/ |
D | PciResourceSupport.c | 270 if (!IS_PCI_BRIDGE (&(Node->PciDev->Pci)) && !IS_CARDBUS_BRIDGE (&(Node->PciDev->Pci))) { in CalculateApertureIo16() 453 IN PCI_IO_DEVICE *PciDev, in GetResourceFromDevice() argument 471 switch ((PciDev->PciBar)[Index].BarType) { in GetResourceFromDevice() 476 PciDev, in GetResourceFromDevice() 477 (PciDev->PciBar)[Index].Length, in GetResourceFromDevice() 478 (PciDev->PciBar)[Index].Alignment, in GetResourceFromDevice() 495 PciDev, in GetResourceFromDevice() 496 (PciDev->PciBar)[Index].Length, in GetResourceFromDevice() 497 (PciDev->PciBar)[Index].Alignment, in GetResourceFromDevice() 514 PciDev, in GetResourceFromDevice() [all …]
|
D | PciResourceSupport.h | 29 PCI_IO_DEVICE *PciDev; member 145 IN PCI_IO_DEVICE *PciDev, 169 IN PCI_IO_DEVICE *PciDev, 194 IN PCI_IO_DEVICE *PciDev, 237 IN PCI_IO_DEVICE *PciDev, 408 IN PCI_IO_DEVICE *PciDev, 442 IN PCI_IO_DEVICE *PciDev,
|
D | PciLib.c | 188 BridgeResource->PciDev->PciBar[BridgeResource->Bar].BaseAddress, in DumpBridgeResource() 197 Bar = Resource->Virtual ? Resource->PciDev->VfPciBar : Resource->PciDev->PciBar; in DumpBridgeResource() 201 IS_PCI_BRIDGE (&Resource->PciDev->Pci) ? L"PPB" : in DumpBridgeResource() 202 IS_CARDBUS_BRIDGE (&Resource->PciDev->Pci) ? L"P2C" : in DumpBridgeResource() 204 Resource->PciDev->BusNumber, Resource->PciDev->DeviceNumber, in DumpBridgeResource() 205 Resource->PciDev->FunctionNumber in DumpBridgeResource() 208 … if ((!IS_PCI_BRIDGE (&Resource->PciDev->Pci) && !IS_CARDBUS_BRIDGE (&Resource->PciDev->Pci)) || in DumpBridgeResource() 209 (IS_PCI_BRIDGE (&Resource->PciDev->Pci) && (Resource->Bar < PPB_IO_RANGE)) || in DumpBridgeResource() 210 (IS_CARDBUS_BRIDGE (&Resource->PciDev->Pci) && (Resource->Bar < P2C_MEM_1)) in DumpBridgeResource() 259 if (Resource->PciDev == Device) { in FindResourceNode() [all …]
|
D | PciEnumerator.c | 836 Temp = PciResNode->PciDev; in IsRejectiveDevice() 888 if ((IS_PCI_BRIDGE(&(PciResNode2->PciDev->Pci)) || (PciResNode2->PciDev->Parent == NULL)) \ in GetLargerConsumerDevice() 936 if ((IS_PCI_BRIDGE (&(Temp->PciDev->Pci)) || (Temp->PciDev->Parent == NULL)) \ in GetMaxResourceConsumerDevice() 1037 if (PciResNode->PciDev == RemovedPciDev[DevIndex]) { in PciHostBridgeAdjustAllocation() 1049 Status = RejectPciDevice (PciResNode->PciDev); in PciHostBridgeAdjustAllocation() 1054 …PciResNode->PciDev->BusNumber, PciResNode->PciDev->DeviceNumber, PciResNode->PciDev->FunctionNumber in PciHostBridgeAdjustAllocation() 1065 AllocFailExtendedData.DevicePath = (UINT8 *) PciResNode->PciDev->DevicePath; in PciHostBridgeAdjustAllocation() 1078 RemovedPciDev[RemovedPciDevNum++] = PciResNode->PciDev; in PciHostBridgeAdjustAllocation()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNC/ |
D | QNCSmmHelpers.c | 232 UINT32 PciDev; in ReadBitDesc() local 351 PciDev = BitDesc->Reg.Data.pci.Fields.Dev; in ReadBitDesc() 364 Register = (UINT64) PciRead8 (PCI_LIB_ADDRESS (PciBus, PciDev, PciFun, PciReg)); in ReadBitDesc() 368 Register = (UINT64) PciRead16 (PCI_LIB_ADDRESS (PciBus, PciDev, PciFun, PciReg)); in ReadBitDesc() 372 Register = (UINT64) PciRead32 (PCI_LIB_ADDRESS (PciBus, PciDev, PciFun, PciReg)); in ReadBitDesc() 411 UINT32 PciDev; in WriteBitDesc() local 514 PciDev = BitDesc->Reg.Data.pci.Fields.Dev; in WriteBitDesc() 528 … PciAndThenOr8 (PCI_LIB_ADDRESS (PciBus, PciDev, PciFun, PciReg), (UINT8) AndVal, (UINT8) OrVal); in WriteBitDesc() 532 …PciAndThenOr16 (PCI_LIB_ADDRESS (PciBus, PciDev, PciFun, PciReg), (UINT16) AndVal, (UINT16) OrVal); in WriteBitDesc() 536 …PciAndThenOr32 (PCI_LIB_ADDRESS (PciBus, PciDev, PciFun, PciReg), (UINT32) AndVal, (UINT32) OrVal); in WriteBitDesc()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciHostBridge/ |
D | PciRootBridgeIo.c | 876 UINT32 PciDev; in RootBridgeIoPciRead() local 910 PciDev = ((EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS *) &Address)->Device; in RootBridgeIoPciRead() 913 ExtConfigAdd = (UINT64) PrivateData->HecBase + PCIE_OFF (PciBus, PciDev, PciFn, PciExtReg); in RootBridgeIoPciRead() 959 UINT32 PciDev; in RootBridgeIoPciWrite() local 988 PciDev = ((EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_PCI_ADDRESS *) &Address)->Device; in RootBridgeIoPciWrite() 991 ExtConfigAdd = (UINT64) PrivateData->HecBase + PCIE_OFF (PciBus, PciDev, PciFn, PciExtReg); in RootBridgeIoPciWrite()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordSmm/ |
D | OpalPasswordSmm.c | 502 OPAL_DISK_AND_PASSWORD_INFO *PciDev; in CreateSmmDeviceList() local 506 PciDev = BASE_CR (Entry, OPAL_DISK_AND_PASSWORD_INFO, Link); in CreateSmmDeviceList() 514 ExtractDeviceInfoFromDevicePath(&PciDev->OpalDevicePath, SmmDev); in CreateSmmDeviceList() 516 SmmDev->PasswordLength = PciDev->PasswordLength; in CreateSmmDeviceList() 517 CopyMem(&(SmmDev->Password), PciDev->Password, OPAL_PASSWORD_MAX_LENGTH); in CreateSmmDeviceList()
|