Home
last modified time | relevance | path

Searched refs:Val (Results 1 – 25 of 43) sorted by relevance

12

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/
DEfiUiLib.c28 OUT UINT64 *Val, in EfiStringToValue() argument
74 *Val = TempVal; in EfiStringToValue()
96 IN UINT64 Val in StrHzToString() argument
122 while (Val >= 10000) { in StrHzToString()
123 Val = DivU64x32 (Val, 10, NULL); in StrHzToString()
130 if (Val >= 1000) { in StrHzToString()
131 Val += 3; in StrHzToString()
132 Val = DivU64x32 (Val, 10, NULL); in StrHzToString()
136 EfiValueToString (String, Val, 0, 0); in StrHzToString()
198 IN UINT64 Val in StrBytesToString() argument
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Include/Chipset/
DArmArchTimer.h45 UINTN Val
57 UINTN Val
69 UINTN Val
81 UINTN Val
93 UINTN Val
111 UINT64 Val
123 UINT64 Val
135 UINT64 Val
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShellEnvVar.c108 if (Node->Val != NULL) { in FreeEnvironmentVariableList()
109 FreePool(Node->Val); in FreeEnvironmentVariableList()
176 VarList->Val = AllocateZeroPool(ValSize); in GetEnvironmentVariableList()
177 if (VarList->Val == NULL) { in GetEnvironmentVariableList()
182 …HELL_GET_ENVIRONMENT_VARIABLE_AND_ATTRIBUTES(VariableName, &VarList->Atts, &ValSize, VarList->Val); in GetEnvironmentVariableList()
185 SHELL_FREE_NON_NULL (VarList->Val); in GetEnvironmentVariableList()
186 VarList->Val = AllocateZeroPool(ValBufferSize); in GetEnvironmentVariableList()
187 if (VarList->Val == NULL) { in GetEnvironmentVariableList()
194 …HELL_GET_ENVIRONMENT_VARIABLE_AND_ATTRIBUTES(VariableName, &VarList->Atts, &ValSize, VarList->Val); in GetEnvironmentVariableList()
199 SHELL_FREE_NON_NULL(VarList->Val); in GetEnvironmentVariableList()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DExpression.py200 Val = eval(EvalStr, {}, Dict)
205 if Val:
206 Val = True
208 Val = False
211 WrnExp.result = Val
213 return Val
271 Val = self._OrExpr()
272 RealVal = Val
273 if type(Val) == type(''):
274 if Val == 'L""':
[all …]
DRangeExpression.py426 Val = self._OrExpr()
427 RealVal = Val
439 Val = EvalFunc()
443 Val = self.Eval(Op, Val, EvalFunc())
446 Val = Warn.result
447 return Val
458 Val = self._RelExpr()
466 Val = self.Eval(Op, Val, self._RelExpr())
469 Val = Warn.result
470 return Val
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Isp1761UsbDxe/
DIsp1761UsbDxe.h22 #define WRITE_REG32(Offset, Val) MmioWrite32 (ISP1761_USB_BASE + Offset, Val) argument
23 #define WRITE_REG16(Offset, Val) MmioWrite32 (ISP1761_USB_BASE + Offset, (UINT32) Val) argument
24 #define WRITE_REG8(Offset, Val) MmioWrite32 (ISP1761_USB_BASE + Offset, (UINT32) Val) argument
/device/linaro/bootloader/edk2/EmbeddedPkg/Application/AndroidFastboot/
DAndroidBootImg.c21 #define IS_POWER_OF_2(Val) (Val != 0 && ((Val & (Val - 1)) == 0)) argument
/device/linaro/bootloader/edk2/MdePkg/Library/BaseUefiDecompressLib/
DBaseUefiDecompressLib.c275 UINT16 Val; in DecodeP() local
279 Val = Sd->mPTTable[Sd->mBitBuf >> (BITBUFSIZ - 8)]; in DecodeP()
281 if (Val >= MAXNP) { in DecodeP()
287 Val = Sd->mRight[Val]; in DecodeP()
289 Val = Sd->mLeft[Val]; in DecodeP()
293 } while (Val >= MAXNP); in DecodeP()
298 FillBuf (Sd, Sd->mPTLen[Val]); in DecodeP()
300 Pos = Val; in DecodeP()
301 if (Val > 1) { in DecodeP()
302 Pos = (UINT32) ((1U << (Val - 1)) + GetBits (Sd, (UINT16) (Val - 1))); in DecodeP()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/
DBaseUefiDecompressLib.c288 UINT16 Val; in GlueDecodeP() local
292 Val = Sd->mPTTable[Sd->mBitBuf >> (BITBUFSIZ - 8)]; in GlueDecodeP()
294 if (Val >= MAXNP) { in GlueDecodeP()
300 Val = Sd->mRight[Val]; in GlueDecodeP()
302 Val = Sd->mLeft[Val]; in GlueDecodeP()
306 } while (Val >= MAXNP); in GlueDecodeP()
311 FillBuf (Sd, Sd->mPTLen[Val]); in GlueDecodeP()
313 Pos = Val; in GlueDecodeP()
314 if (Val > 1) { in GlueDecodeP()
315 Pos = (UINT32) ((1U << (Val - 1)) + GetBits (Sd, (UINT16) (Val - 1))); in GlueDecodeP()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/
DEfiUiLib.h32 IN UINT64 Val
53 IN UINT64 Val
207 OUT UINT64 *Val,
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/
DPciHostBridge.h44 #define PCIE_ROOTPORT_WRITE32(Add, Val) { UINT32 Value = (UINT32)(Val); CpuIo->Mem.Write (CpuIo,Efi… argument
45 …ROOTPORT_READ32(Add, Val) { CpuIo->Mem.Read (CpuIo,EfiCpuIoWidthUint32,(UINT64)(PcdGet64 (PcdPcieR… argument
47 #define PCIE_CONTROL_WRITE32(Add, Val) { UINT32 Value = (UINT32)(Val); CpuIo->Mem.Write (CpuIo,EfiC… argument
48 …E_CONTROL_READ32(Add, Val) { CpuIo->Mem.Read (CpuIo,EfiCpuIoWidthUint32,(UINT64)(PcdGet64 (PcdPcie… argument
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DDecompress.c319 UINT16 Val; in DecodeP() local
323 Val = Sd->mPTTable[Sd->mBitBuf >> (BITBUFSIZ - 8)]; in DecodeP()
325 if (Val >= MAXNP) { in DecodeP()
331 Val = Sd->mRight[Val]; in DecodeP()
333 Val = Sd->mLeft[Val]; in DecodeP()
337 } while (Val >= MAXNP); in DecodeP()
342 FillBuf (Sd, Sd->mPTLen[Val]); in DecodeP()
344 Pos = Val; in DecodeP()
345 if (Val > 1) { in DecodeP()
346 Pos = (UINT32) ((1U << (Val - 1)) + GetBits (Sd, (UINT16) (Val - 1))); in DecodeP()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/
DBaseUefiTianoCustomDecompressLib.c265 UINT16 Val; in DecodeP() local
269 Val = Sd->mPTTable[Sd->mBitBuf >> (BITBUFSIZ - 8)]; in DecodeP()
271 if (Val >= MAXNP) { in DecodeP()
277 Val = Sd->mRight[Val]; in DecodeP()
279 Val = Sd->mLeft[Val]; in DecodeP()
283 } while (Val >= MAXNP); in DecodeP()
288 FillBuf (Sd, Sd->mPTLen[Val]); in DecodeP()
290 Pos = Val; in DecodeP()
291 if (Val > 1) { in DecodeP()
292 Pos = (UINT32) ((1U << (Val - 1)) + GetBits (Sd, (UINT16) (Val - 1))); in DecodeP()
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DTianoDecompress.c316 UINT16 Val; in DecodeP() local
320 Val = Sd->mPTTable[Sd->mBitBuf >> (BITBUFSIZ - 8)]; in DecodeP()
322 if (Val >= MAXNP) { in DecodeP()
328 Val = Sd->mRight[Val]; in DecodeP()
330 Val = Sd->mLeft[Val]; in DecodeP()
334 } while (Val >= MAXNP); in DecodeP()
339 FillBuf (Sd, Sd->mPTLen[Val]); in DecodeP()
341 Pos = Val; in DecodeP()
342 if (Val > 1) { in DecodeP()
343 Pos = (UINT32) ((1U << (Val - 1)) + GetBits (Sd, (UINT16) (Val - 1))); in DecodeP()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DDecompress.c310 UINT16 Val; in DecodeP() local
314 Val = Sd->mPTTable[Sd->mBitBuf >> (BITBUFSIZ - 8)]; in DecodeP()
316 if (Val >= MAXNP) { in DecodeP()
322 Val = Sd->mRight[Val]; in DecodeP()
324 Val = Sd->mLeft[Val]; in DecodeP()
328 } while (Val >= MAXNP); in DecodeP()
333 FillBuf (Sd, Sd->mPTLen[Val]); in DecodeP()
335 Pos = Val; in DecodeP()
336 if (Val > 1) { in DecodeP()
337 Pos = (UINT32) ((1U << (Val - 1)) + GetBits (Sd, (UINT16) (Val - 1))); in DecodeP()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/
DDecompress.c452 UINT16 Val; in DecodeP() local
456 Val = Sd->mPTTable[Sd->mBitBuf >> (BITBUFSIZ - 8)]; in DecodeP()
458 if (Val >= MAXNP) { in DecodeP()
464 Val = Sd->mRight[Val]; in DecodeP()
466 Val = Sd->mLeft[Val]; in DecodeP()
470 } while (Val >= MAXNP); in DecodeP()
475 FillBuf (Sd, Sd->mPTLen[Val]); in DecodeP()
477 Pos = Val; in DecodeP()
478 if (Val > 1) { in DecodeP()
479 Pos = (UINT32) ((1U << (Val - 1)) + GetBits (Sd, (UINT16) (Val - 1))); in DecodeP()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckPcdLib/
DVarCheckPcdLibNullClass.c47 CHAR8 Val[50]; in VarCheckPcdInternalDumpHex() local
64 Val[Index * 3 + 0] = mVarCheckPcdHex[TempByte >> 4]; in VarCheckPcdInternalDumpHex()
65 Val[Index * 3 + 1] = mVarCheckPcdHex[TempByte & 0xF]; in VarCheckPcdInternalDumpHex()
66 Val[Index * 3 + 2] = (CHAR8) ((Index == 7) ? '-' : ' '); in VarCheckPcdInternalDumpHex()
70 Val[Index * 3] = 0; in VarCheckPcdInternalDumpHex()
72 DEBUG ((EFI_D_INFO, "%*a%08X: %-48a *%a*\r\n", Indent, "", Offset, Val, Str)); in VarCheckPcdInternalDumpHex()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsbDxe/
DDwUsbDxe.h23 #define WRITE_REG32(Offset, Val) MmioWrite32 (DW_USB_BASE + Offset, Val) argument
24 #define WRITE_REG16(Offset, Val) MmioWrite32 (DW_USB_BASE + Offset, (UINT32) Val) argument
25 #define WRITE_REG8(Offset, Val) MmioWrite32 (DW_USB_BASE + Offset, (UINT32) Val) argument
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
DTcpFunc.h21 #define TCP_COMP_VAL(Min, Max, Default, Val) \ argument
22 ((((Val) <= (Max)) && ((Val) >= (Min))) ? (Val) : (Default))
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/
DInitPeripherals.c161 UINT32 Val; in UartInit() local
180 Val = MmioRead32 (PMUSSI_REG(0x1c)) | 0x40; in UartInit()
181 MmioWrite32 (PMUSSI_REG(0x1c), Val); in UartInit()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckHiiLib/
DVarCheckHiiLibNullClass.c38 CHAR8 Val[50]; in VarCheckHiiInternalDumpHex() local
55 Val[Index * 3 + 0] = mVarCheckHiiHex[TempByte >> 4]; in VarCheckHiiInternalDumpHex()
56 Val[Index * 3 + 1] = mVarCheckHiiHex[TempByte & 0xF]; in VarCheckHiiInternalDumpHex()
57 Val[Index * 3 + 2] = (CHAR8) ((Index == 7) ? '-' : ' '); in VarCheckHiiInternalDumpHex()
61 Val[Index * 3] = 0; in VarCheckHiiInternalDumpHex()
63 DEBUG ((EFI_D_INFO, "%*a%08X: %-48a *%a*\r\n", Indent, "", Offset, Val, Str)); in VarCheckHiiInternalDumpHex()
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmLib/ArmV7/
DArmV7Mmu.c51 UINTN Val; in PreferNonshareableMemory() local
66 Val = (Mmfr >> ID_MMFR0_OUTERSHR_SHIFT) & ID_MMFR0_OUTERSHR_MASK; in PreferNonshareableMemory()
70 Val = (Mmfr >> ID_MMFR0_INNERSHR_SHIFT) & ID_MMFR0_INNERSHR_MASK; in PreferNonshareableMemory()
77 return Val != ID_MMFR0_SHR_IMP_HW_COHERENT; in PreferNonshareableMemory()
/device/linaro/bootloader/edk2/OvmfPkg/Library/VirtioMmioDeviceLib/
DVirtioMmioDevice.h40 #define VIRTIO_CFG_WRITE(Device, Offset, Val) \ argument
41 (MmioWrite32 (Device->BaseAddress + (Offset), Val))
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DUefiShellDebug1CommandsLib.c153 CHAR8 Val[50]; in DumpHex() local
170 Val[Index * 3 + 0] = Hex[TempByte >> 4]; in DumpHex()
171 Val[Index * 3 + 1] = Hex[TempByte & 0xF]; in DumpHex()
172 Val[Index * 3 + 2] = (CHAR8) ((Index == 7) ? '-' : ' '); in DumpHex()
176 Val[Index * 3] = 0; in DumpHex()
178 ShellPrintEx(-1, -1, L"%*a%08X: %-48a *%a*\r\n", Indent, "", Offset, Val, Str); in DumpHex()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DElfConvert.c67 UINT16 Val in CoffAddFixupEntry() argument
70 *mCoffEntryRel = Val; in CoffAddFixupEntry()

12