Home
last modified time | relevance | path

Searched refs:TotalLength (Results 1 – 22 of 22) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/AcpiTableDxe/
DAmlString.c290 UINTN TotalLength; in AmlGetAslNameStringSize() local
295 TotalLength = 0; in AmlGetAslNameStringSize()
333 TotalLength = *Root + *Parent + (*SegCount) * AML_NAME_SEG_SIZE; in AmlGetAslNameStringSize()
335 TotalLength += 2; in AmlGetAslNameStringSize()
337 TotalLength += 1; in AmlGetAslNameStringSize()
343 TotalLength ++; in AmlGetAslNameStringSize()
345 return TotalLength; in AmlGetAslNameStringSize()
389 UINTN TotalLength; in AmlNameFromAslName() local
395 TotalLength = AmlGetAslNameStringSize (AslPath, &Root, &Parent, &SegCount); in AmlNameFromAslName()
396 if (TotalLength == 0) { in AmlNameFromAslName()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenSec/
DGenSec.c264 UINT32 TotalLength; in GenSectionCommonLeafSection() local
294 TotalLength = sizeof (EFI_COMMON_SECTION_HEADER) + InputFileLength; in GenSectionCommonLeafSection()
303 if (TotalLength >= MAX_SECTION_SIZE) { in GenSectionCommonLeafSection()
304 TotalLength = sizeof (EFI_COMMON_SECTION_HEADER2) + InputFileLength; in GenSectionCommonLeafSection()
307 VerboseMsg ("the size of the created section file is %u bytes", (unsigned) TotalLength); in GenSectionCommonLeafSection()
311 Buffer = (UINT8 *) malloc ((size_t) TotalLength); in GenSectionCommonLeafSection()
318 if (TotalLength < MAX_SECTION_SIZE) { in GenSectionCommonLeafSection()
319 CommonSect->Size[0] = (UINT8) (TotalLength & 0xff); in GenSectionCommonLeafSection()
320 CommonSect->Size[1] = (UINT8) ((TotalLength & 0xff00) >> 8); in GenSectionCommonLeafSection()
321 CommonSect->Size[2] = (UINT8) ((TotalLength & 0xff0000) >> 16); in GenSectionCommonLeafSection()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenSection/
DGenSection.c202 INTN TotalLength; in GenSectionCommonLeafSection() local
234 TotalLength = sizeof (CommonSect) + (INTN) InputFileLength; in GenSectionCommonLeafSection()
238 if (TotalLength >= MAX_SECTION_SIZE) { in GenSectionCommonLeafSection()
239 …InputFileName[0], "file size (0x%X) exceeds section size limit(%dM).", TotalLength, MAX_SECTION_SI… in GenSectionCommonLeafSection()
245 memcpy (&CommonSect.Size, &TotalLength, 3); in GenSectionCommonLeafSection()
414 UINTN TotalLength; in GenSectionCompressionSection() local
516 TotalLength = CompressedLength + sizeof (EFI_COMPRESSION_SECTION); in GenSectionCompressionSection()
517 if (TotalLength >= MAX_SECTION_SIZE) { in GenSectionCompressionSection()
531 CompressionSect.CommonHeader.Size[0] = (UINT8) (TotalLength & 0xff); in GenSectionCompressionSection()
532 CompressionSect.CommonHeader.Size[1] = (UINT8) ((TotalLength & 0xff00) >> 8); in GenSectionCompressionSection()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DStrGather.py358 TotalLength = EFI_HII_ARRAY_SIZE_LENGTH
424 TotalLength = TotalLength + ArrayLength
467 AllStr = WriteLine(AllStr, CreateArrayItem(DecToHexList(TotalLength + 2)) + '\n')
475 AllStr = WriteLine(AllStr, CreateArrayItem(DecToHexList(TotalLength)) + '\n')
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/
DUsbDesc.c737 Desc.TotalLength, Status)); in UsbGetOneConfig()
742 DEBUG (( EFI_D_INFO, "UsbGetOneConfig: total length is %d\n", Desc.TotalLength)); in UsbGetOneConfig()
744 Buf = AllocateZeroPool (Desc.TotalLength); in UsbGetOneConfig()
750 Status = UsbCtrlGetDesc (UsbDev, USB_DESC_TYPE_CONFIG, Index, 0, Buf, Desc.TotalLength); in UsbGetOneConfig()
830 ConfigDesc = UsbParseConfigDesc ((UINT8 *) Config, Config->TotalLength); in UsbBuildDescTable()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/SectionExtraction/
DCoreSectionExtraction.c267 UINTN TotalLength; in IsValidSectionStream() local
272 TotalLength = 0; in IsValidSectionStream()
275 while (TotalLength < SectionStreamLength) { in IsValidSectionStream()
281 TotalLength += SectionLength; in IsValidSectionStream()
283 if (TotalLength == SectionStreamLength) { in IsValidSectionStream()
296 TotalLength += (UINTN) NextSectionHeader - (UINTN) SectionHeader; in IsValidSectionStream()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/SectionExtractionDxe/
DSectionExtraction.c277 UINTN TotalLength; in IsValidSectionStream() local
282 TotalLength = 0; in IsValidSectionStream()
285 while (TotalLength < SectionStreamLength) { in IsValidSectionStream()
291 TotalLength += SectionLength; in IsValidSectionStream()
293 if (TotalLength == SectionStreamLength) { in IsValidSectionStream()
306 TotalLength += (UINTN) NextSectionHeader - (UINTN) SectionHeader; in IsValidSectionStream()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/MnpDxe/
DMnpIo.c37 UINT32 TotalLength; in MnpIsValidTxToken() local
63 TotalLength = 0; in MnpIsValidTxToken()
75 TotalLength += FragmentTable[Index].FragmentLength; in MnpIsValidTxToken()
85 if (TotalLength != (TxData->DataLength + TxData->HeaderLength)) { in MnpIsValidTxToken()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMouseAbsolutePointerDxe/
DUsbMouseAbsolutePointer.c579 Buf = AllocateZeroPool (ConfigDesc.TotalLength); in InitializeUsbMouseDevice()
588 ConfigDesc.TotalLength, in InitializeUsbMouseDevice()
607 while (Total < ConfigDesc.TotalLength) { in InitializeUsbMouseDevice()
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/
DFastbootTransportUsb.c174 …mGetConfigDescriptorResponse.ConfigDescriptor.TotalLength = sizeof (GET_CONFIG_DESCRIPTOR_RESPONSE… in FastbootTransportUsbStart()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMouseDxe/
DUsbMouse.c579 Buf = AllocateZeroPool (ConfigDesc.TotalLength); in InitializeUsbMouseDevice()
588 ConfigDesc.TotalLength, in InitializeUsbMouseDevice()
607 while (Total < ConfigDesc.TotalLength) { in InitializeUsbMouseDevice()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/ArpDxe/
DArpImpl.c1025 UINT32 TotalLength; in ArpSendFrame() local
1079 TotalLength = SnpMode->MediaHeaderSize + sizeof (ARP_HEAD) + in ArpSendFrame()
1085 Packet = AllocatePool (TotalLength); in ArpSendFrame()
1167 TxData->DataLength = TotalLength - SnpMode->MediaHeaderSize; in ArpSendFrame()
1172 TxData->FragmentTable[0].FragmentLength = TotalLength; in ArpSendFrame()
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DUsb.h133 UINT16 TotalLength; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/
Dusb.h200 UINT16 TotalLength; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/
DGenFfsFile.c1527 UINT32 TotalLength; in AdjustFileSize() local
1534 TotalLength = 0; in AdjustFileSize()
1540 while (TotalLength < SectionStreamLength) { in AdjustFileSize()
1542 TotalLength += SectionLength; in AdjustFileSize()
1544 if (TotalLength == SectionStreamLength) { in AdjustFileSize()
1545 return TotalLength; in AdjustFileSize()
1558 TotalLength += (UINTN) NextSectionHeader - (UINTN) SectionHeader; in AdjustFileSize()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Ip4/
DIp4.h102 UINT16 TotalLength; member
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DIp4.h197 UINT16 TotalLength; member
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/
DLegacyBootMaintUi.c1185 UINTN TotalLength; in GetLegacyOptionsOrder() local
1237 TotalLength = sizeof (BBS_TYPE) + sizeof (UINT16) + Index * sizeof (UINT16); in GetLegacyOptionsOrder()
1238 VarDevOrder = *(UINT16 *) ((UINT8 *) DevOrder + TotalLength); in GetLegacyOptionsOrder()
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Isp1761UsbDxe/
DIsp1761UsbDxe.c242 ResponseSize = mConfigDescriptor->TotalLength; in HandleGetDescriptor()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsbDxe/
DDwUsbDxe.c248 ResponseSize = mConfigDescriptor->TotalLength; in HandleGetDescriptor()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusPei/
DUsbPeim.c817 ConfigDescLength = ConfigDesc->TotalLength; in PeiUsbGetAllConfiguration()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DXhciSched.c3263 while ((UINTN) IfDesc < ((UINTN) ConfigDesc + ConfigDesc->TotalLength)) { in XhcSetInterface()
3460 while ((UINTN) IfDesc < ((UINTN) ConfigDesc + ConfigDesc->TotalLength)) { in XhcSetInterface64()