Searched refs:BufferSizeInBytes (Results 1 – 6 of 6) sorted by relevance
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/FlashFvbDxe/ |
D | FlashBlockIoDxe.c | 28 IN UINTN BufferSizeInBytes, in FlashBlockIoReadBlocks() argument 37 …, BufferSize=0x%x bytes (%d kB), BufferPtr @ 0x%08x)\n", MediaId, Lba, BufferSizeInBytes, Buffer)); in FlashBlockIoReadBlocks() 49 Status = FlashReadBlocks (Instance, Lba, BufferSizeInBytes, Buffer); in FlashBlockIoReadBlocks() 64 IN UINTN BufferSizeInBytes, in FlashBlockIoWriteBlocks() argument 73 …, BufferSize=0x%x bytes (%d kB), BufferPtr @ 0x%08x)\n", MediaId, Lba, BufferSizeInBytes, Buffer)); in FlashBlockIoWriteBlocks() 89 Status = FlashWriteBlocks (Instance, Lba, BufferSizeInBytes, Buffer); in FlashBlockIoWriteBlocks()
|
D | FlashFvbDxe.h | 108 IN UINTN BufferSizeInBytes, 121 IN UINTN BufferSizeInBytes, 216 IN UINTN BufferSizeInBytes, 224 IN UINTN BufferSizeInBytes,
|
D | FlashFvbDxe.c | 1040 IN UINTN BufferSizeInBytes, in FlashWriteBlocks() argument 1061 if (BufferSizeInBytes == 0) in FlashWriteBlocks() 1067 if ((BufferSizeInBytes % Instance->Media.BlockSize) != 0) in FlashWriteBlocks() 1073 NumBlocks = ((UINT32)BufferSizeInBytes) / Instance->Media.BlockSize ; in FlashWriteBlocks() 1084 Status = mFlash->Write(mFlash, (UINT32)WriteAddress, (UINT8*)Buffer, BufferSizeInBytes); in FlashWriteBlocks() 1098 IN UINTN BufferSizeInBytes, in FlashReadBlocks() argument 1114 if (BufferSizeInBytes == 0) in FlashReadBlocks() 1120 if ((BufferSizeInBytes % Instance->Media.BlockSize) != 0) in FlashReadBlocks() 1126 NumBlocks = ((UINT32)BufferSizeInBytes) / Instance->Media.BlockSize ; in FlashReadBlocks() 1142 Status = mFlash->Read(mFlash, (UINT32)ReadAddress, Buffer, BufferSizeInBytes); in FlashReadBlocks()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/ |
D | NorFlashBlockIoDxe.c | 48 IN UINTN BufferSizeInBytes, in NorFlashBlockIoReadBlocks() argument 63 …, BufferSize=0x%x bytes (%d kB), BufferPtr @ 0x%08x)\n", MediaId, Lba, BufferSizeInBytes, Buffer)); in NorFlashBlockIoReadBlocks() 74 Status = NorFlashReadBlocks (Instance, Lba, BufferSizeInBytes, Buffer); in NorFlashBlockIoReadBlocks() 89 IN UINTN BufferSizeInBytes, in NorFlashBlockIoWriteBlocks() argument 98 …, BufferSize=0x%x bytes (%d kB), BufferPtr @ 0x%08x)\n", MediaId, Lba, BufferSizeInBytes, Buffer)); in NorFlashBlockIoWriteBlocks() 107 Status = NorFlashWriteBlocks (Instance,Lba,BufferSizeInBytes,Buffer); in NorFlashBlockIoWriteBlocks()
|
D | NorFlashDxe.c | 458 IN UINTN BufferSizeInBytes, in NorFlashWriteBuffer() argument 479 if (BufferSizeInBytes == 0) { in NorFlashWriteBuffer() 484 if (BufferSizeInBytes > P30_MAX_BUFFER_SIZE_IN_BYTES) { in NorFlashWriteBuffer() 489 if ((BufferSizeInBytes % 4) != 0) { in NorFlashWriteBuffer() 520 BufferSizeInWords = BufferSizeInBytes / (UINTN)4; in NorFlashWriteBuffer() 683 IN UINTN BufferSizeInBytes, in NorFlashWriteBlocks() argument 704 DEBUG((DEBUG_BLKIO, "NorFlashWriteBlocks: BufferSizeInBytes=0x%x\n", BufferSizeInBytes)); in NorFlashWriteBlocks() 705 if(BufferSizeInBytes == 0) { in NorFlashWriteBlocks() 711 if ((BufferSizeInBytes % Instance->Media.BlockSize) != 0) { in NorFlashWriteBlocks() 716 NumBlocks = ((UINT32)BufferSizeInBytes) / Instance->Media.BlockSize ; in NorFlashWriteBlocks() [all …]
|
D | NorFlashDxe.h | 167 IN UINTN BufferSizeInBytes, 190 IN UINTN BufferSizeInBytes, 203 IN UINTN BufferSizeInBytes, 332 IN UINTN BufferSizeInBytes, 340 IN UINTN BufferSizeInBytes, 349 IN UINTN BufferSizeInBytes,
|