/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Tools/ |
D | generate_image.c | 133 unsigned int Value; in PopulateCHSETTINGSData() local 142 fscanf(DataFile, "PRM_CLKSRC_CTRL=0x%08x\n", &Value); in PopulateCHSETTINGSData() 143 CHSETTINGSData->PRM_CLKSRC_CTRL = Value; in PopulateCHSETTINGSData() 144 fscanf(DataFile, "PRM_CLKSEL=0x%08x\n", &Value); in PopulateCHSETTINGSData() 145 CHSETTINGSData->PRM_CLKSEL = Value; in PopulateCHSETTINGSData() 146 fscanf(DataFile, "CM_CLKSEL1_EMU=0x%08x\n", &Value); in PopulateCHSETTINGSData() 147 CHSETTINGSData->CM_CLKSEL1_EMU = Value; in PopulateCHSETTINGSData() 150 fscanf(DataFile, "CM_CLKSEL_CORE=0x%08x\n", &Value); in PopulateCHSETTINGSData() 151 CHSETTINGSData->CM_CLKSEL_CORE = Value; in PopulateCHSETTINGSData() 152 fscanf(DataFile, "CM_CLKSEL_WKUP=0x%08x\n", &Value); in PopulateCHSETTINGSData() [all …]
|
/device/linaro/bootloader/edk2/BeagleBoardPkg/Tools/ |
D | generate_image.c | 133 unsigned int Value; in PopulateCHSETTINGSData() local 142 fscanf(DataFile, "PRM_CLKSRC_CTRL=0x%08x\n", &Value); in PopulateCHSETTINGSData() 143 CHSETTINGSData->PRM_CLKSRC_CTRL = Value; in PopulateCHSETTINGSData() 144 fscanf(DataFile, "PRM_CLKSEL=0x%08x\n", &Value); in PopulateCHSETTINGSData() 145 CHSETTINGSData->PRM_CLKSEL = Value; in PopulateCHSETTINGSData() 146 fscanf(DataFile, "CM_CLKSEL1_EMU=0x%08x\n", &Value); in PopulateCHSETTINGSData() 147 CHSETTINGSData->CM_CLKSEL1_EMU = Value; in PopulateCHSETTINGSData() 150 fscanf(DataFile, "CM_CLKSEL_CORE=0x%08x\n", &Value); in PopulateCHSETTINGSData() 151 CHSETTINGSData->CM_CLKSEL_CORE = Value; in PopulateCHSETTINGSData() 152 fscanf(DataFile, "CM_CLKSEL_WKUP=0x%08x\n", &Value); in PopulateCHSETTINGSData() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/ |
D | Expression.c | 234 Data.Value.u64 = (UINT64) (UINTN) Pointer; in PushCurrentExpression() 268 *Pointer = (VOID *) (UINTN) Data.Value.u64; in PopCurrentExpression() 591 Data.Value.u64 = (UINT64) (UINTN) Pointer; in PushMapExpressionList() 625 *Pointer = (VOID *) (UINTN) Data.Value.u64; in PopMapExpressionList() 661 Data.Value.u8 = Operand; in PushScope() 696 *Operand = Data.Value.u8; in PopScope() 714 IN EFI_HII_VALUE *Value in PushExpression() argument 721 Value in PushExpression() 737 OUT EFI_HII_VALUE *Value in PopExpression() argument 743 Value in PopExpression() [all …]
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/EblCmdLib/Arm/ |
D | EblCmdMmu.c | 70 UINT32 Value; member 84 Entry.Value = Table[Index]; in MmuEntryCreate() 125 if ((Entry.Value & 0x3) == 0) { in MmuEntryGetAddress() 127 } else if ((Entry.Value & 0x3) == 2) { // Section Type in MmuEntryGetAddress() 128 return Entry.Value & TT_DESCRIPTOR_SECTION_BASE_ADDRESS_MASK; in MmuEntryGetAddress() 129 } else if ((Entry.Value & 0x3) == 1) { // Level2 Table in MmuEntryGetAddress() 130 MMU_ENTRY Level2Entry = MmuEntryCreate (Level2,(UINT32*)(Entry.Value & 0xFFFFC000),0); in MmuEntryGetAddress() 136 if ((Entry.Value & 0x3) == 0) { // Ignored in MmuEntryGetAddress() 138 } else if ((Entry.Value & 0x3) == 1) { // Large Page in MmuEntryGetAddress() 139 return Entry.Value & 0xFFFF0000; in MmuEntryGetAddress() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/ |
D | IoLibMsc.c | 81 UINT8 Value; in GlueIoRead8() local 84 Value = (UINT8)_inp ((UINT16)Port); in GlueIoRead8() 86 return Value; in GlueIoRead8() 108 IN UINT8 Value in GlueIoWrite8() argument 112 (UINT8)_outp ((UINT16)Port, Value); in GlueIoWrite8() 114 return Value; in GlueIoWrite8() 137 UINT16 Value; in GlueIoRead16() local 141 Value = _inpw ((UINT16)Port); in GlueIoRead16() 143 return Value; in GlueIoRead16() 165 IN UINT16 Value in GlueIoWrite16() argument [all …]
|
D | IoLibGcc.c | 65 IN UINT8 Value in MmioWrite8() argument 68 return *(volatile UINT8*)Address = Value; in MmioWrite8() 112 IN UINT16 Value in MmioWrite16() argument 116 return *(volatile UINT16*)Address = Value; in MmioWrite16() 160 IN UINT32 Value in MmioWrite32() argument 164 return *(volatile UINT32*)Address = Value; in MmioWrite32() 208 IN UINT64 Value in MmioWrite64() argument 212 return *(volatile UINT64*)Address = Value; in MmioWrite64() 264 IN UINT8 Value in IoWrite8() argument 267 __asm__ __volatile__ ("outb %b0,%w1" : : "a" (Value), "d" ((UINT16)Port)); in IoWrite8() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseIoLibIntrinsic/ |
D | IoLibArm.c | 65 IN UINT8 Value in IoWrite8() argument 69 return Value; in IoWrite8() 115 IN UINT16 Value in IoWrite16() argument 119 return Value; in IoWrite16() 165 IN UINT32 Value in IoWrite32() argument 169 return Value; in IoWrite32() 217 IN UINT64 Value in IoWrite64() argument 245 UINT8 Value; in MmioRead8() local 247 Value = *(volatile UINT8*)Address; in MmioRead8() 248 return Value; in MmioRead8() [all …]
|
D | IoLib.c | 62 IN UINT64 Value in IoWrite64() argument 90 UINT8 Value; in MmioRead8() local 93 Value = *(volatile UINT8*)Address; in MmioRead8() 96 return Value; in MmioRead8() 118 IN UINT8 Value in MmioWrite8() argument 122 *(volatile UINT8*)Address = Value; in MmioWrite8() 125 return Value; in MmioWrite8() 149 UINT16 Value; in MmioRead16() local 154 Value = *(volatile UINT16*)Address; in MmioRead16() 157 return Value; in MmioRead16() [all …]
|
D | IoLibMsc.c | 74 UINT8 Value; in IoRead8() local 77 Value = (UINT8)_inp ((UINT16)Port); in IoRead8() 79 return Value; in IoRead8() 101 IN UINT8 Value in IoWrite8() argument 105 (UINT8)_outp ((UINT16)Port, Value); in IoWrite8() 107 return Value; in IoWrite8() 131 UINT16 Value; in IoRead16() local 135 Value = _inpw ((UINT16)Port); in IoRead16() 137 return Value; in IoRead16() 160 IN UINT16 Value in IoWrite16() argument [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/Ebc/ |
D | Synchronization.c | 37 IN volatile UINT16 *Value, in InternalSyncCompareExchange16() argument 42 return *Value != CompareValue ? *Value : in InternalSyncCompareExchange16() 43 ((*Value = ExchangeValue), CompareValue); in InternalSyncCompareExchange16() 68 IN volatile UINT32 *Value, in InternalSyncCompareExchange32() argument 73 return *Value != CompareValue ? *Value : in InternalSyncCompareExchange32() 74 ((*Value = ExchangeValue), CompareValue); in InternalSyncCompareExchange32() 96 IN volatile UINT64 *Value, in InternalSyncCompareExchange64() argument 101 return *Value != CompareValue ? *Value : in InternalSyncCompareExchange64() 102 ((*Value = ExchangeValue), CompareValue); in InternalSyncCompareExchange64() 121 IN volatile UINT32 *Value in InternalSyncIncrement() argument [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/I2CLibPei/ |
D | I2CIoLibPei.c | 39 UINT8 Value; in I2CLibPeiMmioRead8() local 41 Value = *(volatile UINT8*)Address; in I2CLibPeiMmioRead8() 42 return Value; in I2CLibPeiMmioRead8() 66 UINT16 Value; in I2CLibPeiMmioRead16() local 69 Value = *(volatile UINT16*)Address; in I2CLibPeiMmioRead16() 70 return Value; in I2CLibPeiMmioRead16() 93 IN UINT16 Value in I2CLibPeiMmioWrite16() argument 97 *(volatile UINT16*)Address = Value; in I2CLibPeiMmioWrite16() 98 return Value; in I2CLibPeiMmioWrite16() 122 UINT32 Value; in I2CLibPeiMmioRead32() local [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/X64/ |
D | GccInline.c | 35 IN volatile UINT32 *Value in InternalSyncIncrement() argument 45 "=m" (*Value) // %1 in InternalSyncIncrement() 46 : "m" (*Value) // %2 in InternalSyncIncrement() 71 IN volatile UINT32 *Value in InternalSyncDecrement() argument 81 "=m" (*Value) // %1 in InternalSyncDecrement() 82 : "m" (*Value) // %2 in InternalSyncDecrement() 112 IN OUT volatile UINT16 *Value, in InternalSyncCompareExchange16() argument 123 "=m" (*Value) in InternalSyncCompareExchange16() 126 "m" (*Value) in InternalSyncCompareExchange16() 156 IN OUT volatile UINT32 *Value, in InternalSyncCompareExchange32() argument [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | PcdLib.h | 256 #define PatchPcdSet8(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = (Value)) argument 272 #define PatchPcdSet16(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = (Value)) argument 288 #define PatchPcdSet32(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = (Value)) argument 304 #define PatchPcdSet64(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = (Value)) argument 320 #define PatchPcdSetBool(TokenName, Value) (_gPcd_BinaryPatch_##TokenName = (Value)) argument 506 #define PcdSet8(TokenName, Value) _PCD_SET_MODE_8_##TokenName ((Value)) argument 521 #define PcdSet16(TokenName, Value) _PCD_SET_MODE_16_##TokenName ((Value)) argument 536 #define PcdSet32(TokenName, Value) _PCD_SET_MODE_32_##TokenName ((Value)) argument 551 #define PcdSet64(TokenName, Value) _PCD_SET_MODE_64_##TokenName ((Value)) argument 590 #define PcdSetBool(TokenName, Value) _PCD_SET_MODE_BOOL_##TokenName ((Value)) argument [all …]
|
D | ReportStatusCodeLib.h | 54 IN EFI_STATUS_CODE_VALUE Value, 96 IN EFI_STATUS_CODE_VALUE Value, 168 IN EFI_STATUS_CODE_VALUE Value 205 IN EFI_STATUS_CODE_VALUE Value, 249 IN EFI_STATUS_CODE_VALUE Value, 301 IN EFI_STATUS_CODE_VALUE Value, 382 #define REPORT_STATUS_CODE(Type,Value) \ argument 384 ReportStatusCode(Type,Value) : \ 386 ReportStatusCode(Type,Value) : \ 388 ReportStatusCode(Type,Value) : \ [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ebc/ |
D | Synchronization.c | 27 IN volatile UINT32 *Value, in InternalSyncCompareExchange32() argument 32 return *Value != CompareValue ? *Value : in InternalSyncCompareExchange32() 33 ((*Value = ExchangeValue), CompareValue); in InternalSyncCompareExchange32() 55 IN volatile UINT64 *Value, in InternalSyncCompareExchange64() argument 60 return *Value != CompareValue ? *Value : in InternalSyncCompareExchange64() 61 ((*Value = ExchangeValue), CompareValue); in InternalSyncCompareExchange64() 80 IN volatile UINT32 *Value in InternalSyncIncrement() argument 83 return ++*Value; in InternalSyncIncrement() 102 IN volatile UINT32 *Value in InternalSyncDecrement() argument 105 return --*Value; in InternalSyncDecrement()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/ |
D | OhciReg.c | 35 UINT32 Value; in OhciGetOperationalReg() local 38 Status = PciIo->Mem.Read(PciIo, EfiPciIoWidthUint32, OHC_BAR_INDEX, Offset, 1, &Value); in OhciGetOperationalReg() 40 return Value; in OhciGetOperationalReg() 59 IN VOID *Value in OhciSetOperationalReg() argument 64 Status = PciIo->Mem.Write(PciIo, EfiPciIoWidthUint32, OHC_BAR_INDEX, Offset, 1, Value); in OhciSetOperationalReg() 102 IN UINT32 Value in OhciSetHcReset() argument 112 Reset.FSBIR = Value; in OhciSetHcReset() 116 Reset.FHR = Value; in OhciSetHcReset() 120 Reset.CGR = Value; in OhciSetHcReset() 124 Reset.SSE = Value; in OhciSetHcReset() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/FrameworkHiiOnUefiHiiThunk/ |
D | UefiIfrParserExpression.c | 218 Data.Value.u8 = Operand; in PushScope() 254 *Operand = Data.Value.u8; in PopScope() 285 IN EFI_HII_VALUE *Value in PushExpression() argument 292 Value in PushExpression() 308 OUT EFI_HII_VALUE *Value in PopExpression() argument 315 Value in PopExpression() 329 IN EFI_HII_VALUE *Value in ExtendValueToU64() argument 335 switch (Value->Type) { in ExtendValueToU64() 337 Temp = Value->Value.u8; in ExtendValueToU64() 341 Temp = Value->Value.u16; in ExtendValueToU64() [all …]
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/ |
D | OhciReg.c | 56 IN UINT32 *Value in OhciSetOperationalReg() argument 59 MmioWrite32(Ohc->UsbHostControllerBaseAddress + Offset, *Value); in OhciSetOperationalReg() 97 IN UINT32 Value in OhciSetHcReset() argument 107 Reset.FSBIR = Value; in OhciSetHcReset() 111 Reset.FHR = Value; in OhciSetHcReset() 115 Reset.CGR = Value; in OhciSetHcReset() 119 Reset.SSE = Value; in OhciSetHcReset() 123 Reset.PSPL = Value; in OhciSetHcReset() 127 Reset.PCPL = Value; in OhciSetHcReset() 131 Reset.SSEP1 = Value; in OhciSetHcReset() [all …]
|
/device/linaro/bootloader/edk2/ArmPkg/Library/BaseMemoryLibStm/AArch64/ |
D | SetMem.c | 32 IN UINT8 Value in InternalMemSetMem() argument 48 Value32 = (Value << 24) | (Value << 16) | (Value << 8) | Value; in InternalMemSetMem() 60 *(Pointer8++) = Value; in InternalMemSetMem() 64 Value32 = (Value << 24) | (Value << 16) | (Value << 8) | Value; in InternalMemSetMem() 75 *(Pointer8++) = Value; in InternalMemSetMem() 80 *(Pointer8++) = Value; in InternalMemSetMem()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSynchronizationLib/Ia32/ |
D | GccInline.c | 34 IN volatile UINT32 *Value in InternalSyncIncrement() argument 44 "=m" (*Value) // %1 in InternalSyncIncrement() 45 : "m" (*Value) // %2 in InternalSyncIncrement() 71 IN volatile UINT32 *Value in InternalSyncDecrement() argument 81 "=m" (*Value) // %1 in InternalSyncDecrement() 82 : "m" (*Value) // %2 in InternalSyncDecrement() 111 IN OUT volatile UINT16 *Value, in InternalSyncCompareExchange16() argument 123 "m" (*Value), in InternalSyncCompareExchange16() 153 IN OUT volatile UINT32 *Value, in InternalSyncCompareExchange32() argument 165 "m" (*Value), // %2 in InternalSyncCompareExchange32() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/ |
D | Mtftp4Option.c | 180 UINT8 *Value; in Mtftp4FillOptions() local 200 Value = ++Cur; in Mtftp4FillOptions() 210 Options[Num - 1].ValueStr = Value; in Mtftp4FillOptions() 314 IN UINT8 *Value, in Mtftp4ExtractMcast() argument 325 if (*Value == ',') { in Mtftp4ExtractMcast() 328 Status = NetStringToIp (Value, &Option->McastIp); in Mtftp4ExtractMcast() 334 while ((*Value != 0) && (*Value != ',')) { in Mtftp4ExtractMcast() 335 Value++; in Mtftp4ExtractMcast() 339 if (*Value != ',') { in Mtftp4ExtractMcast() 343 Value++; in Mtftp4ExtractMcast() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DisplayEngineDxe/ |
D | ProcessOptions.c | 63 IN EFI_HII_VALUE *Value in HiiValueToUINT64() argument 70 switch (Value->Type) { in HiiValueToUINT64() 72 RetVal = Value->Value.u8; in HiiValueToUINT64() 76 RetVal = Value->Value.u16; in HiiValueToUINT64() 80 RetVal = Value->Value.u32; in HiiValueToUINT64() 84 RetVal = Value->Value.b; in HiiValueToUINT64() 88 RetVal = *(UINT64*) &Value->Value.date; in HiiValueToUINT64() 92 RetVal = (*(UINT64*) &Value->Value.time) & 0xffffff; in HiiValueToUINT64() 96 RetVal = Value->Value.u64; in HiiValueToUINT64() 117 IN EFI_HII_VALUE *Value in IsTypeInBuffer() argument [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ipf/ |
D | Unaligned.c | 60 IN UINT16 Value in WriteUnaligned16() argument 65 ((UINT8*)Buffer)[0] = (UINT8)Value; in WriteUnaligned16() 66 ((UINT8*)Buffer)[1] = (UINT8)(Value >> 8); in WriteUnaligned16() 68 return Value; in WriteUnaligned16() 117 IN UINT32 Value in WriteUnaligned24() argument 122 WriteUnaligned16 ((UINT16*)Buffer, (UINT16)Value); in WriteUnaligned24() 123 *(UINT8*)((UINT16*)Buffer + 1) = (UINT8)(Value >> 16); in WriteUnaligned24() 124 return Value; in WriteUnaligned24() 176 IN UINT32 Value in WriteUnaligned32() argument 181 WriteUnaligned16 ((UINT16*)Buffer, (UINT16)Value); in WriteUnaligned32() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ipf/ |
D | Unaligned.c | 66 IN UINT16 Value in WriteUnaligned16() argument 71 ((UINT8*)Buffer)[0] = (UINT8)Value; in WriteUnaligned16() 72 ((UINT8*)Buffer)[1] = (UINT8)(Value >> 8); in WriteUnaligned16() 74 return Value; in WriteUnaligned16() 123 IN UINT32 Value in WriteUnaligned24() argument 128 WriteUnaligned16 ((UINT16*)Buffer, (UINT16)Value); in WriteUnaligned24() 129 *(UINT8*)((UINT16*)Buffer + 1) = (UINT8)(Value >> 16); in WriteUnaligned24() 130 return Value; in WriteUnaligned24() 182 IN UINT32 Value in WriteUnaligned32() argument 187 WriteUnaligned16 ((UINT16*)Buffer, (UINT16)Value); in WriteUnaligned32() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Arm/ |
D | Unaligned.c | 69 IN UINT16 Value in WriteUnaligned16() argument 74 ((volatile UINT8*)Buffer)[0] = (UINT8)Value; in WriteUnaligned16() 75 ((volatile UINT8*)Buffer)[1] = (UINT8)(Value >> 8); in WriteUnaligned16() 77 return Value; in WriteUnaligned16() 126 IN UINT32 Value in WriteUnaligned24() argument 131 WriteUnaligned16 ((UINT16*)Buffer, (UINT16)Value); in WriteUnaligned24() 132 *(UINT8*)((UINT16*)Buffer + 1) = (UINT8)(Value >> 16); in WriteUnaligned24() 133 return Value; in WriteUnaligned24() 185 IN UINT32 Value in WriteUnaligned32() argument 190 WriteUnaligned16 ((UINT16*)Buffer, (UINT16)Value); in WriteUnaligned32() [all …]
|