Home
last modified time | relevance | path

Searched refs:LBA (Results 1 – 25 of 30) sorted by relevance

12

/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/
DCEATA.c516 IN EFI_LBA LBA, in ReadDMAExt() argument
533 CardData->TaskFile.LBALow = (UINT8)LBA; in ReadDMAExt()
534 CardData->TaskFile.LBAMid = (UINT8)RShiftU64(LBA, 8); in ReadDMAExt()
535 CardData->TaskFile.LBAHigh = (UINT8)RShiftU64(LBA, 16); in ReadDMAExt()
537 CardData->TaskFile.LBALow_Exp = (UINT8)RShiftU64(LBA, 24); in ReadDMAExt()
538 CardData->TaskFile.LBAMid_Exp = (UINT8)RShiftU64(LBA, 32); in ReadDMAExt()
539 CardData->TaskFile.LBAHigh_Exp = (UINT8)RShiftU64(LBA, 40); in ReadDMAExt()
573 IN EFI_LBA LBA, in WriteDMAExt() argument
590 CardData->TaskFile.LBALow = (UINT8)LBA; in WriteDMAExt()
591 CardData->TaskFile.LBAMid = (UINT8)RShiftU64(LBA, 8); in WriteDMAExt()
[all …]
DMMCSDBlockIo.c70 IN EFI_LBA LBA, in MMCSDBlockReadBlocks() argument
85 DEBUG((EFI_D_INFO, "Read(LBA=%08lx, Buffer=%08x, Size=%08x)\n", LBA, Buffer, BufferSize)); in MMCSDBlockReadBlocks()
105 Address = (UINT32)DivU64x32 (MultU64x32 (LBA, CardData->BlockIoMedia.BlockSize), 512); in MMCSDBlockReadBlocks()
110 Address = (UINT32)MultU64x32 (LBA, CardData->BlockIoMedia.BlockSize); in MMCSDBlockReadBlocks()
113 if (LBA + TotalBlock > CardData->BlockIoMedia.LastBlock + 1) { in MMCSDBlockReadBlocks()
300 IN EFI_LBA LBA, in MMCSDBlockWriteBlocks() argument
314 DEBUG((EFI_D_INFO, "Write(LBA=%08lx, Buffer=%08x, Size=%08x)\n", LBA, Buffer, BufferSize)); in MMCSDBlockWriteBlocks()
327 Address = (UINT32)DivU64x32 (MultU64x32 (LBA, CardData->BlockIoMedia.BlockSize), 512); in MMCSDBlockWriteBlocks()
332 Address = (UINT32)MultU64x32 (LBA, CardData->BlockIoMedia.BlockSize); in MMCSDBlockWriteBlocks()
DCEATABlockIo.c84 IN EFI_LBA LBA, in CEATABlockReadBlocks() argument
103 Address = MultU64x32(LBA, CardData->BlockIoMedia.BlockSize); in CEATABlockReadBlocks()
193 IN EFI_LBA LBA, in CEATABlockWriteBlocks() argument
213 Address = MultU64x32(LBA, CardData->BlockIoMedia.BlockSize); in CEATABlockWriteBlocks()
DSDMediaDevice.h412 IN EFI_LBA LBA,
438 IN EFI_LBA LBA,
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DBlockIo2.h108 IN EFI_LBA LBA,
150 IN EFI_LBA LBA,
DBlockIoCrypto.h396 IN EFI_LBA LBA,
462 IN EFI_LBA LBA,
/device/linaro/bootloader/edk2/DuetPkg/BootSector/
DGpt.S108 movl $1, %eax # Read LBA #1
109 movl $0, %edx # Read LBA #1
177 # EDX:EAX = Start LBA
194 movl %eax, %ds:8(%si) # 08 = Starting LBA (Low)
195 movl %edx, %ds:0xc(%si) # 0C = Starting LBA (High)
215 .long 0x0,0x0 # Start LBA (To be fixed each times)
278 .long 1 # Starting LBA
279 .long 0xFFFFFFFF # End LBA
DGpt.asm106 mov eax, 1 ; Read LBA #1
107 mov edx, 0 ; Read LBA #1
175 ; EDX:EAX = Start LBA
192 mov DWORD PTR ds:[si+8],eax ; 08 = Starting LBA (Low)
193 mov DWORD PTR ds:[si+0ch],edx ; 0C = Starting LBA (High)
213 dd 0h, 0h ; Start LBA (To be fixed each times)
275 dd 1 ; Starting LBA
276 dd 0FFFFFFFFh ; End LBA
Dbs16.S197 # AX = Start LBA
208 addl LBAOffsetForBootSector(%bp), %eax # Add LBAOffsetForBootSector to Start LBA
209 addl HiddenSectors(%bp), %eax # Add HiddenSectors to Start LBA
210 movl %eax, %esi # esi = Start LBA
214 movl %esi, %eax # eax = Start LBA
275 # LBA Offset for BootSector, need patched by tool for HD boot.
Dbs16.asm194 ; AX = Start LBA
205 add eax,dword ptr [bp+LBAOffsetForBootSector] ; Add LBAOffsetForBootSector to Start LBA
206 add eax,dword ptr [bp+HiddenSectors] ; Add HiddenSectors to Start LBA
207 mov esi,eax ; esi = Start LBA
211 mov eax,esi ; eax = Start LBA
272 ; LBA Offset for BootSector, need patched by tool for HD boot.
Dbs32.S218 # AX = Start LBA
229 addl LBAOffsetForBootSector(%bp), %eax # Add LBAOffsetForBootSector to Start LBA
230 addl HiddenSectors(%bp), %eax # Add HiddenSectors to Start LBA
231 movl %eax, %esi # esi = Start LBA
235 movl %esi, %eax # eax = Start LBA
296 # LBA Offset for BootSector, need patched by tool for HD boot.
Dbs32.asm216 ; AX = Start LBA
227 add eax,dword ptr [bp+LBAOffsetForBootSector] ; Add LBAOffsetForBootSector to Start LBA
228 add eax,dword ptr [bp+HiddenSectors] ; Add HiddenSectors to Start LBA
229 mov esi,eax ; esi = Start LBA
233 mov eax,esi ; eax = Start LBA
294 ; LBA Offset for BootSector, need patched by tool for HD boot.
Dstart.S214 # AX = Start LBA
225 addl LBAOffsetForBootSector(%bp), %eax # Add LBAOffsetForBootSector to Start LBA
226 addl HiddenSectors(%bp), %eax # Add HiddenSectors to Start LBA
227 movl %eax, %esi # esi = Start LBA
231 movl %esi, %eax # eax = Start LBA
Dstart16.S208 # AX = Start LBA
219 … addl LBAOffsetForBootSector(%bp), %eax # Add LBAOffsetForBootSector to Start LBA
220 addl HiddenSectors(%bp), %eax # Add HiddenSectors to Start LBA
221 movl %eax, %esi # esi = Start LBA
225 movl %esi, %eax # eax = Start LBA
Dstart16.asm204 ; AX = Start LBA
215 … add eax,dword ptr [bp+LBAOffsetForBootSector] ; Add LBAOffsetForBootSector to Start LBA
216 add eax,dword ptr [bp+HiddenSectors] ; Add HiddenSectors to Start LBA
217 mov esi,eax ; esi = Start LBA
221 mov eax,esi ; eax = Start LBA
Dstart32.S223 # AX = Start LBA
234 … addl LBAOffsetForBootSector(%bp), %eax # Add LBAOffsetForBootSector to Start LBA
235 addl HiddenSectors(%bp), %eax # Add HiddenSectors to Start LBA
236 movl %eax, %esi # esi = Start LBA
240 movl %esi, %eax # eax = Start LBA
Dstart.asm211 ; AX = Start LBA
222 … add eax,dword ptr [bp+LBAOffsetForBootSector] ; Add LBAOffsetForBootSector to Start LBA
223 add eax,dword ptr [bp+HiddenSectors] ; Add HiddenSectors to Start LBA
224 mov esi,eax ; esi = Start LBA
228 mov eax,esi ; eax = Start LBA
Dstart32.asm219 ; AX = Start LBA
230 … add eax,dword ptr [bp+LBAOffsetForBootSector] ; Add LBAOffsetForBootSector to Start LBA
231 add eax,dword ptr [bp+HiddenSectors] ; Add HiddenSectors to Start LBA
232 mov esi,eax ; esi = Start LBA
236 mov eax,esi ; eax = Start LBA
Dst32_64.S235 # AX = Start LBA
246 addl LBAOffsetForBootSector(%bp), %eax # Add LBAOffsetForBootSector to Start LBA
247 addl HiddenSectors(%bp), %eax # Add HiddenSectors to Start LBA
248 movl %eax,%esi # esi = Start LBA
252 movl %esi,%eax # eax = Start LBA
Dstart64.S227 # AX = Start LBA
238 addl LBAOffsetForBootSector(%bp), %eax # Add LBAOffsetForBootSector to Start LBA
239 addl HiddenSectors(%bp), %eax # Add HiddenSectors to Start LBA
240 movl %eax,%esi # esi = Start LBA
244 movl %esi,%eax # eax = Start LBA
Dst16_64.S220 # AX = Start LBA
231 addl LBAOffsetForBootSector(%bp), %eax # Add LBAOffsetForBootSector to Start LBA
232 addl HiddenSectors(%bp), %eax # Add HiddenSectors to Start LBA
233 movl %eax,%esi # esi = Start LBA
237 movl %esi,%eax # eax = Start LBA
/device/linaro/bootloader/edk2/EmulatorPkg/Include/Protocol/
DEmuBlockIo.h90 IN EFI_LBA LBA,
132 IN EFI_LBA LBA,
/device/linaro/bootloader/edk2/EmulatorPkg/EmuBlockIoDxe/
DEmuBlockIo.c89 IN EFI_LBA LBA, in EmuBlockIo2ReadBlocksEx() argument
103 Status = Private->Io->ReadBlocks (Private->Io, MediaId, LBA, Token, BufferSize, Buffer); in EmuBlockIo2ReadBlocksEx()
146 IN EFI_LBA LBA, in EmuBlockIo2WriteBlocksEx() argument
160 Status = Private->Io->WriteBlocks (Private->Io, MediaId, LBA, Token, BufferSize, Buffer); in EmuBlockIo2WriteBlocksEx()
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DBlockIo.c374 IN EFI_LBA LBA, in EmuBlockIoReadBlocks() argument
386 Status = EmuBlockIoReadWriteCommon (Private, MediaId, LBA, BufferSize, Buffer, "UnixReadBlocks"); in EmuBlockIoReadBlocks()
451 IN EFI_LBA LBA, in EmuBlockIoWriteBlocks() argument
464 …Status = EmuBlockIoReadWriteCommon (Private, MediaId, LBA, BufferSize, Buffer, "UnixWriteBlocks"); in EmuBlockIoWriteBlocks()
DGasket.h474 IN EFI_LBA LBA,
485 IN EFI_LBA LBA,

12