Home
last modified time | relevance | path

Searched refs:BlockOffset (Results 1 – 11 of 11) sorted by relevance

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/
DFvbService.c292 IN UINTN BlockOffset, in FvbReadBlock()
320 if (BlockOffset > LbaLength) { in FvbReadBlock()
324 if (LbaLength < ( *NumBytes + BlockOffset ) ) { in FvbReadBlock()
325 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbReadBlock()
329 LibFvbFlashDeviceRead (LbaAddress + BlockOffset, NumBytes, Buffer); in FvbReadBlock()
360 IN UINTN BlockOffset, in FvbWriteBlock()
394 if (BlockOffset > LbaLength) { in FvbWriteBlock()
398 if ( LbaLength < ( *NumBytes + BlockOffset ) ) { in FvbWriteBlock()
402 (UINT32)(LbaLength-BlockOffset)) in FvbWriteBlock()
404 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbWriteBlock()
[all …]
/device/linaro/bootloader/edk2/EmulatorPkg/FvbServicesRuntimeDxe/
DFWBlockService.c356 IN UINTN BlockOffset, in FvbReadBlock() argument
424 if (BlockOffset > LbaLength) { in FvbReadBlock()
428 if (LbaLength < (*NumBytes + BlockOffset)) { in FvbReadBlock()
429 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbReadBlock()
433 CopyMem (Buffer, (UINT8 *) (LbaAddress + BlockOffset), (UINTN) (*NumBytes)); in FvbReadBlock()
442 IN UINTN BlockOffset, in FvbWriteBlock() argument
509 if (BlockOffset > LbaLength) { in FvbWriteBlock()
513 if (LbaLength < (*NumBytes + BlockOffset)) { in FvbWriteBlock()
514 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbWriteBlock()
520 CopyMem ((UINT8 *) (LbaAddress + BlockOffset), Buffer, (UINTN) (*NumBytes)); in FvbWriteBlock()
DFwBlockService.h67 IN UINTN BlockOffset,
79 IN UINTN BlockOffset,
/device/linaro/bootloader/edk2/Nt32Pkg/FvbServicesRuntimeDxe/
DFWBlockService.c397 IN UINTN BlockOffset, in FvbReadBlock() argument
465 if (BlockOffset > LbaLength) { in FvbReadBlock()
469 if (LbaLength < (*NumBytes + BlockOffset)) { in FvbReadBlock()
470 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbReadBlock()
474 CopyMem (Buffer, (UINT8 *) (LbaAddress + BlockOffset), (UINTN) (*NumBytes)); in FvbReadBlock()
483 IN UINTN BlockOffset, in FvbWriteBlock() argument
550 if (BlockOffset > LbaLength) { in FvbWriteBlock()
554 if (LbaLength < (*NumBytes + BlockOffset)) { in FvbWriteBlock()
555 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbWriteBlock()
561 CopyMem ((UINT8 *) (LbaAddress + BlockOffset), Buffer, (UINTN) (*NumBytes)); in FvbWriteBlock()
DFwBlockService.h78 IN UINTN BlockOffset,
89 IN CONST UINTN BlockOffset,
/device/linaro/bootloader/edk2/DuetPkg/FvbRuntimeService/
DFWBlockService.c440 IN UINTN BlockOffset, in FvbReadBlock() argument
508 if (BlockOffset > LbaLength) { in FvbReadBlock()
512 if (LbaLength < (*NumBytes + BlockOffset)) { in FvbReadBlock()
513 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbReadBlock()
517 CopyMem (Buffer, (VOID *) (LbaAddress + BlockOffset), (UINTN) *NumBytes); in FvbReadBlock()
525 IN UINTN BlockOffset, in FvbWriteBlock() argument
606 if (BlockOffset > LbaLength) { in FvbWriteBlock()
610 if (LbaLength < (*NumBytes + BlockOffset)) { in FvbWriteBlock()
611 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbWriteBlock()
616 LbaAddress + BlockOffset, in FvbWriteBlock()
DFwBlockService.h158 IN UINTN BlockOffset,
169 IN UINTN BlockOffset,
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/SpiFvbServices/
DFwBlockService.c432 IN UINTN BlockOffset, in FvbReadBlock() argument
500 if (BlockOffset > LbaLength) { in FvbReadBlock()
504 if (LbaLength < (*NumBytes + BlockOffset)) { in FvbReadBlock()
505 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbReadBlock()
509 MmioReadBuffer8 (LbaAddress + BlockOffset, (UINTN) *NumBytes, Buffer); in FvbReadBlock()
632 IN UINTN BlockOffset, in FvbWriteBlock() argument
716 if (BlockOffset > LbaLength) { in FvbWriteBlock()
720 if (LbaLength < (*NumBytes + BlockOffset)) { in FvbWriteBlock()
721 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbWriteBlock()
726 LbaWriteAddress + BlockOffset, in FvbWriteBlock()
DFwBlockService.h163 IN UINTN BlockOffset,
174 IN UINTN BlockOffset,
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/
DNorFlashDxe.c1142 UINT32 BlockOffset; in NorFlashDiskIoReadDisk() local
1152 Lba = (EFI_LBA) DivU64x32Remainder (DiskOffset, BlockSize, &BlockOffset); in NorFlashDiskIoReadDisk()
1154 return NorFlashRead (Instance, Lba, BlockOffset, BufferSize, Buffer); in NorFlashDiskIoReadDisk()
1187 UINT32 BlockOffset; in NorFlashDiskIoWriteDisk() local
1200 Lba = (EFI_LBA) DivU64x32Remainder (DiskOffset, BlockSize, &BlockOffset); in NorFlashDiskIoWriteDisk()
1216 Status = NorFlashWriteSingleBlock (Instance, Lba, BlockOffset, &WriteSize, Buffer); in NorFlashDiskIoWriteDisk()
1225 BlockOffset = 0; in NorFlashDiskIoWriteDisk()
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DSdramSpdDdr4.h751 UINT16 BlockOffset : 4; ///< Bits 13:10 member