Home
last modified time | relevance | path

Searched refs:PcdGet32 (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/device/linaro/bootloader/edk2/ArmPlatformPkg/Include/Drivers/
DHdLcd.h22 #define HDLCD_REG_VERSION ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x000)
23 #define HDLCD_REG_INT_RAWSTAT ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x010)
24 #define HDLCD_REG_INT_CLEAR ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x014)
25 #define HDLCD_REG_INT_MASK ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x018)
26 #define HDLCD_REG_INT_STATUS ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x01C)
27 #define HDLCD_REG_FB_BASE ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x100)
28 #define HDLCD_REG_FB_LINE_LENGTH ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x104)
29 #define HDLCD_REG_FB_LINE_COUNT ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x108)
30 #define HDLCD_REG_FB_LINE_PITCH ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x10C)
31 #define HDLCD_REG_BUS_OPTIONS ((UINTN)PcdGet32 (PcdArmHdLcdBase) + 0x110)
[all …]
DSP805Watchdog.h20 #define SP805_WDOG_LOAD_REG ((UINT32)PcdGet32 (PcdSP805WatchdogBase) + 0x000)
21 #define SP805_WDOG_CURRENT_REG ((UINT32)PcdGet32 (PcdSP805WatchdogBase) + 0x004)
22 #define SP805_WDOG_CONTROL_REG ((UINT32)PcdGet32 (PcdSP805WatchdogBase) + 0x008)
23 #define SP805_WDOG_INT_CLR_REG ((UINT32)PcdGet32 (PcdSP805WatchdogBase) + 0x00C)
24 #define SP805_WDOG_RAW_INT_STS_REG ((UINT32)PcdGet32 (PcdSP805WatchdogBase) + 0x010)
25 #define SP805_WDOG_MSK_INT_STS_REG ((UINT32)PcdGet32 (PcdSP805WatchdogBase) + 0x014)
26 #define SP805_WDOG_LOCK_REG ((UINT32)PcdGet32 (PcdSP805WatchdogBase) + 0xC00)
28 #define SP805_WDOG_PERIPH_ID0 ((UINT32)PcdGet32 (PcdSP805WatchdogBase) + 0xFE0)
29 #define SP805_WDOG_PERIPH_ID1 ((UINT32)PcdGet32 (PcdSP805WatchdogBase) + 0xFE4)
30 #define SP805_WDOG_PERIPH_ID2 ((UINT32)PcdGet32 (PcdSP805WatchdogBase) + 0xFE8)
[all …]
DPL111Lcd.h25 #define PL111_REG_LCD_TIMING_0 ((UINTN)PcdGet32 (PcdPL111LcdBase) + 0x000)
26 #define PL111_REG_LCD_TIMING_1 ((UINTN)PcdGet32 (PcdPL111LcdBase) + 0x004)
27 #define PL111_REG_LCD_TIMING_2 ((UINTN)PcdGet32 (PcdPL111LcdBase) + 0x008)
28 #define PL111_REG_LCD_TIMING_3 ((UINTN)PcdGet32 (PcdPL111LcdBase) + 0x00C)
29 #define PL111_REG_LCD_UP_BASE ((UINTN)PcdGet32 (PcdPL111LcdBase) + 0x010)
30 #define PL111_REG_LCD_LP_BASE ((UINTN)PcdGet32 (PcdPL111LcdBase) + 0x014)
31 #define PL111_REG_LCD_CONTROL ((UINTN)PcdGet32 (PcdPL111LcdBase) + 0x018)
32 #define PL111_REG_LCD_IMSC ((UINTN)PcdGet32 (PcdPL111LcdBase) + 0x01C)
33 #define PL111_REG_LCD_RIS ((UINTN)PcdGet32 (PcdPL111LcdBase) + 0x020)
34 #define PL111_REG_LCD_MIS ((UINTN)PcdGet32 (PcdPL111LcdBase) + 0x024)
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Mmc/DwEmmcDxe/
DDwEmmc.h22 #define DWEMMC_CTRL ((UINT32)PcdGet32 (PcdDwEmmcDxeBaseAddress) + 0x000)
23 #define DWEMMC_PWREN ((UINT32)PcdGet32 (PcdDwEmmcDxeBaseAddress) + 0x004)
24 #define DWEMMC_CLKDIV ((UINT32)PcdGet32 (PcdDwEmmcDxeBaseAddress) + 0x008)
25 #define DWEMMC_CLKSRC ((UINT32)PcdGet32 (PcdDwEmmcDxeBaseAddress) + 0x00c)
26 #define DWEMMC_CLKENA ((UINT32)PcdGet32 (PcdDwEmmcDxeBaseAddress) + 0x010)
27 #define DWEMMC_TMOUT ((UINT32)PcdGet32 (PcdDwEmmcDxeBaseAddress) + 0x014)
28 #define DWEMMC_CTYPE ((UINT32)PcdGet32 (PcdDwEmmcDxeBaseAddress) + 0x018)
29 #define DWEMMC_BLKSIZ ((UINT32)PcdGet32 (PcdDwEmmcDxeBaseAddress) + 0x01c)
30 #define DWEMMC_BYTCNT ((UINT32)PcdGet32 (PcdDwEmmcDxeBaseAddress) + 0x020)
31 #define DWEMMC_INTMASK ((UINT32)PcdGet32 (PcdDwEmmcDxeBaseAddress) + 0x024)
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/PlatformPei/
DFv.c45 PcdGet32 (PcdOvmfPeiMemFvBase), in PeiFvInitialization()
46 PcdGet32 (PcdOvmfPeiMemFvSize), in PeiFvInitialization()
53 BuildFvHob (PcdGet32 (PcdOvmfDxeMemFvBase), PcdGet32 (PcdOvmfDxeMemFvSize)); in PeiFvInitialization()
66 PcdGet32 (PcdOvmfDxeMemFvBase), in PeiFvInitialization()
67 PcdGet32 (PcdOvmfDxeMemFvSize), in PeiFvInitialization()
78 DxeMemFvEnd = PcdGet32 (PcdOvmfDxeMemFvBase) + in PeiFvInitialization()
79 PcdGet32 (PcdOvmfDxeMemFvSize); in PeiFvInitialization()
82 PcdGet32 (PcdOvmfDecompressionScratchEnd) - DxeMemFvEnd, in PeiFvInitialization()
92 (VOID *)(UINTN) PcdGet32 (PcdOvmfDxeMemFvBase), in PeiFvInitialization()
93 PcdGet32 (PcdOvmfDxeMemFvSize), in PeiFvInitialization()
DMemDetect.c362 PcdGet32 (PcdCpuApStackSize); in PublishPeiMemory()
386 PcdGet32 (PcdOvmfDecompressionScratchEnd) : in PublishPeiMemory()
387 PcdGet32 (PcdOvmfDxeMemFvBase) + PcdGet32 (PcdOvmfDxeMemFvSize); in PublishPeiMemory()
549 PcdGet32 (PcdOvmfSecPeiTempRamBase), in InitializeRamRegions()
550 PcdGet32 (PcdOvmfSecPeiTempRamSize), in InitializeRamRegions()
559 PcdGet32 (PcdGuidedExtractHandlerTableSize), in InitializeRamRegions()
571 (EFI_PHYSICAL_ADDRESS)(UINTN) PcdGet32 (PcdOvmfSecPageTablesBase), in InitializeRamRegions()
572 (UINT64)(UINTN) PcdGet32 (PcdOvmfSecPageTablesSize), in InitializeRamRegions()
591 (VOID*)(UINTN) PcdGet32 (PcdOvmfLockBoxStorageBase), in InitializeRamRegions()
592 (UINTN) PcdGet32 (PcdOvmfLockBoxStorageSize) in InitializeRamRegions()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/SpiFvbServices/
DFvbInfo.c243 mPlatformFtwFvbInfo[0].BaseAddress = PcdGet32 (PcdFlashNvStorageFtwWorkingBase); in GetFtwFvbInfo()
244 mPlatformFtwFvbInfo[0].FvbInfo.FvLength = PcdGet32 (PcdFlashNvStorageFtwWorkingSize); in GetFtwFvbInfo()
245 …mPlatformFtwFvbInfo[0].FvbInfo.BlockMap[0].NumBlocks = PcdGet32 (PcdFlashNvStorageFtwWorkingSize) … in GetFtwFvbInfo()
247 ASSERT ((PcdGet32 (PcdFlashNvStorageFtwWorkingSize) % FVB_MEDIA_BLOCK_SIZE) == 0); in GetFtwFvbInfo()
249 mPlatformFtwFvbInfo[1].BaseAddress = PcdGet32 (PcdFlashNvStorageFtwSpareBase); in GetFtwFvbInfo()
250 mPlatformFtwFvbInfo[1].FvbInfo.FvLength = PcdGet32 (PcdFlashNvStorageFtwSpareSize); in GetFtwFvbInfo()
251 …mPlatformFtwFvbInfo[1].FvbInfo.BlockMap[0].NumBlocks = PcdGet32 (PcdFlashNvStorageFtwSpareSize) / … in GetFtwFvbInfo()
253 ASSERT ((PcdGet32 (PcdFlashNvStorageFtwSpareSize) % FVB_MEDIA_BLOCK_SIZE) == 0); in GetFtwFvbInfo()
292 mPlatformFvbMediaInfo[0].BaseAddress = PcdGet32 (PcdFlashFvMainBase); in GetFvbInfo()
293 mPlatformFvbMediaInfo[0].FvbInfo.FvLength = PcdGet32 (PcdFlashFvMainSize); in GetFvbInfo()
[all …]
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtFirmwareVolumePei/
DWinntFwh.c110 PcdGet32 (PcdFlashNvStorageVariableSize) + in PeimInitializeWinNtFwh()
111 PcdGet32 (PcdFlashNvStorageFtwWorkingSize) + in PeimInitializeWinNtFwh()
112 PcdGet32 (PcdFlashNvStorageFtwSpareSize) + in PeimInitializeWinNtFwh()
113 PcdGet32 (PcdWinNtFlashNvStorageEventLogSize) in PeimInitializeWinNtFwh()
121 PcdGet32 (PcdFlashNvStorageVariableSize) + in PeimInitializeWinNtFwh()
122 PcdGet32 (PcdFlashNvStorageFtwWorkingSize) + in PeimInitializeWinNtFwh()
123 PcdGet32 (PcdFlashNvStorageFtwSpareSize) + in PeimInitializeWinNtFwh()
124 PcdGet32 (PcdWinNtFlashNvStorageEventLogSize); in PeimInitializeWinNtFwh()
126 BuildFvHob (FdBase + PcdGet32 (PcdWinNtFlashNvStorageVariableBase), FdSize); in PeimInitializeWinNtFwh()
/device/linaro/bootloader/edk2/EmulatorPkg/FirmwareVolumePei/
DFirmwareVolumePei.c95 PcdGet32 (PcdFlashNvStorageVariableSize) + in PeimInitializeFirmwareVolumePei()
96 PcdGet32 (PcdFlashNvStorageFtwWorkingSize) + in PeimInitializeFirmwareVolumePei()
97 PcdGet32 (PcdFlashNvStorageFtwSpareSize) + in PeimInitializeFirmwareVolumePei()
98 PcdGet32 (PcdEmuFlashNvStorageEventLogSize) in PeimInitializeFirmwareVolumePei()
107 PcdGet32 (PcdFlashNvStorageVariableSize) + in PeimInitializeFirmwareVolumePei()
108 PcdGet32 (PcdFlashNvStorageFtwWorkingSize) + in PeimInitializeFirmwareVolumePei()
109 PcdGet32 (PcdFlashNvStorageFtwSpareSize) + in PeimInitializeFirmwareVolumePei()
110 PcdGet32 (PcdEmuFlashNvStorageEventLogSize); in PeimInitializeFirmwareVolumePei()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/
DNorFlashFvbDxe.c70 …ASSERT(PcdGet32(PcdFlashNvStorageVariableBase) + PcdGet32(PcdFlashNvStorageVariableSize) == PcdGet… in InitializeFvAndVariableStoreHeaders()
71 …ASSERT(PcdGet32(PcdFlashNvStorageFtwWorkingBase) + PcdGet32(PcdFlashNvStorageFtwWorkingSize) == Pc… in InitializeFvAndVariableStoreHeaders()
74 …ASSERT((PcdGet32(PcdFlashNvStorageVariableSize) > 0) && (PcdGet32(PcdFlashNvStorageVariableSize) /… in InitializeFvAndVariableStoreHeaders()
75 …ASSERT((PcdGet32(PcdFlashNvStorageFtwWorkingSize) > 0) && (PcdGet32(PcdFlashNvStorageFtwWorkingSiz… in InitializeFvAndVariableStoreHeaders()
76 …ASSERT((PcdGet32(PcdFlashNvStorageFtwSpareSize) > 0) && (PcdGet32(PcdFlashNvStorageFtwSpareSize) /… in InitializeFvAndVariableStoreHeaders()
79 ASSERT(PcdGet32(PcdFlashNvStorageVariableBase) % Instance->Media.BlockSize == 0); in InitializeFvAndVariableStoreHeaders()
80 ASSERT(PcdGet32(PcdFlashNvStorageFtwWorkingBase) % Instance->Media.BlockSize == 0); in InitializeFvAndVariableStoreHeaders()
81 ASSERT(PcdGet32(PcdFlashNvStorageFtwSpareBase) % Instance->Media.BlockSize == 0); in InitializeFvAndVariableStoreHeaders()
89 PcdGet32(PcdFlashNvStorageVariableSize) + in InitializeFvAndVariableStoreHeaders()
90 PcdGet32(PcdFlashNvStorageFtwWorkingSize) + in InitializeFvAndVariableStoreHeaders()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/MemoryInitPei/
DMemoryInitPeim.c49 Info[0].NumberOfPages = PcdGet32 (PcdMemoryTypeEfiACPIReclaimMemory); in BuildMemoryTypeInformationHob()
51 Info[1].NumberOfPages = PcdGet32 (PcdMemoryTypeEfiACPIMemoryNVS); in BuildMemoryTypeInformationHob()
53 Info[2].NumberOfPages = PcdGet32 (PcdMemoryTypeEfiReservedMemoryType); in BuildMemoryTypeInformationHob()
55 Info[3].NumberOfPages = PcdGet32 (PcdMemoryTypeEfiRuntimeServicesData); in BuildMemoryTypeInformationHob()
57 Info[4].NumberOfPages = PcdGet32 (PcdMemoryTypeEfiRuntimeServicesCode); in BuildMemoryTypeInformationHob()
59 Info[5].NumberOfPages = PcdGet32 (PcdMemoryTypeEfiBootServicesCode); in BuildMemoryTypeInformationHob()
61 Info[6].NumberOfPages = PcdGet32 (PcdMemoryTypeEfiBootServicesData); in BuildMemoryTypeInformationHob()
63 Info[7].NumberOfPages = PcdGet32 (PcdMemoryTypeEfiLoaderCode); in BuildMemoryTypeInformationHob()
65 Info[8].NumberOfPages = PcdGet32 (PcdMemoryTypeEfiLoaderData); in BuildMemoryTypeInformationHob()
124 FdTop = FdBase + (UINTN)PcdGet32 (PcdFdSize); in InitializeMemory()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/
DMemoryCallback.c186 if (PcdGet32 (PcdESramMemorySize) > 0) { in MemoryDiscoveredPpiNotifyCallback()
187 if (PcdGet32 (PcdEsramStage1Base) == 0) { in MemoryDiscoveredPpiNotifyCallback()
193 ZeroMem ((VOID *)1, (UINTN)PcdGet32 (PcdESramMemorySize) - 1); in MemoryDiscoveredPpiNotifyCallback()
196 (VOID *)(UINTN)PcdGet32 (PcdEsramStage1Base), in MemoryDiscoveredPpiNotifyCallback()
197 (UINTN)PcdGet32 (PcdESramMemorySize) in MemoryDiscoveredPpiNotifyCallback()
231 (VOID *) (UINTN) PcdGet32 (PcdFlashFvMainBase), in MemoryDiscoveredPpiNotifyCallback()
232 PcdGet32 (PcdFlashFvMainSize), in MemoryDiscoveredPpiNotifyCallback()
242 PcdGet32 (PcdFlashFvMainBase), in MemoryDiscoveredPpiNotifyCallback()
243 PcdGet32 (PcdFlashFvMainSize) in MemoryDiscoveredPpiNotifyCallback()
251 PcdGet32 (PcdFlashFvPayloadBase), in MemoryDiscoveredPpiNotifyCallback()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformPei/
DMemoryCallback.c130 …Size = (PcdGet32 (PcdFlashFvRecovery2Base) - PcdGet32 (PcdFlashFvMainBase)) + FixedPcdGet32(PcdFla… in MemoryDiscoveredPpiNotifyCallback()
141 … (VOID *) ((UINTN) Memory + (PcdGet32 (PcdFlashFvRecovery2Base) - PcdGet32 (PcdFlashFvMainBase))), in MemoryDiscoveredPpiNotifyCallback()
142 PcdGet32 (PcdFlashFvRecovery2Size), in MemoryDiscoveredPpiNotifyCallback()
150 PcdGet32 (PcdFlashFvMainSize), in MemoryDiscoveredPpiNotifyCallback()
160 (VOID *) (UINTN) (PcdGet32 (PcdFlashFvRecovery2Base)), in MemoryDiscoveredPpiNotifyCallback()
161 PcdGet32 (PcdFlashFvRecovery2Size), in MemoryDiscoveredPpiNotifyCallback()
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtFlashMapPei/
DFlashMap.c90 …PcdSet64 (PcdFlashNvStorageVariableBase64, PcdGet32 (PcdWinNtFlashNvStorageVariableBase) + (UINT64… in PeimInitializeFlashMap()
91 …PcdSet64 (PcdFlashNvStorageFtwWorkingBase64, PcdGet32 (PcdWinNtFlashNvStorageFtwWorkingBase) + (UI… in PeimInitializeFlashMap()
92 …PcdSet64 (PcdFlashNvStorageFtwSpareBase64, PcdGet32 (PcdWinNtFlashNvStorageFtwSpareBase) + (UINT64… in PeimInitializeFlashMap()
94 …PcdSet32 (PcdFlashNvStorageVariableBase, PcdGet32 (PcdWinNtFlashNvStorageVariableBase) + (UINT32) … in PeimInitializeFlashMap()
95 …PcdSet32 (PcdFlashNvStorageFtwWorkingBase, PcdGet32 (PcdWinNtFlashNvStorageFtwWorkingBase) + (UINT… in PeimInitializeFlashMap()
96 …PcdSet32 (PcdFlashNvStorageFtwSpareBase, PcdGet32 (PcdWinNtFlashNvStorageFtwSpareBase) + (UINT32) … in PeimInitializeFlashMap()
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/FlashFvbDxe/
DFlashFvbDxe.c148 …ASSERT(PcdGet32(PcdFlashNvStorageVariableBase) + PcdGet32(PcdFlashNvStorageVariableSize) == PcdGet… in InitializeFvAndVariableStoreHeaders()
149 …ASSERT(PcdGet32(PcdFlashNvStorageFtwWorkingBase) + PcdGet32(PcdFlashNvStorageFtwWorkingSize) == Pc… in InitializeFvAndVariableStoreHeaders()
152 …ASSERT((PcdGet32(PcdFlashNvStorageVariableSize) > 0) && ((UINT32)PcdGet32(PcdFlashNvStorageVariabl… in InitializeFvAndVariableStoreHeaders()
153 …ASSERT((PcdGet32(PcdFlashNvStorageFtwWorkingSize) > 0) && ((UINT32)PcdGet32(PcdFlashNvStorageFtwWo… in InitializeFvAndVariableStoreHeaders()
154 …ASSERT((PcdGet32(PcdFlashNvStorageFtwSpareSize) > 0) && ((UINT32)PcdGet32(PcdFlashNvStorageFtwSpar… in InitializeFvAndVariableStoreHeaders()
157 ASSERT((UINT32)PcdGet32(PcdFlashNvStorageVariableBase) % Instance->Media.BlockSize == 0); in InitializeFvAndVariableStoreHeaders()
158 ASSERT((UINT32)PcdGet32(PcdFlashNvStorageFtwWorkingBase) % Instance->Media.BlockSize == 0); in InitializeFvAndVariableStoreHeaders()
159 ASSERT((UINT32)PcdGet32(PcdFlashNvStorageFtwSpareBase) % Instance->Media.BlockSize == 0); in InitializeFvAndVariableStoreHeaders()
167 PcdGet32(PcdFlashNvStorageVariableSize) + in InitializeFvAndVariableStoreHeaders()
168 PcdGet32(PcdFlashNvStorageFtwWorkingSize) + in InitializeFvAndVariableStoreHeaders()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformSecLib/
DPlatformSecLib.c82 PcdGet32 (PcdFlashAreaBaseAddress), in PlatformSecLibStartup()
83 PcdGet32 (PcdFlashAreaSize), in PlatformSecLibStartup()
91 PcdGet32 (PcdEsramStage1Base), in PlatformSecLibStartup()
104 PcdGet32 (PcdEsramStage1Base) + SIZE_512KB - SIZE_32KB, in PlatformSecLibStartup()
105 (VOID *)(UINTN)PcdGet32 (PcdFlashFvRecoveryBase) in PlatformSecLibStartup()
163 TopOfStack = (UINT32 *)(UINTN)(PcdGet32 (PcdEsramStage1Base) + SIZE_512KB); in SecPlatformInformation()
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/Omap35xxTimerLib/
DTimerLib.c32 UINTN Timer = PcdGet32(PcdOmap35xxFreeTimer); in TimerConstructor()
89 Delay = (NanoSeconds / PcdGet32(PcdEmbeddedPerformanceCounterPeriodInNanoseconds)) + 1; in NanoSecondDelay()
91 TimerCountRegister = TimerBase(PcdGet32(PcdOmap35xxFreeTimer)) + GPTIMER_TCRR; in NanoSecondDelay()
101 NanoSeconds = ElapsedTime * PcdGet32(PcdEmbeddedPerformanceCounterPeriodInNanoseconds); in NanoSecondDelay()
112 return (UINT64)MmioRead32 (TimerBase(PcdGet32(PcdOmap35xxFreeTimer)) + GPTIMER_TCRR); in GetPerformanceCounter()
124 *StartValue = (UINT64)MmioRead32 (TimerBase(PcdGet32(PcdOmap35xxFreeTimer)) + GPTIMER_TLDR); in GetPerformanceCounterProperties()
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/GdbSerialLib/
DGdbSerialLib.c51 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in GdbIsCharAvailable()
66 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in GdbGetChar()
67 UINT32 RBR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_RBR_REG; in GdbGetChar()
82 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in GdbPutChar()
83 UINT32 THR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_THR_REG; in GdbPutChar()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/
DString.c179 if (PcdGet32 (PcdMaximumUnicodeStringLength) != 0) { in GlueStrLen()
180 ASSERT (Length < PcdGet32 (PcdMaximumUnicodeStringLength)); in GlueStrLen()
471 if (PcdGet32 (PcdMaximumUnicodeStringLength) != 0) { in StrStr()
472 ASSERT (StrLen (String) < PcdGet32 (PcdMaximumUnicodeStringLength)); in StrStr()
479 if (PcdGet32 (PcdMaximumUnicodeStringLength) != 0) { in StrStr()
480 ASSERT (StrLen (SearchString) < PcdGet32 (PcdMaximumAsciiStringLength)); in StrStr()
659 ASSERT (StrLen (String) < PcdGet32 (PcdMaximumUnicodeStringLength)); in StrDecimalToUintn()
739 ASSERT (StrLen (String) < PcdGet32 (PcdMaximumUnicodeStringLength)); in StrDecimalToUint64()
819 ASSERT (StrLen (String) < PcdGet32 (PcdMaximumUnicodeStringLength)); in StrHexToUintn()
911 ASSERT (StrLen (String) < PcdGet32 (PcdMaximumUnicodeStringLength)); in StrHexToUint64()
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/
Dlimits.h94 #if (PcdGet32(PcdMaximumAsciiStringLength) > 0)
96 #define ASCII_STRING_MAX PcdGet32(PcdMaximumAsciiStringLength)
102 #if (PcdGet32(PcdMaximumUnicodeStringLength) > 0)
104 #define UNICODE_STRING_MAX PcdGet32(PcdMaximumUnicodeStringLength)
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/PeiMain/
DPeiMain.c190 for (Index = 0; Index < PcdGet32 (PcdPeiCoreMaxFvSupported); Index ++) { in PeiCore()
202 for (Index = 0; Index < PcdGet32 (PcdPeiCoreMaxFvSupported); Index ++) { in PeiCore()
255 …OldCoreData->PeiCodeMemoryRangeUsageBitMap = AllocateZeroPool (((PcdGet32(PcdLoadFixAddressPeiCode… in PeiCore()
322 …PrivateData.PpiData.PpiListPtrs = AllocateZeroPool (sizeof (PEI_PPI_LIST_POINTERS) * PcdGet32 (Pc… in PeiCore()
324 …PrivateData.Fv = AllocateZeroPool (sizeof (PEI_CORE_FV_HANDLE) * PcdGet32 (PcdPe… in PeiCore()
326 …].PeimState = AllocateZeroPool (sizeof (UINT8) * PcdGet32 (PcdPeiCoreMaxPeimPerFv) * PcdGet32 in PeiCore()
328 …s = AllocateZeroPool (sizeof (EFI_PEI_FILE_HANDLE) * PcdGet32 (PcdPeiCoreMaxPeimPerFv) * PcdGet32 in PeiCore()
330 for (Index = 1; Index < PcdGet32 (PcdPeiCoreMaxFvSupported); Index ++) { in PeiCore()
331 …PrivateData.Fv[Index].PeimState = PrivateData.Fv[Index - 1].PeimState + PcdGet32 (PcdPeiCoreMa… in PeiCore()
332 …PrivateData.Fv[Index].FvFileHandles = PrivateData.Fv[Index - 1].FvFileHandles + PcdGet32 (PcdPeiCo… in PeiCore()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeCapsuleLibFmp/
DDxeCapsuleProcessLib.c326 …PORT_STATUS_CODE(EFI_PROGRESS_CODE, (EFI_SOFTWARE | PcdGet32(PcdStatusCodeSubClassCapsule) | PcdGe… in ProcessTheseCapsules()
352 …PORT_STATUS_CODE(EFI_PROGRESS_CODE, (EFI_SOFTWARE | PcdGet32(PcdStatusCodeSubClassCapsule) | PcdGe… in ProcessTheseCapsules()
412 …REPORT_STATUS_CODE(EFI_ERROR_CODE, (EFI_SOFTWARE | PcdGet32(PcdStatusCodeSubClassCapsule) | PcdGet… in ProcessTheseCapsules()
416 …PORT_STATUS_CODE(EFI_PROGRESS_CODE, (EFI_SOFTWARE | PcdGet32(PcdStatusCodeSubClassCapsule) | PcdGe… in ProcessTheseCapsules()
437 …PORT_STATUS_CODE(EFI_PROGRESS_CODE, (EFI_SOFTWARE | PcdGet32(PcdStatusCodeSubClassCapsule) | PcdGe… in ProcessTheseCapsules()
452 …PORT_STATUS_CODE(EFI_PROGRESS_CODE, (EFI_SOFTWARE | PcdGet32(PcdStatusCodeSubClassCapsule) | PcdGe… in DoResetSystem()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/
DMadtPlatform.c30 …mConfigData->MadtInterruptSetting[0].GlobalIrq = PcdGet32 (PcdInterruptOverrideSettingTable0Globa… in InitMadtConfigData()
36 …mConfigData->MadtInterruptSetting[1].GlobalIrq = PcdGet32 (PcdInterruptOverrideSettingTable1Globa… in InitMadtConfigData()
42 …mConfigData->MadtInterruptSetting[2].GlobalIrq = PcdGet32 (PcdInterruptOverrideSettingTable2Globa… in InitMadtConfigData()
48 …mConfigData->MadtInterruptSetting[3].GlobalIrq = PcdGet32 (PcdInterruptOverrideSettingTable3Globa… in InitMadtConfigData()
54 …mConfigData->MadtInterruptSetting[4].GlobalIrq = PcdGet32 (PcdInterruptOverrideSettingTable4Globa… in InitMadtConfigData()
60 …mConfigData->MadtInterruptSetting[5].GlobalIrq = PcdGet32 (PcdInterruptOverrideSettingTable5Globa… in InitMadtConfigData()
66 …mConfigData->MadtInterruptSetting[6].GlobalIrq = PcdGet32 (PcdInterruptOverrideSettingTable6Globa… in InitMadtConfigData()
72 …mConfigData->MadtInterruptSetting[7].GlobalIrq = PcdGet32 (PcdInterruptOverrideSettingTable7Globa… in InitMadtConfigData()
78 …mConfigData->MadtInterruptSetting[8].GlobalIrq = PcdGet32 (PcdInterruptOverrideSettingTable8Globa… in InitMadtConfigData()
84 …mConfigData->MadtInterruptSetting[9].GlobalIrq = PcdGet32 (PcdInterruptOverrideSettingTable9Globa… in InitMadtConfigData()
[all …]
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/SerialPortLib/
DSerialPortLib.c60 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in SerialPortWrite()
61 UINT32 THR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_THR_REG; in SerialPortWrite()
90 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in SerialPortRead()
91 UINT32 RBR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_RBR_REG; in SerialPortRead()
117 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in SerialPortPoll()
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/
DDebugCommunicationLibUsb.c184 VendorId = PciRead16 (PcdGet32(PcdUsbEhciPciAddress) + PCI_VENDOR_ID_OFFSET); in CalculateUsbDebugPortBar()
185 DeviceId = PciRead16 (PcdGet32(PcdUsbEhciPciAddress) + PCI_DEVICE_ID_OFFSET); in CalculateUsbDebugPortBar()
191 ProgInterface = PciRead8 (PcdGet32(PcdUsbEhciPciAddress) + PCI_CLASSCODE_OFFSET); in CalculateUsbDebugPortBar()
192 SubClassCode = PciRead8 (PcdGet32(PcdUsbEhciPciAddress) + PCI_CLASSCODE_OFFSET + 1); in CalculateUsbDebugPortBar()
193 BaseCode = PciRead8 (PcdGet32(PcdUsbEhciPciAddress) + PCI_CLASSCODE_OFFSET + 2); in CalculateUsbDebugPortBar()
202 PciStatus = PciRead16 (PcdGet32(PcdUsbEhciPciAddress) + PCI_PRIMARY_STATUS_OFFSET); in CalculateUsbDebugPortBar()
214 CapabilityPtr = PciRead8(PcdGet32(PcdUsbEhciPciAddress) + PCI_CAPBILITY_POINTER_OFFSET); in CalculateUsbDebugPortBar()
220 CapabilityId = PciRead8(PcdGet32(PcdUsbEhciPciAddress) + CapabilityPtr); in CalculateUsbDebugPortBar()
224 CapabilityPtr = PciRead8(PcdGet32(PcdUsbEhciPciAddress) + CapabilityPtr + 1); in CalculateUsbDebugPortBar()
237 …*DebugPortOffset = (UINT16)(PciRead16(PcdGet32(PcdUsbEhciPciAddress) + CapabilityPtr + 2) & 0x1… in CalculateUsbDebugPortBar()
[all …]

12345678910>>...14