/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/ |
D | FvbService.c | 292 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/ |
D | FWBlockService.c | 356 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()
|
D | FwBlockService.h | 67 IN UINTN BlockOffset, 79 IN UINTN BlockOffset,
|
/device/linaro/bootloader/edk2/Nt32Pkg/FvbServicesRuntimeDxe/ |
D | FWBlockService.c | 397 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()
|
D | FwBlockService.h | 78 IN UINTN BlockOffset, 89 IN CONST UINTN BlockOffset,
|
/device/linaro/bootloader/edk2/DuetPkg/FvbRuntimeService/ |
D | FWBlockService.c | 440 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()
|
D | FwBlockService.h | 158 IN UINTN BlockOffset, 169 IN UINTN BlockOffset,
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/SpiFvbServices/ |
D | FwBlockService.c | 432 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()
|
D | FwBlockService.h | 163 IN UINTN BlockOffset, 174 IN UINTN BlockOffset,
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/ |
D | NorFlashDxe.c | 1142 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/ |
D | SdramSpdDdr4.h | 751 UINT16 BlockOffset : 4; ///< Bits 13:10 member
|