Lines Matching full:numbytes
269 @param[in] NumBytes Pointer that on input contains the total size of
279 NumBytes contains the total number of bytes returned
284 @retval EFI_INVALID_PARAMETER Instance not found, or NumBytes, Buffer are NULL.
293 IN OUT UINTN *NumBytes,
302 if ( (NumBytes == NULL) || (Buffer == NULL)) {
305 if (*NumBytes == 0) {
324 if (LbaLength < ( *NumBytes + BlockOffset ) ) {
325 *NumBytes = (UINT32) (LbaLength - BlockOffset);
329 LibFvbFlashDeviceRead (LbaAddress + BlockOffset, NumBytes, Buffer);
341 @param[in] NumBytes Pointer that on input contains the total size of
348 NumBytes contains the total number of bytes
353 @retval EFI_INVALID_PARAMETER Instance not found, or NumBytes, Buffer are NULL.
361 IN OUT UINTN *NumBytes,
371 if ( (NumBytes == NULL) || (Buffer == NULL)) {
374 if (*NumBytes == 0) {
392 // Perform boundary checks and adjust NumBytes.
398 if ( LbaLength < ( *NumBytes + BlockOffset ) ) {
400 "FvWriteBlock: Reducing Numbytes from 0x%x to 0x%x\n",
401 *NumBytes,
404 *NumBytes = (UINT32) (LbaLength - BlockOffset);
410 Status1 = LibFvbFlashDeviceWrite (LbaAddress + BlockOffset, NumBytes, Buffer);
413 WriteBackInvalidateDataCacheRange ((VOID *) (LbaAddress + BlockOffset), *NumBytes);
851 when *NumBytes of data have been written, or when a block boundary is
852 reached. *NumBytes is updated to reflect the actual number of bytes
860 @param[in,out] NumBytes On input, indicates the requested write size. On
866 NumBytes contains the total number of bytes
871 @retval EFI_INVALID_PARAMETER NumBytes or Buffer are NULL.
880 IN OUT UINTN *NumBytes,
890 "FvbProtocolWrite: Lba: 0x%lx Offset: 0x%x NumBytes: 0x%x, Buffer: 0x%x\n",
893 *NumBytes,
897 return FvbWriteBlock (FvbDevice->Instance, Lba, Offset, NumBytes, Buffer);
903 when *NumBytes of data have been read, or when a block boundary is
904 reached. *NumBytes is updated to reflect the actual number of bytes
912 @param[in,out] NumBytes On input, indicates the requested write size. On
921 NumBytes contains the total number of bytes returned
926 @retval EFI_INVALID_PARAMETER NumBytes or Buffer are NULL.
935 IN OUT UINTN *NumBytes,
944 Status = FvbReadBlock (FvbDevice->Instance, Lba, Offset, NumBytes, Buffer);
946 "FvbProtocolRead: Lba: 0x%lx Offset: 0x%x NumBytes: 0x%x, Buffer: 0x%x\n",
949 *NumBytes,