Searched defs:BlockOffset (Results 1 - 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/
H A DFvbService.c268 @param[in] BlockOffset Offset into the block at which to begin reading.
292 IN UINTN BlockOffset,
320 if (BlockOffset > LbaLength) {
324 if (LbaLength < ( *NumBytes + BlockOffset ) ) {
325 *NumBytes = (UINT32) (LbaLength - BlockOffset);
329 LibFvbFlashDeviceRead (LbaAddress + BlockOffset, NumBytes, Buffer);
340 @param[in] BlockOffset Offset into the block at which to begin writing.
360 IN UINTN BlockOffset,
397 if (BlockOffset > LbaLength) {
401 if ( LbaLength < ( *NumBytes + BlockOffset ) ) {
280 FvbReadBlock( IN UINTN Instance, IN EFI_LBA Lba, IN UINTN BlockOffset, IN OUT UINTN *NumBytes, IN UINT8 *Buffer ) argument
348 FvbWriteBlock( IN UINTN Instance, IN EFI_LBA Lba, IN UINTN BlockOffset, IN OUT UINTN *NumBytes, IN UINT8 *Buffer ) argument
[all...]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/
H A DNorFlashDxe.c1083 UINT32 BlockOffset; local
1093 Lba = (EFI_LBA) DivU64x32Remainder (DiskOffset, BlockSize, &BlockOffset);
1095 return NorFlashRead (Instance, Lba, BlockOffset, BufferSize, Buffer);
1128 UINT32 BlockOffset; local
1141 Lba = (EFI_LBA) DivU64x32Remainder (DiskOffset, BlockSize, &BlockOffset);
1157 Status = NorFlashWriteSingleBlock (Instance, Lba, BlockOffset, &WriteSize, Buffer);
1166 BlockOffset = 0;
/device/linaro/bootloader/edk2/EmulatorPkg/FvbServicesRuntimeDxe/
H A DFWBlockService.c356 IN UINTN BlockOffset,
370 BlockOffset - Offset into the block at which to begin reading
424 if (BlockOffset > LbaLength) {
428 if (LbaLength < (*NumBytes + BlockOffset)) {
429 *NumBytes = (UINT32) (LbaLength - BlockOffset);
433 CopyMem (Buffer, (UINT8 *) (LbaAddress + BlockOffset), (UINTN) (*NumBytes));
442 IN UINTN BlockOffset,
456 BlockOffset - Offset into the block at which to begin writing
509 if (BlockOffset > LbaLength) {
513 if (LbaLength < (*NumBytes + BlockOffset)) {
353 FvbReadBlock( IN UINTN Instance, IN EFI_LBA Lba, IN UINTN BlockOffset, IN OUT UINTN *NumBytes, IN UINT8 *Buffer, IN ESAL_FWB_GLOBAL *Global, IN BOOLEAN Virtual ) argument
439 FvbWriteBlock( IN UINTN Instance, IN EFI_LBA Lba, IN UINTN BlockOffset, IN OUT UINTN *NumBytes, IN UINT8 *Buffer, IN ESAL_FWB_GLOBAL *Global, IN BOOLEAN Virtual ) argument
[all...]
/device/linaro/bootloader/edk2/Nt32Pkg/FvbServicesRuntimeDxe/
H A DFWBlockService.c397 IN UINTN BlockOffset,
411 BlockOffset - Offset into the block at which to begin reading
465 if (BlockOffset > LbaLength) {
469 if (LbaLength < (*NumBytes + BlockOffset)) {
470 *NumBytes = (UINT32) (LbaLength - BlockOffset);
474 CopyMem (Buffer, (UINT8 *) (LbaAddress + BlockOffset), (UINTN) (*NumBytes));
483 IN UINTN BlockOffset,
497 BlockOffset - Offset into the block at which to begin writing
550 if (BlockOffset > LbaLength) {
554 if (LbaLength < (*NumBytes + BlockOffset)) {
394 FvbReadBlock( IN UINTN Instance, IN EFI_LBA Lba, IN UINTN BlockOffset, IN OUT UINTN *NumBytes, IN UINT8 *Buffer, IN ESAL_FWB_GLOBAL *Global, IN BOOLEAN Virtual ) argument
480 FvbWriteBlock( IN UINTN Instance, IN EFI_LBA Lba, IN UINTN BlockOffset, IN OUT UINTN *NumBytes, IN UINT8 *Buffer, IN ESAL_FWB_GLOBAL *Global, IN BOOLEAN Virtual ) argument
[all...]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/SpiFvbServices/
H A DFwBlockService.c432 IN UINTN BlockOffset,
446 BlockOffset - Offset into the block at which to begin reading
500 if (BlockOffset > LbaLength) {
504 if (LbaLength < (*NumBytes + BlockOffset)) {
505 *NumBytes = (UINT32) (LbaLength - BlockOffset);
509 MmioReadBuffer8 (LbaAddress + BlockOffset, (UINTN) *NumBytes, Buffer);
635 IN UINTN BlockOffset,
649 BlockOffset - Offset into the block at which to begin writing
719 if (BlockOffset > LbaLength) {
723 if (LbaLength < (*NumBytes + BlockOffset)) {
429 FvbReadBlock( IN UINTN Instance, IN EFI_LBA Lba, IN UINTN BlockOffset, IN OUT UINTN *NumBytes, IN UINT8 *Buffer, IN ESAL_FWB_GLOBAL *Global, IN BOOLEAN Virtual ) argument
632 FvbWriteBlock( IN UINTN Instance, IN EFI_LBA Lba, IN UINTN BlockOffset, IN OUT UINTN *NumBytes, IN UINT8 *Buffer, IN ESAL_FWB_GLOBAL *Global, IN BOOLEAN Virtual ) argument
[all...]
/device/linaro/bootloader/edk2/DuetPkg/FvbRuntimeService/
H A DFWBlockService.c440 IN UINTN BlockOffset,
454 BlockOffset - Offset into the block at which to begin reading
508 if (BlockOffset > LbaLength) {
512 if (LbaLength < (*NumBytes + BlockOffset)) {
513 *NumBytes = (UINT32) (LbaLength - BlockOffset);
517 CopyMem (Buffer, (VOID *) (LbaAddress + BlockOffset), (UINTN) *NumBytes);
525 IN UINTN BlockOffset,
539 BlockOffset - Offset into the block at which to begin writing
606 if (BlockOffset > LbaLength) {
610 if (LbaLength < (*NumBytes + BlockOffset)) {
437 FvbReadBlock( IN UINTN Instance, IN EFI_LBA Lba, IN UINTN BlockOffset, IN OUT UINTN *NumBytes, IN UINT8 *Buffer, IN ESAL_FWB_GLOBAL *Global, IN BOOLEAN Virtual ) argument
522 FvbWriteBlock( IN UINTN Instance, IN EFI_LBA Lba, IN UINTN BlockOffset, IN OUT UINTN *NumBytes, IN UINT8 *Buffer, IN ESAL_FWB_GLOBAL *Global, IN BOOLEAN Virtual ) argument
[all...]

Completed in 230 milliseconds