/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Pp2Dxe/ |
D | Mvpp2Lib.c | 335 IN INT32 Val in Mvpp2PrsSramBitsSet() argument 338 Pe->Sram.Byte[MVPP2_BIT_TO_BYTE(BitNum)] |= (Val << (BitNum % 8)); in Mvpp2PrsSramBitsSet() 347 IN INT32 Val in Mvpp2PrsSramBitsClear() argument 350 Pe->Sram.Byte[MVPP2_BIT_TO_BYTE(BitNum)] &= ~(Val << (BitNum % 8)); in Mvpp2PrsSramBitsClear() 1427 UINT32 Val; in Mvpp2PrsHwPortInit() local 1430 Val = Mvpp2Read (Priv, MVPP2_PRS_INIT_LOOKUP_REG); in Mvpp2PrsHwPortInit() 1431 Val &= ~MVPP2_PRS_PORT_LU_MASK (PortId); in Mvpp2PrsHwPortInit() 1432 Val |= MVPP2_PRS_PORT_LU_VAL (PortId, LuFirst); in Mvpp2PrsHwPortInit() 1433 Mvpp2Write (Priv, MVPP2_PRS_INIT_LOOKUP_REG, Val); in Mvpp2PrsHwPortInit() 1436 Val = Mvpp2Read (Priv, MVPP2_PRS_MAX_LOOP_REG(PortId)); in Mvpp2PrsHwPortInit() [all …]
|
D | Mvpp2Lib.h | 579 UINT32 Val = 0; in Mvpp2BmPoolPut() local 581 Val = (Upper32Bits(BufVirtAddr) & MVPP22_ADDR_HIGH_MASK) << MVPP22_BM_VIRT_HIGH_RLS_OFFST; in Mvpp2BmPoolPut() 582 Val |= (Upper32Bits(BufPhysAddr) & MVPP22_ADDR_HIGH_MASK) << MVPP22_BM_PHY_HIGH_RLS_OFFSET; in Mvpp2BmPoolPut() 583 Mvpp2Write(Priv, MVPP22_BM_PHY_VIRT_HIGH_RLS_REG, Val); in Mvpp2BmPoolPut() 619 UINT32 Val = Mvpp2Read(Port->Priv, MVPP2_RXQ_STATUS_REG(RxqId)); in Mvpp2RxqReceived() local 621 return Val & MVPP2_RXQ_OCCUPIED_MASK; in Mvpp2RxqReceived() 642 UINT32 Val = UsedCount | (FreeCount << MVPP2_RXQ_NUM_NEW_OFFSET); in Mvpp2RxqStatusUpdate() local 644 Mvpp2Write(Port->Priv, MVPP2_RXQ_STATUS_UPDATE_REG(RxqId), Val); in Mvpp2RxqStatusUpdate() 675 UINT32 Val; in Mvpp2TxqSentDescProc() local 679 Val = Mvpp2Read(Port->Priv, MVPP2_TXQ_SENT_REG(Txq->Id)); in Mvpp2TxqSentDescProc() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/ |
D | EfiUiLib.c | 28 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/ |
D | AsmMacroIoLibV8.h | 53 #define MOV32(Reg, Val) \ argument 54 movz Reg, (Val) >> 16, lsl #16 ; \ 55 movk Reg, (Val) & 0xffff 57 #define MOV64(Reg, Val) \ argument 58 movz Reg, (Val) >> 48, lsl #48 ; \ 59 movk Reg, ((Val) >> 32) & 0xffff, lsl #32 ; \ 60 movk Reg, ((Val) >> 16) & 0xffff, lsl #16 ; \ 61 movk Reg, (Val) & 0xffff
|
D | AsmMacroIoLib.h | 31 #define MOV32(Reg, Val) \ argument 32 movw Reg, #(Val) & 0xffff ; \ 33 movt Reg, #(Val) >> 16
|
/device/linaro/bootloader/edk2/ArmPkg/Include/Chipset/ |
D | ArmArchTimer.h | 45 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/ |
D | ShellEnvVar.c | 114 if (Node->Val != NULL) { in FreeEnvironmentVariableList() 115 FreePool(Node->Val); in FreeEnvironmentVariableList() 184 VarList->Val = AllocateZeroPool (ValSize + sizeof (CHAR16)); in GetEnvironmentVariableList() 185 if (VarList->Val == NULL) { in GetEnvironmentVariableList() 190 …HELL_GET_ENVIRONMENT_VARIABLE_AND_ATTRIBUTES(VariableName, &VarList->Atts, &ValSize, VarList->Val); in GetEnvironmentVariableList() 193 SHELL_FREE_NON_NULL (VarList->Val); in GetEnvironmentVariableList() 197 VarList->Val = AllocateZeroPool (ValBufferSize + sizeof (CHAR16)); in GetEnvironmentVariableList() 198 if (VarList->Val == NULL) { in GetEnvironmentVariableList() 205 …HELL_GET_ENVIRONMENT_VARIABLE_AND_ATTRIBUTES(VariableName, &VarList->Atts, &ValSize, VarList->Val); in GetEnvironmentVariableList() 210 SHELL_FREE_NON_NULL(VarList->Val); in GetEnvironmentVariableList() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
D | Expression.py | 204 Val = eval(EvalStr, {}, Dict) 209 if Val: 210 Val = True 212 Val = False 215 WrnExp.result = Val 217 return Val 275 Val = self._OrExpr() 276 RealVal = Val 277 if type(Val) == type(''): 278 if Val == 'L""': [all …]
|
D | RangeExpression.py | 426 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/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/StyxRngDxe/ |
D | StyxRngDxe.c | 132 UINT32 Val; in StyxRngGetRNG() local 151 Val = MmioRead32 (mCcpRngOutputReg); in StyxRngGetRNG() 152 } while (!Val && Retries-- > 0); in StyxRngGetRNG() 154 if (!Val) { in StyxRngGetRNG() 159 *RNGValue++ = (UINT8)Val; in StyxRngGetRNG() 160 Val >>= 8; in StyxRngGetRNG()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Isp1761UsbDxe/ |
D | Isp1761UsbDxe.h | 22 #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/MdePkg/Library/BaseUefiDecompressLib/ |
D | BaseUefiDecompressLib.c | 275 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/ |
D | BaseUefiDecompressLib.c | 288 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/ |
D | EfiUiLib.h | 32 IN UINT64 Val 53 IN UINT64 Val 207 OUT UINT64 *Val,
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/PciHostBridgeDxe/ |
D | PciHostBridge.h | 44 #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/DuetPkg/EfiLdr/ |
D | TianoDecompress.c | 316 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/EdkCompatibilityPkg/Sample/Tools/Source/Common/ |
D | Decompress.c | 319 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/ |
D | BaseUefiTianoCustomDecompressLib.c | 265 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/BaseTools/Source/C/Common/ |
D | Decompress.c | 311 UINT16 Val; in DecodeP() local 315 Val = Sd->mPTTable[Sd->mBitBuf >> (BITBUFSIZ - 8)]; in DecodeP() 317 if (Val >= MAXNP) { in DecodeP() 323 Val = Sd->mRight[Val]; in DecodeP() 325 Val = Sd->mLeft[Val]; in DecodeP() 329 } while (Val >= MAXNP); in DecodeP() 334 FillBuf (Sd, Sd->mPTLen[Val]); in DecodeP() 336 Pos = Val; in DecodeP() 337 if (Val > 1) { in DecodeP() 338 Pos = (UINT32) ((1U << (Val - 1)) + GetBits (Sd, (UINT16) (Val - 1))); in DecodeP()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/ |
D | Decompress.c | 452 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/ |
D | VarCheckPcdLibNullClass.c | 47 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/ |
D | DwUsbDxe.h | 22 #define WRITE_REG32(Offset, Val) MmioWrite32 (DW_USB_BASE + Offset, Val) argument 23 #define WRITE_REG16(Offset, Val) MmioWrite32 (DW_USB_BASE + Offset, (UINT32) Val) argument 24 #define WRITE_REG8(Offset, Val) MmioWrite32 (DW_USB_BASE + Offset, (UINT32) Val) argument
|
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
D | TcpFunc.h | 21 #define TCP_COMP_VAL(Min, Max, Default, Val) \ argument 22 ((((Val) <= (Max)) && ((Val) >= (Min))) ? (Val) : (Default))
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/VirtioMmioDeviceLib/ |
D | VirtioMmioDevice.h | 40 #define VIRTIO_CFG_WRITE(Device, Offset, Val) \ argument 41 (MmioWrite32 (Device->BaseAddress + (Offset), Val))
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/VarCheckHiiLib/ |
D | VarCheckHiiLibNullClass.c | 38 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()
|