Home
last modified time | relevance | path

Searched refs:Position (Results 1 – 25 of 71) sorted by relevance

123

/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DLocate.c29 LIST_ENTRY *Position; member
36 IN OUT LOCATE_POSITION *Position,
53 IN OUT LOCATE_POSITION *Position, in SmmGetNextLocateAllHandles() argument
62 Position->Position = Position->Position->ForwardLink; in SmmGetNextLocateAllHandles()
69 if (Position->Position != &gHandleList) { in SmmGetNextLocateAllHandles()
70 Handle = CR (Position->Position, IHANDLE, AllHandles, EFI_HANDLE_SIGNATURE); in SmmGetNextLocateAllHandles()
89 IN OUT LOCATE_POSITION *Position, in SmmGetNextLocateByRegisterNotify() argument
100 ProtNotify = Position->SearchKey; in SmmGetNextLocateByRegisterNotify()
107 Position->SearchKey = NULL; in SmmGetNextLocateByRegisterNotify()
112 Link = ProtNotify->Position->ForwardLink; in SmmGetNextLocateByRegisterNotify()
[all …]
DNotify.c72 if (ProtNotify->Position == &Prot->ByProtocol) { in SmmRemoveInterfaceFromProtocol()
73 ProtNotify->Position = Prot->ByProtocol.BackLink; in SmmRemoveInterfaceFromProtocol()
186 ProtNotify->Position = ProtEntry->Protocols.BackLink; in SmmRegisterProtocolNotify()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Hand/
DLocate.c30 LIST_ENTRY *Position; member
37 IN OUT LOCATE_POSITION *Position,
54 IN OUT LOCATE_POSITION *Position,
72 IN OUT LOCATE_POSITION *Position,
89 IN OUT LOCATE_POSITION *Position,
123 LOCATE_POSITION Position; in CoreLocateHandle() local
144 Position.Protocol = Protocol; in CoreLocateHandle()
145 Position.SearchKey = SearchKey; in CoreLocateHandle()
146 Position.Position = &gHandleList; in CoreLocateHandle()
185 Position.ProtEntry = CoreFindProtocolEntry (Protocol, FALSE); in CoreLocateHandle()
[all …]
DNotify.c79 if (ProtNotify->Position == &Prot->ByProtocol) { in CoreRemoveInterfaceFromProtocol()
80 ProtNotify->Position = Prot->ByProtocol.BackLink; in CoreRemoveInterfaceFromProtocol()
146 ProtNotify->Position = &ProtEntry->Protocols; in CoreRegisterProtocolNotify()
/device/linaro/bootloader/edk2/ArmPlatformPkg/FileSystem/BootMonFs/
DBootMonFsReadWrite.c76 if (File->Position >= File->Info->FileSize) { in BootMonFsReadFile()
80 if (File->Position > File->Info->FileSize) { in BootMonFsReadFile()
88 RemainingFileSize = File->Info->FileSize - File->Position; in BootMonFsReadFile()
98 FileStart + File->Position, in BootMonFsReadFile()
106 File->Position += *BufferSize; in BootMonFsReadFile()
169 Region->Offset = File->Position; in BootMonFsWriteFile()
173 File->Position += *BufferSize; in BootMonFsWriteFile()
175 if (File->Position > File->Info->FileSize) { in BootMonFsWriteFile()
176 File->Info->FileSize = File->Position; in BootMonFsWriteFile()
197 IN UINT64 Position in BootMonFsSetPosition() argument
[all …]
DBootMonFsApi.h186 IN UINT64 Position
193 OUT UINT64 *Position
263 IN UINT64 Position
281 OUT UINT64 *Position
292 OUT UINT64 *Position
384 IN UINTN Position,
DBootMonFsUnsupported.c21 IN UINT64 Position in BootMonFsSetPositionUnsupported() argument
32 OUT UINT64 *Position in BootMonFsGetPositionUnsupported() argument
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/
DArmVExpressSysConfig.c68 IN UINT32 Position, in AccessSysCfgRegister() argument
85 SYS_CFGCTRL_POSITION(Position) | SYS_CFGCTRL_DEVICE(Device); in AccessSysCfgRegister()
111 UINT32 Position; in ArmPlatformSysConfigGet() local
114 Position = 0; in ArmPlatformSysConfigGet()
152 return AccessSysCfgRegister (SYS_CFGCTRL_READ, Function, Site, Position, Device, Value); in ArmPlatformSysConfigGet()
172 UINT32 Position; in ArmPlatformSysConfigSet() local
175 Position = 0; in ArmPlatformSysConfigSet()
213 return AccessSysCfgRegister (SYS_CFGCTRL_WRITE, Function, Site, Position, Device, &Value); in ArmPlatformSysConfigSet()
224 UINT32 Position; in ArmPlatformSysConfigSetDevice() local
226 Position = 0; in ArmPlatformSysConfigSetDevice()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/
DArmVExpressSysConfigRuntimeLib.c71 IN UINT32 Position, in AccessSysCfgRegister() argument
92 SYS_CFGCTRL_POSITION(Position) | SYS_CFGCTRL_DEVICE(Device); in AccessSysCfgRegister()
118 UINT32 Position; in ArmPlatformSysConfigGet() local
121 Position = 0; in ArmPlatformSysConfigGet()
159 return AccessSysCfgRegister (SYS_CFGCTRL_READ, Function, Site, Position, Device, Value); in ArmPlatformSysConfigGet()
179 UINT32 Position; in ArmPlatformSysConfigSet() local
182 Position = 0; in ArmPlatformSysConfigSet()
220 return AccessSysCfgRegister (SYS_CFGCTRL_WRITE, Function, Site, Position, Device, &Value); in ArmPlatformSysConfigSet()
231 UINT32 Position; in ArmPlatformSysConfigSetDevice() local
233 Position = 0; in ArmPlatformSysConfigSetDevice()
[all …]
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DReadWrite.c35 OUT UINT64 *Position in FatGetPosition() argument
52 *Position = IFile->Position; in FatGetPosition()
72 IN UINT64 Position in FatSetPosition() argument
91 if (Position != 0) { in FatSetPosition()
103 if (Position == (UINT64)-1) { in FatSetPosition()
104 Position = OFile->FileSize; in FatSetPosition()
109 IFile->Position = Position; in FatSetPosition()
140 CurrentPos = ((UINT32) IFile->Position) / sizeof (FAT_DIRECTORY_ENTRY); in FatIFileReadDir()
176 IFile->Position = (UINT64) (CurrentPos * sizeof (FAT_DIRECTORY_ENTRY)); in FatIFileReadDir()
236 if (IFile->Position > OFile->FileSize) { in FatIFileAccess()
[all …]
DFileSpace.c554 IN UINTN Position, in FatOFilePosition() argument
574 OFile->PosDisk = Volume->RootPos + Position; in FatOFilePosition()
575 Run = OFile->FileSize - Position; in FatOFilePosition()
590 StartPos = OFile->Position; in FatOFilePosition()
591 if (Position < StartPos || OFile->FileCluster == Cluster) { in FatOFilePosition()
596 while (StartPos + ClusterSize <= Position) { in FatOFilePosition()
612 Position - StartPos; in FatOFilePosition()
614 OFile->Position = StartPos; in FatOFilePosition()
619 Run = StartPos + ClusterSize - Position; in FatOFilePosition()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/PlatformBootManagerLib/
DQemuKernel.c94 UINT64 Position; // Byte position for regular files; member
213 NewStubFile->Position = 0; in StubFileOpen()
407 if (StubFile->Position == KernelBlobTypeMax) { in StubFileRead()
416 (KERNEL_BLOB_TYPE)StubFile->Position, in StubFileRead()
423 ++StubFile->Position; in StubFileRead()
431 if (StubFile->Position > Blob->Size) { in StubFileRead()
435 Left = Blob->Size - StubFile->Position; in StubFileRead()
440 CopyMem (Buffer, Blob->Data + StubFile->Position, *BufferSize); in StubFileRead()
442 StubFile->Position += *BufferSize; in StubFileRead()
507 OUT UINT64 *Position in StubFileGetPosition() argument
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Filesystem/SemihostFs/Arm/
DSemihostFs.c81 UINT32 Position; member
273 FileFcb->Position = 0; in FileOpen()
524 if (Fcb->Position >= Fcb->Info.FileSize) { in FileRead()
526 if (Fcb->Position > Fcb->Info.FileSize) { in FileRead()
534 Fcb->Position += *BufferSize; in FileRead()
634 if (Fcb->Position > Fcb->Info.FileSize) { in FileWrite()
635 Status = ExtendFile (Fcb, Fcb->Position - Fcb->Info.FileSize); in FileWrite()
639 Fcb->Info.FileSize = Fcb->Position; in FileWrite()
648 Fcb->Position += *BufferSize; in FileWrite()
649 if (Fcb->Position > Fcb->Info.FileSize) { in FileWrite()
[all …]
DSemihostFs.h155 OUT UINT64 *Position
174 IN UINT64 Position
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/
DPchXhci.asl131 … defined by two ports that declare _PLDs with identical Panel, Vertical Position, Horizontal Posti…
243 …ble/no docking/no lid bit[69:67]=6 (b'110) unknown(Vertical Position and Horizontal Position will…
244 … // bit[71:70]=b'00 Vertical Position ignore bit[73:72]=b'00 Horizontal Position ignore
284 …ble/no docking/no lid bit[69:67]=6 (b'110) unknown(Vertical Position and Horizontal Position will…
285 … // bit[71:70]=b'00 Vertical Position ignore bit[73:72]=b'00 Horizontal Position ignore
327 …ble/no docking/no lid bit[69:67]=6 (b'110) unknown(Vertical Position and Horizontal Position will…
328 … // bit[71:70]=b'00 Vertical Position ignore bit[73:72]=b'00 Horizontal Position ignore
368 …ble/no docking/no lid bit[69:67]=6 (b'110) unknown(Vertical Position and Horizontal Position will…
369 … // bit[71:70]=b'00 Vertical Position ignore bit[73:72]=b'00 Horizontal Position ignore
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DFileHandleWrappers.c75 OUT UINT64 *Position in FileInterfaceNopGetPosition() argument
93 IN UINT64 Position in FileInterfaceNopSetPosition() argument
1504 UINT64 Position; member
1523 OUT UINT64 Position in FileInterfaceMemSetPosition() argument
1526 if (Position <= ((EFI_FILE_PROTOCOL_MEM*)This)->FileSize) { in FileInterfaceMemSetPosition()
1527 ((EFI_FILE_PROTOCOL_MEM*)This)->Position = Position; in FileInterfaceMemSetPosition()
1546 OUT UINT64 *Position in FileInterfaceMemGetPosition() argument
1549 *Position = ((EFI_FILE_PROTOCOL_MEM*)This)->Position; in FileInterfaceMemGetPosition()
1579 if ((UINTN)(MemFile->Position + (*BufferSize)) > (UINTN)(MemFile->BufferSize)) { in FileInterfaceMemWrite()
1583 CopyMem(((UINT8*)MemFile->Buffer) + MemFile->Position, Buffer, *BufferSize); in FileInterfaceMemWrite()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FvSimpleFileSystemDxe/
DFvSimpleFileSystem.c709 if (*BufferSize + File->Position > FileSize) { in FvSimpleFileSystemRead()
710 *BufferSize = (UINTN)(FileSize - File->Position); in FvSimpleFileSystemRead()
713 CopyMem (Buffer, (UINT8*)FileBuffer + File->Position, *BufferSize); in FvSimpleFileSystemRead()
714 File->Position += *BufferSize; in FvSimpleFileSystemRead()
777 OUT UINT64 *Position in FvSimpleFileSystemGetPosition() argument
789 *Position = File->Position; in FvSimpleFileSystemGetPosition()
811 IN UINT64 Position in FvSimpleFileSystemSetPosition() argument
821 if (Position != 0) { in FvSimpleFileSystemSetPosition()
830 } else if (Position == 0xFFFFFFFFFFFFFFFFull) { in FvSimpleFileSystemSetPosition()
831 File->Position = File->FvFileInfo->FileInfo.FileSize; in FvSimpleFileSystemSetPosition()
[all …]
DFvSimpleFileSystemInternal.h72 UINT64 Position; member
343 OUT UINT64 *Position
363 IN UINT64 Position
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/SmmS3SaveState/
DInternalSmmSaveState.h97 IN OUT EFI_S3_BOOT_SCRIPT_POSITION *Position OPTIONAL,
133 IN OUT EFI_S3_BOOT_SCRIPT_POSITION *Position OPTIONAL,
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/S3SaveStateDxe/
DInternalS3SaveState.h114 IN OUT EFI_S3_BOOT_SCRIPT_POSITION *Position OPTIONAL,
150 IN OUT EFI_S3_BOOT_SCRIPT_POSITION *Position OPTIONAL,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Smm/SmmScriptLib/
DPiSmmS3SaveState.h95 IN OUT EFI_S3_BOOT_SCRIPT_POSITION *Position OPTIONAL,
133 IN OUT EFI_S3_BOOT_SCRIPT_POSITION *Position OPTIONAL,
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DS3SaveState.h100 IN OUT EFI_S3_BOOT_SCRIPT_POSITION *Position OPTIONAL,
138 IN OUT EFI_S3_BOOT_SCRIPT_POSITION *Position OPTIONAL,
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugPortDxe/
DDebugPort.c602 UINTN Position; in DebugPortWrite() local
611 for (Position = 0; Position < *BufferSize && !EFI_ERROR (Status); Position += WriteSize) { in DebugPortWrite()
616 if (*BufferSize - Position < 8) { in DebugPortWrite()
617 WriteSize = *BufferSize - Position; in DebugPortWrite()
623 &((UINT8 *) Buffer)[Position] in DebugPortWrite()
627 *BufferSize = Position; in DebugPortWrite()
/device/linaro/bootloader/edk2/DuetPkg/BiosVideoThunkDxe/
DBiosVideo.c1369 … CurrentModeData->Red.Position = BiosVideoPrivate->VbeModeInformationBlock->LinRedFieldPosition; in BiosVideoCheckForVbe()
1371 … CurrentModeData->Blue.Position = BiosVideoPrivate->VbeModeInformationBlock->LinBlueFieldPosition; in BiosVideoCheckForVbe()
1373 …CurrentModeData->Green.Position = BiosVideoPrivate->VbeModeInformationBlock->LinGreenFieldPosition; in BiosVideoCheckForVbe()
1375 …CurrentModeData->Reserved.Position = BiosVideoPrivate->VbeModeInformationBlock->LinRsvdFieldPositi… in BiosVideoCheckForVbe()
1379 CurrentModeData->Red.Position = BiosVideoPrivate->VbeModeInformationBlock->RedFieldPosition; in BiosVideoCheckForVbe()
1381 CurrentModeData->Blue.Position = BiosVideoPrivate->VbeModeInformationBlock->BlueFieldPosition; in BiosVideoCheckForVbe()
1383 … CurrentModeData->Green.Position = BiosVideoPrivate->VbeModeInformationBlock->GreenFieldPosition; in BiosVideoCheckForVbe()
1385 … CurrentModeData->Reserved.Position = BiosVideoPrivate->VbeModeInformationBlock->RsvdFieldPosition; in BiosVideoCheckForVbe()
1391 …if ((CurrentModeData->Red.Position == 0) && (CurrentModeData->Green.Position == 8) && (CurrentMode… in BiosVideoCheckForVbe()
1393 …lse if ((CurrentModeData->Blue.Position == 0) && (CurrentModeData->Green.Position == 8) && (Curren… in BiosVideoCheckForVbe()
[all …]
/device/linaro/bootloader/edk2/CorebootPayloadPkg/FbGop/
DFbGop.c872 …if ((CurrentModeData->Red.Position == 0) && (CurrentModeData->Green.Position == 8) && (CurrentMode… in FbGopCheckForVbe()
874 …lse if ((CurrentModeData->Blue.Position == 0) && (CurrentModeData->Green.Position == 8) && (Curren… in FbGopCheckForVbe()
1276 Blt->Red = (UINT8) ((Pixel >> Mode->Red.Position) & Mode->Red.Mask); in FbGopVbeBltWorker()
1277 Blt->Blue = (UINT8) ((Pixel >> Mode->Blue.Position) & Mode->Blue.Mask); in FbGopVbeBltWorker()
1278 Blt->Green = (UINT8) ((Pixel >> Mode->Green.Position) & Mode->Green.Mask); in FbGopVbeBltWorker()
1328 Pixel = ((Blt->Red & Mode->Red.Mask) << Mode->Red.Position) | in FbGopVbeBltWorker()
1331 Mode->Green.Position in FbGopVbeBltWorker()
1333 ((Blt->Blue & Mode->Blue.Mask) << Mode->Blue.Position); in FbGopVbeBltWorker()
1378 Pixel = ((Blt->Red & Mode->Red.Mask) << Mode->Red.Position) | in FbGopVbeBltWorker()
1379 ((Blt->Green & Mode->Green.Mask) << Mode->Green.Position) | in FbGopVbeBltWorker()
[all …]

123