Home
last modified time | relevance | path

Searched refs:Blocks (Results 1 – 25 of 45) sorted by relevance

12

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/
DNvmExpressBlockIo.c35 IN UINT32 Blocks in ReadSectors() argument
48 Bytes = Blocks * BlockSize; in ReadSectors()
67 CommandPacket.NvmeCmd->Cdw12 = (Blocks - 1) & 0xFFFF; in ReadSectors()
98 IN UINT32 Blocks in WriteSectors() argument
111 Bytes = Blocks * BlockSize; in WriteSectors()
133 CommandPacket.NvmeCmd->Cdw12 = ((Blocks - 1) & 0xFFFF) | BIT30; in WriteSectors()
167 IN UINTN Blocks in NvmeRead() argument
196 OrginalBlocks = Blocks; in NvmeRead()
204 while (Blocks > 0) { in NvmeRead()
205 if (Blocks > MaxTransferBlocks) { in NvmeRead()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/
DMtftp4Wrq.c72 Mtftp4SetLastBlockNum (&Instance->Blocks, BlockNum); in Mtftp4WrqSendBlock()
108 Mtftp4SetLastBlockNum (&Instance->Blocks, BlockNum); in Mtftp4WrqSendBlock()
152 Expected = Mtftp4GetNextBlockNum (&Instance->Blocks); in Mtftp4WrqHandleAck()
169 Mtftp4RemoveBlockNum (&Instance->Blocks, AckNum, *Completed,&TotalBlock); in Mtftp4WrqHandleAck()
171 Expected = Mtftp4GetNextBlockNum (&Instance->Blocks); in Mtftp4WrqHandleAck()
275 Expected = Mtftp4GetNextBlockNum (&Instance->Blocks); in Mtftp4WrqHandleOack()
517 Status = Mtftp4InitBlockRange (&Instance->Blocks, 0, 0xffff); in Mtftp4WrqStart()
DMtftp4Rrq.c67 Status = Mtftp4InitBlockRange (&Instance->Blocks, 1, 0xffff); in Mtftp4RrqStart()
163 Mtftp4SetLastBlockNum (&Instance->Blocks, Block); in Mtftp4RrqSaveBlock()
173 Status = Mtftp4RemoveBlockNum (&Instance->Blocks, Block, Completed, &TotalBlock); in Mtftp4RrqSaveBlock()
261 Expected = Mtftp4GetNextBlockNum (&Instance->Blocks); in Mtftp4RrqHandleData()
295 Expected = Mtftp4GetNextBlockNum (&Instance->Blocks); in Mtftp4RrqHandleData()
498 Expected = Mtftp4GetNextBlockNum (&Instance->Blocks); in Mtftp4RrqHandleOack()
DMtftp4Impl.h121 LIST_ENTRY Blocks; member
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordSmm/
DOpalNvmeMode.h355 IN UINT32 Blocks
375 IN UINT32 Blocks
409 IN UINTN Blocks
429 IN UINTN Blocks
DOpalNvmeMode.c1903 IN UINT32 Blocks in NvmeReadSectors() argument
1914 Bytes = Blocks * BlockSize; in NvmeReadSectors()
1934 CommandPacket.NvmeCmd->Cdw12 = (Blocks - 1) & 0xFFFF; in NvmeReadSectors()
1965 IN UINT32 Blocks in NvmeWriteSectors() argument
1976 Bytes = Blocks * BlockSize; in NvmeWriteSectors()
1996 CommandPacket.NvmeCmd->Cdw12 = (Blocks - 1) & 0xFFFF; in NvmeWriteSectors()
2075 IN UINTN Blocks in NvmeRead() argument
2082 ASSERT (Blocks <= NVME_MAX_SECTORS); in NvmeRead()
2091 while (Blocks > 0) { in NvmeRead()
2092 if (Blocks > MaxTransferBlocks) { in NvmeRead()
[all …]
/device/linaro/bootloader/edk2/DuetPkg/BootSector/
Dbs16.S198 # BX = Number of Blocks to Read
202 # cx = Blocks
221 cmpw %bx, %cx # Compare (Blocks) to (MaxSector - Sector + 1)
223 movw %cx, %bx # bx = Blocks
236 movb %bl, %al # al = Blocks
245 subw %bx, %cx # Blocks = Blocks - NumberOfBlocks
Dbs16.asm195 ; BX = Number of Blocks to Read
199 ; cx = Blocks
218 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1)
220 mov bx,cx ; bx = Blocks
233 mov al,bl ; al = Blocks
242 sub cx,bx ; Blocks = Blocks - NumberOfBlocks
Dbs32.S219 # BX = Number of Blocks to Read
223 # cx = Blocks
242 cmpw %bx, %cx # Compare (Blocks) to (MaxSector - Sector + 1)
244 movw %cx, %bx # bx = Blocks
257 movb %bl, %al # al = Blocks
266 subw %bx, %cx # Blocks = Blocks - NumberOfBlocks
Dbs32.asm217 ; BX = Number of Blocks to Read
221 ; cx = Blocks
240 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1)
242 mov bx,cx ; bx = Blocks
255 mov al,bl ; al = Blocks
264 sub cx,bx ; Blocks = Blocks - NumberOfBlocks
Dstart.S215 # BX = Number of Blocks to Read
219 # cx = Blocks
240 cmpw %bx, %cx # Compare (Blocks) to (MaxSector - Sector + 1)
242 movw %cx, %bx # bx = Blocks
267 movb %bl, %al # al = Blocks
276 subw %bx, %cx # Blocks = Blocks - NumberOfBlocks
Dstart16.S209 # BX = Number of Blocks to Read
213 # cx = Blocks
234 cmpw %bx, %cx # Compare (Blocks) to (MaxSector - Sector + 1)
236 movw %cx, %bx # bx = Blocks
261 movb %bl, %al # al = Blocks
270 subw %bx, %cx # Blocks = Blocks - NumberOfBlocks
Dstart32.S224 # BX = Number of Blocks to Read
228 # cx = Blocks
249 cmpw %bx, %cx # Compare (Blocks) to (MaxSector - Sector + 1)
251 movw %cx, %bx # bx = Blocks
276 movb %bl, %al # al = Blocks
285 subw %bx, %cx # Blocks = Blocks - NumberOfBlocks
Dstart16.asm205 ; BX = Number of Blocks to Read
209 ; cx = Blocks
230 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1)
232 mov bx,cx ; bx = Blocks
257 mov al,bl ; al = Blocks
266 sub cx,bx ; Blocks = Blocks - NumberOfBlocks
Dstart32.asm220 ; BX = Number of Blocks to Read
224 ; cx = Blocks
245 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1)
247 mov bx,cx ; bx = Blocks
272 mov al,bl ; al = Blocks
281 sub cx,bx ; Blocks = Blocks - NumberOfBlocks
Dstart.asm212 ; BX = Number of Blocks to Read
216 ; cx = Blocks
237 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1)
239 mov bx,cx ; bx = Blocks
264 mov al,bl ; al = Blocks
273 sub cx,bx ; Blocks = Blocks - NumberOfBlocks
Dst32_64.S236 # BX = Number of Blocks to Read
240 # cx = Blocks
261 cmpw %bx,%cx # Compare (Blocks) to (MaxSector - Sector + 1)
263 movw %cx,%bx # bx = Blocks
288 movb %bl,%al # al = Blocks
297 subw %bx,%cx # Blocks = Blocks - NumberOfBlocks
Dstart64.S228 # BX = Number of Blocks to Read
232 # cx = Blocks
253 cmpw %bx,%cx # Compare (Blocks) to (MaxSector - Sector + 1)
255 movw %cx,%bx # bx = Blocks
280 movb %bl,%al # al = Blocks
289 subw %bx,%cx # Blocks = Blocks - NumberOfBlocks
Dst16_64.S221 # BX = Number of Blocks to Read
225 # cx = Blocks
246 cmpw %bx,%cx # Compare (Blocks) to (MaxSector - Sector + 1)
248 movw %cx,%bx # bx = Blocks
273 movb %bl,%al # al = Blocks
282 subw %bx,%cx # Blocks = Blocks - NumberOfBlocks
Dst16_64.asm217 ; BX = Number of Blocks to Read
221 ; cx = Blocks
242 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1)
244 mov bx,cx ; bx = Blocks
269 mov al,bl ; al = Blocks
278 sub cx,bx ; Blocks = Blocks - NumberOfBlocks
Dst32_64.asm233 ; BX = Number of Blocks to Read
237 ; cx = Blocks
258 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1)
260 mov bx,cx ; bx = Blocks
285 mov al,bl ; al = Blocks
294 sub cx,bx ; Blocks = Blocks - NumberOfBlocks
Dstart64.asm224 ; BX = Number of Blocks to Read
228 ; cx = Blocks
249 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1)
251 mov bx,cx ; bx = Blocks
276 mov al,bl ; al = Blocks
285 sub cx,bx ; Blocks = Blocks - NumberOfBlocks
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/
DXenonSdhci.h331 IN UINT16 Blocks,
/device/linaro/bootloader/edk2/OvmfPkg/
DVarStore.fdf.inc36 # Blockmap[0]: 0x20 Blocks * 0x1000 Bytes / Block
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Common/
DVarstore.fdf.inc37 # Blockmap[0]: 0xF Blocks * 0x1000 Bytes / Block

12