/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/MultiPlatformLib/ |
D | MultiPlatformLib.c | 72 PlatformInfoHob->PciData.PciExpressSize = PcieLength; in MultiPlatformInfoInit() 73 PlatformInfoHob->PciData.PciExpressBase = PcdGet64 (PcdPciExpressBaseAddress); in MultiPlatformInfoInit() 75 …PlatformInfoHob->PciData.PciResourceMem32Base = (UINT32) (PlatformInfoHob->PciData.PciExpressBase… in MultiPlatformInfoInit() 76 …PlatformInfoHob->PciData.PciResourceMem32Limit = (UINT32) (PlatformInfoHob->PciData.PciExpressBase… in MultiPlatformInfoInit() 78 PlatformInfoHob->PciData.PciResourceMem64Base = RES_MEM64_36_BASE; in MultiPlatformInfoInit() 79 PlatformInfoHob->PciData.PciResourceMem64Limit = RES_MEM64_36_LIMIT; in MultiPlatformInfoInit() 82 PlatformInfoHob->MemData.MemMir0 = PlatformInfoHob->PciData.PciResourceMem64Base; in MultiPlatformInfoInit() 83 PlatformInfoHob->MemData.MemMir1 = PlatformInfoHob->PciData.PciResourceMem64Limit + 1; in MultiPlatformInfoInit() 85 …PlatformInfoHob->PciData.PciResourceMinSecBus = 1; //can be changed by SystemConfiguration->PciM… in MultiPlatformInfoInit() 90 if (PlatformInfoHob->PciData.PciExpressBase > PlatformInfoHob->PciData.PciResourceMem32Base ) { in MultiPlatformInfoInit() [all …]
|
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/ |
D | PciDeviceSupport.c | 477 PCI_TYPE01 PciData; in EnableBridgeAttributes() local 490 sizeof (PciData), in EnableBridgeAttributes() 491 &PciData in EnableBridgeAttributes() 494 if ((((PciData.Bridge.IoBase & 0xF) == 0) && in EnableBridgeAttributes() 495 (PciData.Bridge.IoBase != 0 || PciData.Bridge.IoLimit != 0)) || in EnableBridgeAttributes() 496 (((PciData.Bridge.IoBase & 0xF) == 1) && in EnableBridgeAttributes() 497 …((PciData.Bridge.IoBase & 0xF0) != 0 || (PciData.Bridge.IoLimit & 0xF0) != 0 || PciData.Bridge.IoB… in EnableBridgeAttributes() 505 if ((PciData.Bridge.MemoryBase & 0xFFF0) != 0 || (PciData.Bridge.MemoryLimit & 0xFFF0) != 0) { in EnableBridgeAttributes() 513 if ((((PciData.Bridge.PrefetchableMemoryBase & 0xF) == 0) && in EnableBridgeAttributes() 514 … (PciData.Bridge.PrefetchableMemoryBase != 0 || PciData.Bridge.PrefetchableMemoryLimit != 0)) || in EnableBridgeAttributes() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/ |
D | MemoryCallback.c | 89 DEBUG ((EFI_D_ERROR, "PCIE OSBASE: %lX\n", PlatformInfo->PciData.PciExpressBase)); in EndOfPeiPpiNotifyCallback() 93 PlatformInfo->PciData.PciExpressBase, in EndOfPeiPpiNotifyCallback() 94 PlatformInfo->PciData.PciExpressSize) in EndOfPeiPpiNotifyCallback() 99 PlatformInfo->PciData.PciResourceMem32Base, in EndOfPeiPpiNotifyCallback() 100 PlatformInfo->PciData.PciResourceMem32Limit) in EndOfPeiPpiNotifyCallback() 105 PlatformInfo->PciData.PciResourceMem64Base, in EndOfPeiPpiNotifyCallback() 106 PlatformInfo->PciData.PciResourceMem64Limit) in EndOfPeiPpiNotifyCallback() 118 HecBaseHigh = (UINT32) RShiftU64 (PlatformInfo->PciData.PciExpressBase, 28); in EndOfPeiPpiNotifyCallback() 282 PlatformInfo->PciData.PciExpressBase, in MemoryDiscoveredPpiNotifyCallback() 283 PlatformInfo->PciData.PciExpressSize in MemoryDiscoveredPpiNotifyCallback() [all …]
|
D | PlatformInfoInit.c | 162 PlatformInfoHob->PciData.PciResourceMem32Base = MemoryCeiling;
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/ |
D | LegacyIde.c | 273 PCI_TYPE00 PciData; in InitLegacyIdeController() local 290 Status = PciIo->Pci.Read (PciIo, EfiPciIoWidthUint8, 0, sizeof (PciData), &PciData); in InitLegacyIdeController() 298 if ((PciData.Hdr.ClassCode[2] != PCI_CLASS_MASS_STORAGE) || in InitLegacyIdeController() 299 (PciData.Hdr.ClassCode[1] != PCI_CLASS_MASS_STORAGE_IDE)) { in InitLegacyIdeController() 307 if ((PciData.Hdr.ClassCode[0] & IDE_PI_REGISTER_PNE) == 0) { in InitLegacyIdeController() 311 if ((PciData.Hdr.ClassCode[0] & IDE_PI_REGISTER_SNE) == 0) { in InitLegacyIdeController()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/ |
D | Ide.c | 286 PCI_TYPE00 PciData; in GetIdeRegistersBaseAddr() local 292 sizeof (PciData), in GetIdeRegistersBaseAddr() 293 &PciData in GetIdeRegistersBaseAddr() 300 if ((PciData.Hdr.ClassCode[0] & IDE_PRIMARY_OPERATING_MODE) == 0) { in GetIdeRegistersBaseAddr() 304 (UINT16)((PciData.Device.Bar[4] & 0x0000fff0)); in GetIdeRegistersBaseAddr() 309 if ((PciData.Device.Bar[0] & BIT0) == 0 || in GetIdeRegistersBaseAddr() 310 (PciData.Device.Bar[1] & BIT0) == 0) { in GetIdeRegistersBaseAddr() 315 (UINT16) (PciData.Device.Bar[0] & 0x0000fff8); in GetIdeRegistersBaseAddr() 317 (UINT16) ((PciData.Device.Bar[1] & 0x0000fffc) + 2); in GetIdeRegistersBaseAddr() 319 (UINT16) ((PciData.Device.Bar[4] & 0x0000fff0)); in GetIdeRegistersBaseAddr() [all …]
|
D | IdeBus.c | 152 PCI_TYPE00 PciData; in IDEBusDriverBindingSupported() local 253 sizeof (PciData), in IDEBusDriverBindingSupported() 254 &PciData in IDEBusDriverBindingSupported() 261 …if ((PciData.Hdr.ClassCode[2] != PCI_CLASS_MASS_STORAGE) || (PciData.Hdr.ClassCode[1] != PCI_SUB_C… in IDEBusDriverBindingSupported()
|
/device/linaro/bootloader/edk2/DuetPkg/SataControllerDxe/ |
D | SataController.c | 330 PCI_TYPE00 PciData; in SataControllerSupported() local 355 sizeof (PciData.Hdr.ClassCode), in SataControllerSupported() 356 PciData.Hdr.ClassCode in SataControllerSupported() 362 if (IS_PCI_IDE (&PciData) || IS_PCI_SATADPA (&PciData)) { in SataControllerSupported() 393 PCI_TYPE00 PciData; in SataControllerStart() local 444 sizeof (PciData.Hdr.ClassCode), in SataControllerStart() 445 PciData.Hdr.ClassCode in SataControllerStart() 449 if (IS_PCI_IDE (&PciData)) { in SataControllerStart() 452 } else if (IS_PCI_SATADPA (&PciData)) { in SataControllerStart()
|
/device/linaro/bootloader/edk2/OvmfPkg/SataControllerDxe/ |
D | SataController.c | 330 PCI_TYPE00 PciData; in SataControllerSupported() local 355 sizeof (PciData.Hdr.ClassCode), in SataControllerSupported() 356 PciData.Hdr.ClassCode in SataControllerSupported() 362 if (IS_PCI_IDE (&PciData) || IS_PCI_SATADPA (&PciData)) { in SataControllerSupported() 394 PCI_TYPE00 PciData; in SataControllerStart() local 460 sizeof (PciData.Hdr.ClassCode), in SataControllerStart() 461 PciData.Hdr.ClassCode in SataControllerStart() 467 if (IS_PCI_IDE (&PciData)) { in SataControllerStart() 470 } else if (IS_PCI_SATADPA (&PciData)) { in SataControllerStart()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UfsPciHcDxe/ |
D | UfsPciHcDxe.c | 423 PCI_TYPE00 PciData; in UfsHcDriverBindingSupported() local 479 sizeof (PciData), in UfsHcDriverBindingSupported() 480 &PciData in UfsHcDriverBindingSupported() 504 if (PciData.Hdr.ClassCode[2] == PCI_CLASS_MASS_STORAGE) { in UfsHcDriverBindingSupported() 505 if (PciData.Hdr.ClassCode[1] == 0x09 ) { //UFS Controller Subclass in UfsHcDriverBindingSupported()
|
/device/linaro/bootloader/edk2/OptionRomPkg/AtapiPassThruDxe/ |
D | AtapiPassThru.c | 1576 PCI_TYPE00 PciData; in GetIdeRegistersBaseAddr() local 1582 sizeof (PciData), in GetIdeRegistersBaseAddr() 1583 &PciData in GetIdeRegistersBaseAddr() 1590 if ((PciData.Hdr.ClassCode[0] & IDE_PRIMARY_OPERATING_MODE) == 0) { in GetIdeRegistersBaseAddr() 1597 if ((PciData.Device.Bar[0] & BIT0) == 0 || in GetIdeRegistersBaseAddr() 1598 (PciData.Device.Bar[1] & BIT0) == 0) { in GetIdeRegistersBaseAddr() 1603 (UINT16) (PciData.Device.Bar[0] & 0x0000fff8); in GetIdeRegistersBaseAddr() 1605 (UINT16) ((PciData.Device.Bar[1] & 0x0000fffc) + 2); in GetIdeRegistersBaseAddr() 1608 if ((PciData.Hdr.ClassCode[0] & IDE_SECONDARY_OPERATING_MODE) == 0) { in GetIdeRegistersBaseAddr() 1615 if ((PciData.Device.Bar[2] & BIT0) == 0 || in GetIdeRegistersBaseAddr() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/ |
D | IdeMode.c | 915 PCI_TYPE00 PciData; in GetIdeRegisterIoAddr() local 928 sizeof (PciData), in GetIdeRegisterIoAddr() 929 &PciData in GetIdeRegisterIoAddr() 936 BusMasterBaseAddr = (UINT16) ((PciData.Device.Bar[4] & 0x0000fff0)); in GetIdeRegisterIoAddr() 938 if ((PciData.Hdr.ClassCode[0] & IDE_PRIMARY_OPERATING_MODE) == 0) { in GetIdeRegisterIoAddr() 945 if ((PciData.Device.Bar[0] & BIT0) == 0 || in GetIdeRegisterIoAddr() 946 (PciData.Device.Bar[1] & BIT0) == 0) { in GetIdeRegisterIoAddr() 950 CommandBlockBaseAddr = (UINT16) (PciData.Device.Bar[0] & 0x0000fff8); in GetIdeRegisterIoAddr() 951 ControlBlockBaseAddr = (UINT16) ((PciData.Device.Bar[1] & 0x0000fffc) + 2); in GetIdeRegisterIoAddr() 968 if ((PciData.Hdr.ClassCode[0] & IDE_SECONDARY_OPERATING_MODE) == 0) { in GetIdeRegisterIoAddr() [all …]
|
D | AtaAtapiPassThru.c | 525 PCI_TYPE00 PciData; in AtaAtapiPassThruSupported() local 604 sizeof (PciData.Hdr.ClassCode), in AtaAtapiPassThruSupported() 605 PciData.Hdr.ClassCode in AtaAtapiPassThruSupported() 611 if (IS_PCI_IDE (&PciData) || IS_PCI_SATADPA (&PciData)) { in AtaAtapiPassThruSupported() 1160 PCI_TYPE00 PciData; in EnumerateAttachedDevice() local 1169 sizeof (PciData.Hdr.ClassCode), in EnumerateAttachedDevice() 1170 PciData.Hdr.ClassCode in EnumerateAttachedDevice() 1174 ClassCode = PciData.Hdr.ClassCode[1]; in EnumerateAttachedDevice()
|
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/ |
D | PcatIo.c | 98 UINTN PciData; in PcatRootBridgeIoPciRW() local 170 PciData = (UINTN)PrivateData->PciData + PciDataStride; in PcatRootBridgeIoPciRW() 174 This->Io.Write (This, Width, PciData, 1, UserBuffer); in PcatRootBridgeIoPciRW() 176 This->Io.Read (This, Width, PciData, 1, UserBuffer); in PcatRootBridgeIoPciRW()
|
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/ |
D | PcatIo.c | 98 UINTN PciData; in PcatRootBridgeIoPciRW() local 170 PciData = (UINTN)PrivateData->PciData + PciDataStride; in PcatRootBridgeIoPciRW() 174 This->Io.Write (This, Width, PciData, 1, UserBuffer); in PcatRootBridgeIoPciRW() 176 This->Io.Read (This, Width, PciData, 1, UserBuffer); in PcatRootBridgeIoPciRW()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciHostBridge/ |
D | PciRootBridgeIo.c | 85 PrivateData->PciData = 0xCFC; in SimpleIioRootBridgeConstructor() 783 UINTN PciData; in RootBridgeIoPciRW() local 817 PciData = PrivateData->PciData + PciDataStride; in RootBridgeIoPciRW() 822 This->Io.Write (This, Width, PciData, 1, UserBuffer); in RootBridgeIoPciRW() 824 This->Io.Read (This, Width, PciData, 1, UserBuffer); in RootBridgeIoPciRW()
|
D | PciRootBridge.h | 86 UINTN PciData; member
|
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/ |
D | PcatPciRootBridge.h | 70 UINT64 PciData; member
|
D | PcatPciRootBridge.c | 118 PrivateData->PciData = 0xCFC; in InitializePcatPciRootBridge()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Guid/ |
D | PlatformInfo.h | 403 EFI_PLATFORM_PCI_DATA PciData;
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/AcpiPlatform/ |
D | AcpiPlatform.c | 479 = mPlatformInfo->PciData.PciExpressBase; in PlatformUpdateTables() 481 = (UINT8)RShiftU64 (mPlatformInfo->PciData.PciExpressSize, 20) - 1; in PlatformUpdateTables()
|