Home
last modified time | relevance | path

Searched refs:MaxBlock (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/
DSdBlockIoPei.c240 UINT32 MaxBlock; in SdBlockIoPeimReadBlocks() local
275 MaxBlock = 0xFFFF; in SdBlockIoPeimReadBlocks()
278 if (Remaining <= MaxBlock) { in SdBlockIoPeimReadBlocks()
281 NumberOfBlocks = MaxBlock; in SdBlockIoPeimReadBlocks()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBotPei/
DPeiAtapi.c393 UINT16 MaxBlock; in PeiUsbRead10() local
413 MaxBlock = (UINT16) (65535 / BlockSize); in PeiUsbRead10()
419 if (BlocksRemaining <= MaxBlock) { in PeiUsbRead10()
425 SectorCount = MaxBlock; in PeiUsbRead10()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/
DEmmcBlockIoPei.c336 UINT32 MaxBlock; in EmmcBlockIoPeimReadBlocks() local
407 MaxBlock = 0xFFFF; in EmmcBlockIoPeimReadBlocks()
410 if (Remaining <= MaxBlock) { in EmmcBlockIoPeimReadBlocks()
413 NumberOfBlocks = MaxBlock; in EmmcBlockIoPeimReadBlocks()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/
DScsiDisk.c2841 UINT32 MaxBlock; in ScsiDiskReadSectors() local
2859 MaxBlock = 0xFFFF; in ScsiDiskReadSectors()
2861 MaxBlock = 0xFFFFFFFF; in ScsiDiskReadSectors()
2868 if (BlocksRemaining <= MaxBlock) { in ScsiDiskReadSectors()
2875 SectorCount = MaxBlock; in ScsiDiskReadSectors()
3006 UINT32 MaxBlock; in ScsiDiskWriteSectors() local
3024 MaxBlock = 0xFFFF; in ScsiDiskWriteSectors()
3026 MaxBlock = 0xFFFFFFFF; in ScsiDiskWriteSectors()
3033 if (BlocksRemaining <= MaxBlock) { in ScsiDiskWriteSectors()
3040 SectorCount = MaxBlock; in ScsiDiskWriteSectors()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/
DAtapi.c1447 UINT16 MaxBlock; in AtapiReadSectors() local
1463 MaxBlock = 65535; in AtapiReadSectors()
1470 if (BlocksRemaining <= MaxBlock) { in AtapiReadSectors()
1475 SectorCount = MaxBlock; in AtapiReadSectors()
1565 UINT16 MaxBlock; in AtapiWriteSectors() local
1585 MaxBlock = (UINT16) (65536 / BlockSize); in AtapiWriteSectors()
1592 if (BlocksRemaining >= MaxBlock) { in AtapiWriteSectors()
1593 SectorCount = MaxBlock; in AtapiWriteSectors()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcDxe/
DEmmcBlockIo.c819 UINT32 MaxBlock; in EmmcReadWrite() local
885 MaxBlock = 0xFFFF; in EmmcReadWrite()
888 if (Remaining <= MaxBlock) { in EmmcReadWrite()
892 BlockNum = MaxBlock; in EmmcReadWrite()
1307 UINT32 MaxBlock; in EmmcSecurityProtocolInOut() local
1366 MaxBlock = 0xFFFF; in EmmcSecurityProtocolInOut()
1369 if (Remaining <= MaxBlock) { in EmmcSecurityProtocolInOut()
1372 BlockNum = MaxBlock; in EmmcSecurityProtocolInOut()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdDxe/
DSdBlockIo.c636 UINT32 MaxBlock; in SdReadWrite() local
689 MaxBlock = 0xFFFF; in SdReadWrite()
692 if (Remaining <= MaxBlock) { in SdReadWrite()
696 BlockNum = MaxBlock; in SdReadWrite()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/IdeBusPei/
DAtapiPeim.c2221 UINT16 MaxBlock; in ReadSectors() local
2234 MaxBlock = (UINT16) (0x10000 / BlockSize); in ReadSectors()
2243 if (BlocksRemaining <= MaxBlock) { in ReadSectors()
2246 SectorCount = MaxBlock; in ReadSectors()