/device/linaro/bootloader/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/ |
QemuFlash.h | 26 @param[in] Lba The starting logical block index to read from.
35 IN EFI_LBA Lba,
45 @param[in] Lba The starting logical block index to write to.
54 IN EFI_LBA Lba,
64 @param Lba The logical block index to erase.
69 IN EFI_LBA Lba
|
QemuFlash.c | 41 IN EFI_LBA Lba,
45 return mFlashBase + ((UINTN)Lba * mFdBlockSize) + Offset;
120 @param[in] Lba The starting logical block index to read from.
129 IN EFI_LBA Lba,
141 if (Lba >= mFdBlockCount) {
148 Ptr = (UINT8*) QemuFlashPtr (Lba, Offset);
159 @param[in] Lba The starting logical block index to write to.
168 IN EFI_LBA Lba,
181 if (Lba >= mFdBlockCount) {
188 Ptr = QemuFlashPtr (Lba, Offset); [all...] |
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/ |
NorFlashBlockIoDxe.c | 47 IN EFI_LBA Lba,
63 DEBUG ((DEBUG_BLKIO, "NorFlashBlockIoReadBlocks(MediaId=0x%x, Lba=%ld, BufferSize=0x%x bytes (%d kB), BufferPtr @ 0x%08x)\n", MediaId, Lba, BufferSizeInBytes, Buffer));
74 Status = NorFlashReadBlocks (Instance, Lba, BufferSizeInBytes, Buffer);
88 IN EFI_LBA Lba,
98 DEBUG ((DEBUG_BLKIO, "NorFlashBlockIoWriteBlocks(MediaId=0x%x, Lba=%ld, BufferSize=0x%x bytes (%d kB), BufferPtr @ 0x%08x)\n", MediaId, Lba, BufferSizeInBytes, Buffer));
107 Status = NorFlashWriteBlocks (Instance,Lba,BufferSizeInBytes,Buffer);
|
NorFlashDxe.h | 53 #define GET_NOR_BLOCK_ADDRESS(BaseAddr,Lba,LbaSize)( BaseAddr + (UINTN)((Lba) * LbaSize) )
191 IN EFI_LBA Lba,
204 IN EFI_LBA Lba,
279 IN EFI_LBA Lba,
288 IN EFI_LBA Lba,
298 IN EFI_LBA Lba,
324 IN EFI_LBA Lba,
333 IN EFI_LBA Lba,
341 IN EFI_LBA Lba,
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ipf/ |
Fvb.c | 63 IN EFI_LBA Lba,
75 Lba - The logical block address to be read from
90 return EfiCallEsalService (&Guid, Read, Instance, Lba, Offset, (UINT64) NumBytes, (UINT64) Buffer, 0, 0).Status;
96 IN EFI_LBA Lba,
108 Lba - The starting logical block index to write to
123 return EfiCallEsalService (&Guid, Write, Instance, Lba, Offset, (UINT64) NumBytes, (UINT64) Buffer, 0, 0).Status;
129 IN UINTN Lba
138 Lba - The logical block index to be erased
147 return EfiCallEsalService (&Guid, EraseBlock, Instance, Lba, 0, 0, 0, 0, 0).Status;
233 IN EFI_LBA Lba,
[all...] |
/device/linaro/bootloader/edk2/OvmfPkg/Include/Library/ |
PlatformFvbLib.h | 26 @param[in] Lba The starting logical block index
38 IN EFI_LBA Lba,
50 @param[in] Lba The starting logical block index to written to.
60 IN EFI_LBA Lba,
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/PlatformFvbLibNull/ |
PlatformFvbLibNull.c | 24 @param[in] Lba The starting logical block index
36 IN EFI_LBA Lba,
50 @param[in] Lba The starting logical block index to written to.
60 IN EFI_LBA Lba,
|
/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/ |
BlockIo.c | 59 Read/Write BufferSize bytes from Lba into Buffer.
66 @param Lba The starting Logical Block Address to read from/write to.
79 IN EFI_LBA Lba,
103 if (Lba > Media->LastBlock ||
104 (BufferSize / Media->BlockSize) - 1 > Media->LastBlock - Lba) {
106 "XenPvBlkDxe: %a with invalid LBA: 0x%Lx, size: 0x%Lx\n",
107 IsWrite ? "Write" : "Read", Lba, (UINT64)BufferSize));
129 Lba, BufferSize, NewBuffer);
134 Lba, BufferSize, NewBuffer);
141 Sector = (UINTN)MultU64x32 (Lba, Media->BlockSize / 512); [all...] |
BlockIo.h | 17 Read BufferSize bytes from Lba into Buffer.
21 @param Lba The starting Logical Block Address to read from
40 IN EFI_LBA Lba,
46 Write BufferSize bytes from Lba into Buffer.
50 @param Lba The starting logical block address to be written. The caller is
70 IN EFI_LBA Lba,
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/ |
IsaFloppyBlock.c | 96 Read BufferSize bytes from Lba into Buffer.
100 @param Lba The starting Logical Block Address to read from
119 IN EFI_LBA Lba,
126 Status = FddReadWriteBlocks (This, MediaId, Lba, BufferSize, READ, Buffer);
136 Write BufferSize bytes from Lba into Buffer.
140 @param Lba The starting logical block address to be written. The caller is
160 IN EFI_LBA Lba,
167 Status = FddReadWriteBlocks (This, MediaId, Lba, BufferSize, WRITE, Buffer);
181 @param Lba The starting Logical Block Address to read from
201 IN EFI_LBA Lba,
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/ |
FaultTolerantWriteSmmCommon.h | 56 EFI_LBA Lba;
72 EFI_LBA Lba;
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/EmuVariableFvbLib/ |
EmuVariableFvbLib.c | 28 @param[in] Lba The starting logical block index
40 IN EFI_LBA Lba,
54 @param[in] Lba The starting logical block index to written to.
64 IN EFI_LBA Lba,
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/ |
FvbSmmCommon.h | 69 EFI_LBA Lba;
76 EFI_LBA Lba;
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Universal/MmcDxe/ |
MmcBlockIo.c | 135 IN EFI_LBA Lba,
152 CmdArg = Lba;
154 CmdArg = Lba * This->Media->BlockSize;
165 Status = MmcHost->ReadBlockData (MmcHost, Lba, BufferSize, Buffer);
178 Status = MmcHost->WriteBlockData (MmcHost, Lba, BufferSize, Buffer);
223 IN EFI_LBA Lba,
263 if ((Lba + (BufferSize / This->Media->BlockSize)) > (This->Media->LastBlock + 1)) {
329 Status = MmcTransferBlock (This, Cmd, Transfer, MediaId, Lba, ConsumeSize, Buffer);
336 Lba += BlockCount;
349 IN EFI_LBA Lba,
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Protocol/FirmwareVolumeBlock/ |
FirmwareVolumeBlock.h | 118 IN EFI_LBA Lba,
129 Lba - Indicates which block to return the size for.
134 starting with Lba is returned. All blocks in this
148 IN EFI_LBA Lba,
156 Reads data beginning at Lba:Offset from FV and places the data in Buffer.
163 Lba - Block in which to begin read
182 IN EFI_LBA Lba,
191 Writes data beginning at Lba:Offset from FV. The write terminates either
198 Lba - Block in which to begin write
233 ... - Starting LBA followed by Number of Lba to erase. a -1 to terminate [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Protocol/ |
FrameworkFirmwareVolumeBlock.h | 113 @param Lba Indicates the block for which to return the size.
120 starting with Lba, is returned. All
127 @retval EFI_INVALID_PARAMETER The requested LBA is out of range.
134 IN EFI_LBA Lba,
158 @param Lba The starting logical block index
174 @retval EFI_BAD_BUFFER_SIZE A read was attempted across an LBA
191 IN EFI_LBA Lba,
229 @param Lba The starting logical block index to write to.
242 LBA boundary. On output, NumBytes
258 IN EFI_LBA Lba,
[all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/FvbServicesRuntimeDxe/ |
FwBlockService.h | 66 IN EFI_LBA Lba,
78 IN EFI_LBA Lba,
90 IN EFI_LBA Lba,
143 IN EFI_LBA Lba,
183 IN EFI_LBA Lba,
193 IN EFI_LBA Lba,
204 IN EFI_LBA Lba,
|
/device/linaro/bootloader/edk2/Nt32Pkg/FvbServicesRuntimeDxe/ |
FwBlockService.h | 77 IN EFI_LBA Lba,
88 IN CONST EFI_LBA Lba,
99 IN EFI_LBA Lba,
146 IN EFI_LBA Lba,
182 IN CONST EFI_LBA Lba,
191 IN CONST EFI_LBA Lba,
201 IN EFI_LBA Lba,
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/ |
Dblk.c | 23 @param[in] Lba The Lba number to start from.
32 IN CONST UINT64 Lba,
63 Status = BlockIo->ReadBlocks(BlockIo, BlockIo->Media->MediaId, Lba, BufferSize, Buffer);
71 Lba,
110 UINT64 Lba;
154 Lba = 0;
160 ShellConvertStringToUint64(LbaString, &Lba, TRUE, FALSE);
192 ShellStatus = DisplayTheBlocks(gEfiShellProtocol->GetDevicePathFromMap(BlockName), Lba, (UINT8)BlockCount);
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/ |
FlashUpdate.c | 23 @param Lba Logic block index to be updated.
34 IN EFI_LBA Lba,
47 Lba, // Lba
61 Lba, // Lba
77 @param Lba Logic block index to be updated.
90 IN EFI_LBA Lba,
107 Lba,
133 Lba,
[all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/ |
BiosBlkIo.h | 162 Read BufferSize bytes from Lba into Buffer.
166 @param Lba The starting Logical Block Address to read from
185 IN EFI_LBA Lba,
191 Write BufferSize bytes from Lba into Buffer.
195 @param Lba The starting logical block address to be written. The caller is
215 IN EFI_LBA Lba,
255 Read BufferSize bytes from Lba into Buffer.
259 @param Lba The starting Logical Block Address to read from
278 IN EFI_LBA Lba,
284 Write BufferSize bytes from Lba into Buffer. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/ |
UsbMassBoot.h | 92 // READ10, WRITE10, and REQUEST SENSE. The BLOCK_IO protocol uses LBA
158 UINT8 Lba[4]; ///< Logical block address
168 UINT8 Lba[4];
277 @param Lba The start block number
288 IN UINT32 Lba,
297 @param Lba The start block number
308 IN UINT32 Lba,
317 @param Lba The start block number
328 IN UINT64 Lba,
337 @param Lba The start block number [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVolBlock/ |
FwVolBlock.h | 107 @param ... Starting LBA followed by Number of Lba to erase.
134 @param Lba The starting logical block index to read.
144 @retval EFI_BAD_BUFFER_SIZE The read was attempted across an LBA boundary.
154 IN CONST EFI_LBA Lba,
166 @param Lba The starting logical block index to write to.
176 @retval EFI_BAD_BUFFER_SIZE The write was attempted across an LBA boundary.
190 IN EFI_LBA Lba,
221 @param Lba Indicates the block for which to return the
226 number of consecutive blocks starting with Lba
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/ |
Reclaim.c | 19 Gets LBA of block and offset by given address.
21 This function gets the Logical Block Address (LBA) of a firmware
27 @param Lba Pointer to LBA for output.
30 @retval EFI_SUCCESS LBA and offset successfully returned.
32 @retval EFI_ABORTED Fail to find valid LBA and offset.
38 OUT EFI_LBA *Lba,
50 *Lba = (EFI_LBA) (-1);
72 // Get the (LBA, Offset) of Address.
82 // Found the (Lba, Offset). [all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
FirmwareVolumeBlock.h | 122 @param Lba Indicates the block for which to return the size.
129 starting with Lba, is returned. All
136 @retval EFI_INVALID_PARAMETER The requested LBA is out of range.
143 IN EFI_LBA Lba,
167 @param Lba The starting logical block index
183 @retval EFI_BAD_BUFFER_SIZE Read attempted across an LBA
200 IN EFI_LBA Lba,
238 @param Lba The starting logical block index to write to.
253 LBA boundary. On output, NumBytes
269 IN EFI_LBA Lba,
[all...] |