Home
last modified time | relevance | path

Searched refs:BlkSize (Results 1 – 25 of 26) sorted by relevance

12

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/
DMtftp4Wrq.c48 UdpPacket = NetbufAlloc (Instance->BlkSize + MTFTP4_DATA_HEAD_LEN); in Mtftp4WrqSendBlock()
64 DataLen = Instance->BlkSize; in Mtftp4WrqSendBlock()
67 Start = MultU64x32 (BlockNum - 1, Instance->BlkSize); in Mtftp4WrqSendBlock()
69 if (Token->BufferSize < Start + Instance->BlkSize) { in Mtftp4WrqSendBlock()
92 if (EFI_ERROR (Status) || (DataLen > Instance->BlkSize)) { in Mtftp4WrqSendBlock()
106 if (DataLen < Instance->BlkSize) { in Mtftp4WrqSendBlock()
233 if ((((Reply->Exist & MTFTP4_BLKSIZE_EXIST) != 0) && (Reply->BlkSize > Request->BlkSize)) || in Mtftp4WrqOackValid()
303 if (Reply.BlkSize != 0) { in Mtftp4WrqHandleOack()
304 Instance->BlkSize = Reply.BlkSize; in Mtftp4WrqHandleOack()
DMtftp4Rrq.c160 if (DataLen < Instance->BlkSize) { in Mtftp4RrqSaveBlock()
196 Start = MultU64x32 (TotalBlock - 1, Instance->BlkSize); in Mtftp4RrqSaveBlock()
355 if ((((Reply->Exist & MTFTP4_BLKSIZE_EXIST) != 0)&& (Reply->BlkSize > Request->BlkSize)) || in Mtftp4RrqOackValid()
598 if (Reply.BlkSize != 0) { in Mtftp4RrqHandleOack()
599 Instance->BlkSize = Reply.BlkSize; in Mtftp4RrqHandleOack()
610 if (Reply.BlkSize != 0) { in Mtftp4RrqHandleOack()
611 Instance->BlkSize = Reply.BlkSize; in Mtftp4RrqHandleOack()
746 if ((Len > (UINT32) (MTFTP4_DATA_HEAD_LEN + Instance->BlkSize)) || in Mtftp4RrqInput()
DMtftp4Option.h31 UINT16 BlkSize; member
DMtftp4Impl.h119 UINT16 BlkSize; member
DMtftp4Option.c442 MtftpOption->BlkSize = (UINT16) Value; in Mtftp4ParseOption()
DMtftp4Impl.c82 Instance->BlkSize = MTFTP4_DEFAULT_BLKSIZE; in Mtftp4CleanOperation()
442 Instance->BlkSize = MTFTP4_DEFAULT_BLKSIZE; in Mtftp4Start()
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/
DMtftp6Wrq.c48 UdpPacket = NetbufAlloc (Instance->BlkSize + MTFTP6_DATA_HEAD_LEN); in Mtftp6WrqSendBlock()
68 DataLen = Instance->BlkSize; in Mtftp6WrqSendBlock()
71 Start = MultU64x32 (BlockNum - 1, Instance->BlkSize); in Mtftp6WrqSendBlock()
73 if (Token->BufferSize < Start + Instance->BlkSize) { in Mtftp6WrqSendBlock()
91 if (EFI_ERROR (Status) || (DataLen > Instance->BlkSize)) { in Mtftp6WrqSendBlock()
107 if (DataLen < Instance->BlkSize) { in Mtftp6WrqSendBlock()
255 …eplyInfo->BitMap & MTFTP6_OPT_BLKSIZE_BIT) != 0) && (ReplyInfo->BlkSize > RequestInfo->BlkSize)) || in Mtftp6WrqOackValid()
348 if (ExtInfo.BlkSize != 0) { in Mtftp6WrqHandleOack()
349 Instance->BlkSize = ExtInfo.BlkSize; in Mtftp6WrqHandleOack()
DMtftp6Rrq.c108 if (DataLen < Instance->BlkSize) { in Mtftp6RrqSaveBlock()
157 Start = MultU64x32 (TotalBlock - 1, Instance->BlkSize); in Mtftp6RrqSaveBlock()
332 …eplyInfo->BitMap & MTFTP6_OPT_BLKSIZE_BIT) != 0) && (ReplyInfo->BlkSize > RequestInfo->BlkSize)) || in Mtftp6RrqOackValid()
611 if (ExtInfo.BlkSize != 0) { in Mtftp6RrqHandleOack()
612 Instance->BlkSize = ExtInfo.BlkSize; in Mtftp6RrqHandleOack()
624 if (ExtInfo.BlkSize != 0) { in Mtftp6RrqHandleOack()
625 Instance->BlkSize = ExtInfo.BlkSize; in Mtftp6RrqHandleOack()
800 …if ((Len > (UINT32) (MTFTP6_DATA_HEAD_LEN + Instance->BlkSize)) || (Len < (UINT32) MTFTP6_DATA_HEA… in Mtftp6RrqInput()
DMtftp6Option.h46 UINT16 BlkSize; member
DMtftp6Impl.h76 UINT16 BlkSize; member
DMtftp6Option.c189 ExtInfo->BlkSize = (UINT16) Value; in Mtftp6ParseExtensionOption()
DMtftp6Support.c981 Instance->BlkSize = 0; in Mtftp6OperationClean()
1105 if (Instance->BlkSize == 0) { in Mtftp6OperationStart()
1106 Instance->BlkSize = MTFTP6_DEFAULT_BLK_SIZE; in Mtftp6OperationStart()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/
DStringDB.c2104 OUT UINT32 *BlkSize in BuildStringPkgUCS2Blk() argument
2115 *BlkSize = 0; in BuildStringPkgUCS2Blk()
2123 *BlkSize = sizeof (EFI_HII_SIBT_STRING_UCS2_BLOCK) + StrLen * 2; in BuildStringPkgUCS2Blk()
2124 *StrBlk = (EFI_HII_SIBT_STRING_UCS2_BLOCK *) malloc (*BlkSize); in BuildStringPkgUCS2Blk()
2127 *BlkSize = 0; in BuildStringPkgUCS2Blk()
2276 IN UINT32 BlkSize in WriteBlockLine() argument
2285 for (Index = 0; Index < BlkSize; Index++) { in WriteBlockLine()
2299 IN UINT32 BlkSize in WriteBlockEnd() argument
2304 if ((BlkSize == 0) || (pFile == NULL) || (LineHeader == NULL) || (BlkBuf == NULL)) { in WriteBlockEnd()
2308 for (Index = 0; Index < BlkSize - 1; Index++) { in WriteBlockEnd()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/
DVirtioBlk.h42 UINT32 BlkSize; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/
DVfrFormPkg.cpp325 IN UINT32 BlkSize in _WRITE_PKG_LINE() argument
334 for (Index = 0; Index < BlkSize; Index++) { in _WRITE_PKG_LINE()
348 IN UINT32 BlkSize in _WRITE_PKG_END() argument
353 if ((BlkSize == 0) || (pFile == NULL) || (LineHeader == NULL) || (BlkBuf == NULL)) { in _WRITE_PKG_END()
357 for (Index = 0; Index < BlkSize - 1; Index++) { in _WRITE_PKG_END()
DVfrUtilityLib.cpp29 IN UINT32 BlkSize in WriteLine() argument
38 for (Index = 0; Index < BlkSize; Index++) { in WriteLine()
52 IN UINT32 BlkSize in WriteEnd() argument
57 if ((BlkSize == 0) || (pFile == NULL) || (LineHeader == NULL) || (BlkBuf == NULL)) { in WriteEnd()
61 for (Index = 0; Index < BlkSize - 1; Index++) { in WriteEnd()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/DwMmcHcDxe/
DDwMmcHci.c1079 UINT32 BlkSize; in BuildDmaDescTable() local
1156 BlkSize = DataLen; in BuildDmaDescTable()
1160 BlkSize = DW_MMC_BLOCK_SIZE; in BuildDmaDescTable()
1164 Status = DwMmcHcRwMmio (PciIo, Trb->Slot, DW_MMC_BLKSIZ, FALSE, sizeof (BlkSize), &BlkSize); in BuildDmaDescTable()
1688 UINT32 BlkSize; local
1758 BlkSize = DW_MMC_BLOCK_SIZE;
1760 BlkSize = Packet->InTransferLength;
1762 Status = DwMmcHcRwMmio (PciIo, Trb->Slot, DW_MMC_BLKSIZ, FALSE, sizeof (BlkSize), &BlkSize);
DDwMmcHcDxe.c350 UINT32 BlkSize; in DwMmcHcReset() local
365 BlkSize = DW_MMC_BLOCK_SIZE; in DwMmcHcReset()
366 Status = DwMmcHcRwMmio (PciIo, Slot, DW_MMC_BLKSIZ, FALSE, sizeof (BlkSize), &BlkSize); in DwMmcHcReset()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/
DSdMmcPciHci.c1496 UINT16 BlkSize; in SdMmcExecTrb() local
1551 BlkSize = Trb->BlockSize; in SdMmcExecTrb()
1556 BlkSize |= 0x7000; in SdMmcExecTrb()
1559 Status = SdMmcHcRwMmio (PciIo, Trb->Slot, SD_MMC_HC_BLK_SIZE, FALSE, sizeof (BlkSize), &BlkSize); in SdMmcExecTrb()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/
DSdMmcPciHci.c1496 UINT16 BlkSize; in SdMmcExecTrb() local
1551 BlkSize = Trb->BlockSize; in SdMmcExecTrb()
1556 BlkSize |= 0x7000; in SdMmcExecTrb()
1559 Status = SdMmcHcRwMmio (PciIo, Trb->Slot, SD_MMC_HC_BLK_SIZE, FALSE, sizeof (BlkSize), &BlkSize); in SdMmcExecTrb()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/
DSdHci.c1207 UINT16 BlkSize; in SdPeimExecTrb() local
1261 BlkSize = Trb->BlockSize; in SdPeimExecTrb()
1266 BlkSize |= 0x7000; in SdPeimExecTrb()
1269 Status = SdPeimHcRwMmio (Bar + SD_HC_BLK_SIZE, FALSE, sizeof (BlkSize), &BlkSize); in SdPeimExecTrb()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/
DVfrFormPkg.cpp375 IN UINT32 BlkSize in _WRITE_PKG_LINE() argument
384 for (Index = 0; Index < BlkSize; Index++) { in _WRITE_PKG_LINE()
398 IN UINT32 BlkSize in _WRITE_PKG_END() argument
403 if ((BlkSize == 0) || (pFile == NULL) || (LineHeader == NULL) || (BlkBuf == NULL)) { in _WRITE_PKG_END()
407 for (Index = 0; Index < BlkSize - 1; Index++) { in _WRITE_PKG_END()
DVfrUtilityLib.cpp28 IN UINT32 BlkSize in WriteLine() argument
37 for (Index = 0; Index < BlkSize; Index++) { in WriteLine()
51 IN UINT32 BlkSize in WriteEnd() argument
56 if ((BlkSize == 0) || (pFile == NULL) || (LineHeader == NULL) || (BlkBuf == NULL)) { in WriteEnd()
60 for (Index = 0; Index < BlkSize - 1; Index++) { in WriteEnd()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/
DEmmcHci.c1207 UINT16 BlkSize; in EmmcPeimExecTrb() local
1261 BlkSize = Trb->BlockSize; in EmmcPeimExecTrb()
1266 BlkSize |= 0x7000; in EmmcPeimExecTrb()
1269 Status = EmmcPeimHcRwMmio (Bar + EMMC_HC_BLK_SIZE, FALSE, sizeof (BlkSize), &BlkSize); in EmmcPeimExecTrb()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/
DMrcWrapper.c178 UINT32 BlkSize = PcdGet8(PcdEccScrubBlkSize) & SCRUB_CFG_BLOCKSIZE_MASK; in EccScrubSetup() local
194 BlkSize << SCRUB_CFG_BLOCKSIZE_SHIFT); in EccScrubSetup()

12