/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/MultiPlatformLib/ |
D | MultiPlatformLib.c | 71 PlatformInfoHob->PciData.PciExpressSize = PcieLength; in MultiPlatformInfoInit() 72 PlatformInfoHob->PciData.PciExpressBase = PcdGet64 (PcdPciExpressBaseAddress); in MultiPlatformInfoInit() 74 …PlatformInfoHob->PciData.PciResourceMem32Base = (UINT32) (PlatformInfoHob->PciData.PciExpressBase… in MultiPlatformInfoInit() 75 …PlatformInfoHob->PciData.PciResourceMem32Limit = (UINT32) (PlatformInfoHob->PciData.PciExpressBase… in MultiPlatformInfoInit() 77 PlatformInfoHob->PciData.PciResourceMem64Base = RES_MEM64_36_BASE; in MultiPlatformInfoInit() 78 PlatformInfoHob->PciData.PciResourceMem64Limit = RES_MEM64_36_LIMIT; in MultiPlatformInfoInit() 81 PlatformInfoHob->MemData.MemMir0 = PlatformInfoHob->PciData.PciResourceMem64Base; in MultiPlatformInfoInit() 82 PlatformInfoHob->MemData.MemMir1 = PlatformInfoHob->PciData.PciResourceMem64Limit + 1; in MultiPlatformInfoInit() 84 …PlatformInfoHob->PciData.PciResourceMinSecBus = 1; //can be changed by SystemConfiguration->PciM… in MultiPlatformInfoInit() 89 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 | 88 DEBUG ((EFI_D_ERROR, "PCIE OSBASE: %lX\n", PlatformInfo->PciData.PciExpressBase)); in EndOfPeiPpiNotifyCallback() 92 PlatformInfo->PciData.PciExpressBase, in EndOfPeiPpiNotifyCallback() 93 PlatformInfo->PciData.PciExpressSize) in EndOfPeiPpiNotifyCallback() 98 PlatformInfo->PciData.PciResourceMem32Base, in EndOfPeiPpiNotifyCallback() 99 PlatformInfo->PciData.PciResourceMem32Limit) in EndOfPeiPpiNotifyCallback() 104 PlatformInfo->PciData.PciResourceMem64Base, in EndOfPeiPpiNotifyCallback() 105 PlatformInfo->PciData.PciResourceMem64Limit) in EndOfPeiPpiNotifyCallback() 116 HecBaseHigh = (UINT32) RShiftU64 (PlatformInfo->PciData.PciExpressBase, 28); in EndOfPeiPpiNotifyCallback() 280 PlatformInfo->PciData.PciExpressBase, in MemoryDiscoveredPpiNotifyCallback() 281 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/MdeModulePkg/Bus/Pci/SataControllerDxe/ |
D | SataController.c | 300 PCI_TYPE00 PciData; in SataControllerSupported() local 325 sizeof (PciData.Hdr.ClassCode), in SataControllerSupported() 326 PciData.Hdr.ClassCode in SataControllerSupported() 332 if (IS_PCI_IDE (&PciData) || IS_PCI_SATADPA (&PciData)) { in SataControllerSupported() 363 PCI_TYPE00 PciData; in SataControllerStart() local 414 sizeof (PciData.Hdr.ClassCode), in SataControllerStart() 415 PciData.Hdr.ClassCode in SataControllerStart() 419 if (IS_PCI_IDE (&PciData)) { in SataControllerStart() 422 } else if (IS_PCI_SATADPA (&PciData)) { in SataControllerStart()
|
/device/linaro/bootloader/edk2/CorebootModulePkg/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/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/OpenPlatformPkg/Drivers/SdMmc/DwMmcHcDxe/ |
D | DwMmcHcDxe.c | 435 PCI_TYPE00 PciData; in DwMmcHcDriverBindingSupported() local 501 sizeof (PciData), in DwMmcHcDriverBindingSupported() 502 &PciData in DwMmcHcDriverBindingSupported() 527 if ((PciData.Hdr.ClassCode[2] == PCI_CLASS_SYSTEM_PERIPHERAL) && in DwMmcHcDriverBindingSupported() 528 (PciData.Hdr.ClassCode[1] == PCI_SUBCLASS_SD_HOST_CONTROLLER) && in DwMmcHcDriverBindingSupported() 529 ((PciData.Hdr.ClassCode[0] == 0x00) || (PciData.Hdr.ClassCode[0] == 0x01))) { in DwMmcHcDriverBindingSupported()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/ |
D | SdMmcPciHcDxe.c | 383 PCI_TYPE00 PciData; in SdMmcPciHcDriverBindingSupported() local 440 sizeof (PciData), in SdMmcPciHcDriverBindingSupported() 441 &PciData in SdMmcPciHcDriverBindingSupported() 466 if ((PciData.Hdr.ClassCode[2] == PCI_CLASS_SYSTEM_PERIPHERAL) && in SdMmcPciHcDriverBindingSupported() 467 (PciData.Hdr.ClassCode[1] == PCI_SUBCLASS_SD_HOST_CONTROLLER) && in SdMmcPciHcDriverBindingSupported() 468 ((PciData.Hdr.ClassCode[0] == 0x00) || (PciData.Hdr.ClassCode[0] == 0x01))) { in SdMmcPciHcDriverBindingSupported()
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/ |
D | SdMmcPciHcDxe.c | 386 PCI_TYPE00 PciData; in SdMmcPciHcDriverBindingSupported() local 443 sizeof (PciData), in SdMmcPciHcDriverBindingSupported() 444 &PciData in SdMmcPciHcDriverBindingSupported() 469 if ((PciData.Hdr.ClassCode[2] == PCI_CLASS_SYSTEM_PERIPHERAL) && in SdMmcPciHcDriverBindingSupported() 470 (PciData.Hdr.ClassCode[1] == PCI_SUBCLASS_SD_HOST_CONTROLLER) && in SdMmcPciHcDriverBindingSupported() 471 ((PciData.Hdr.ClassCode[0] == 0x00) || (PciData.Hdr.ClassCode[0] == 0x01))) { in SdMmcPciHcDriverBindingSupported()
|
/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 | 934 PCI_TYPE00 PciData; in GetIdeRegisterIoAddr() local 947 sizeof (PciData), in GetIdeRegisterIoAddr() 948 &PciData in GetIdeRegisterIoAddr() 955 BusMasterBaseAddr = (UINT16) ((PciData.Device.Bar[4] & 0x0000fff0)); in GetIdeRegisterIoAddr() 957 if ((PciData.Hdr.ClassCode[0] & IDE_PRIMARY_OPERATING_MODE) == 0) { in GetIdeRegisterIoAddr() 964 if ((PciData.Device.Bar[0] & BIT0) == 0 || in GetIdeRegisterIoAddr() 965 (PciData.Device.Bar[1] & BIT0) == 0) { in GetIdeRegisterIoAddr() 969 CommandBlockBaseAddr = (UINT16) (PciData.Device.Bar[0] & 0x0000fff8); in GetIdeRegisterIoAddr() 970 ControlBlockBaseAddr = (UINT16) ((PciData.Device.Bar[1] & 0x0000fffc) + 2); in GetIdeRegisterIoAddr() 987 if ((PciData.Hdr.ClassCode[0] & IDE_SECONDARY_OPERATING_MODE) == 0) { in GetIdeRegisterIoAddr() [all …]
|
D | AtaAtapiPassThru.c | 533 PCI_TYPE00 PciData; in AtaAtapiPassThruSupported() local 612 sizeof (PciData.Hdr.ClassCode), in AtaAtapiPassThruSupported() 613 PciData.Hdr.ClassCode in AtaAtapiPassThruSupported() 619 if (IS_PCI_IDE (&PciData) || IS_PCI_SATADPA (&PciData)) { in AtaAtapiPassThruSupported() 1180 PCI_TYPE00 PciData; in EnumerateAttachedDevice() local 1189 sizeof (PciData.Hdr.ClassCode), in EnumerateAttachedDevice() 1190 PciData.Hdr.ClassCode in EnumerateAttachedDevice() 1194 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/OpenPlatformPkg/Drivers/Block/DwUfsHcDxe/ |
D | DwUfsHcDxe.c | 649 PCI_TYPE00 PciData; in UfsHcDriverBindingSupported() local 704 sizeof (PciData), in UfsHcDriverBindingSupported() 705 &PciData in UfsHcDriverBindingSupported() 730 if (PciData.Hdr.ClassCode[2] == PCI_CLASS_MASS_STORAGE) { in UfsHcDriverBindingSupported() 731 if (PciData.Hdr.ClassCode[1] == 0x09 ) { //UFS Controller Subclass in UfsHcDriverBindingSupported()
|
/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
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/PciHostBridgeDxe/ |
D | PciHostBridge.h | 476 UINTN PciData; member
|