Searched refs:SerialNumberStr (Results 1 – 7 of 7) sorted by relevance
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/ |
D | ProcessorSubClass.c | 469 EFI_STRING SerialNumberStr; in AddSmbiosProcessorTypeTable() local 496 SerialNumberStr = NULL; in AddSmbiosProcessorTypeTable() 584 SerialNumberStr = HiiGetPackageString (&gEfiCallerIdGuid, SerialNumber, NULL); in AddSmbiosProcessorTypeTable() 585 SerialNumberStrLen = StrLen (SerialNumberStr); in AddSmbiosProcessorTypeTable() 624 …UnicodeStrToAsciiStr (SerialNumberStr, OptionalStrStart + ProcessorSocketStrLen + 1 + ProcessorMan… in AddSmbiosProcessorTypeTable() 649 if(SerialNumberStr != NULL) in AddSmbiosProcessorTypeTable() 651 FreePool (SerialNumberStr); in AddSmbiosProcessorTypeTable()
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/Smbios/MemorySubClassDxe/ |
D | MemorySubClass.c | 433 EFI_STRING SerialNumberStr; in SmbiosAddType17Table() local 442 SerialNumberStr = NULL; in SmbiosAddType17Table() 479 SerialNumberStr = AllocateZeroPool (StringBufferSize); in SmbiosAddType17Table() 480 if(NULL == SerialNumberStr) in SmbiosAddType17Table() 485 UnicodeSPrint(SerialNumberStr, SMBIOS_STRING_MAX_LENGTH - 1, L"NO DIMM"); in SmbiosAddType17Table() 540 SmbiosGetSerialNumber(pGblData, Skt, Ch, Dimm, SerialNumberStr); in SmbiosAddType17Table() 588 SerialNumberStrLen = StrLen (SerialNumberStr); in SmbiosAddType17Table() 637 …UnicodeStrToAsciiStr (SerialNumberStr, OptionalStrStart + DeviceLocatorStrLen + 1 + BankLocatorStr… in SmbiosAddType17Table() 663 FreePool (SerialNumberStr); in SmbiosAddType17Table()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/ |
D | BmBoot.c | 373 CHAR16 *SerialNumberStr; in BmMatchUsbWwid() local 434 SerialNumberStr = NULL; in BmMatchUsbWwid() 439 &SerialNumberStr in BmMatchUsbWwid() 441 if (EFI_ERROR (Status) || (SerialNumberStr == NULL)) { in BmMatchUsbWwid() 445 Length = StrLen (SerialNumberStr); in BmMatchUsbWwid() 447 …(CompareMem (SerialNumberStr + Length - CompareLen, CompareStr, CompareLen * sizeof (CHAR16)) == 0… in BmMatchUsbWwid() 448 FreePool (SerialNumberStr); in BmMatchUsbWwid() 452 FreePool (SerialNumberStr); in BmMatchUsbWwid()
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/ |
D | DevicePathToText.c | 937 CHAR16 *SerialNumberStr; in DevPathToTextUsbWWID() local 943 SerialNumberStr = (CHAR16 *) ((UINT8 *) UsbWWId + sizeof (USB_WWID_DEVICE_PATH)); in DevPathToTextUsbWWID() 945 if (SerialNumberStr [Length - 1] != 0) { in DevPathToTextUsbWWID() 949 NewStr = AllocateCopyPool ((Length + 1) * sizeof (CHAR16), SerialNumberStr); in DevPathToTextUsbWWID() 952 SerialNumberStr = NewStr; in DevPathToTextUsbWWID() 961 SerialNumberStr in DevPathToTextUsbWWID()
|
D | DevicePathFromText.c | 2636 CHAR16 *SerialNumberStr; in DevPathFromTextUsbWwid() local 2643 SerialNumberStr = GetNextParamStr (&TextDeviceNode); in DevPathFromTextUsbWwid() 2644 SerialNumberStrLen = StrLen (SerialNumberStr); in DevPathFromTextUsbWwid() 2646 SerialNumberStr[0] == L'\"' && in DevPathFromTextUsbWwid() 2647 SerialNumberStr[SerialNumberStrLen - 1] == L'\"' in DevPathFromTextUsbWwid() 2649 SerialNumberStr[SerialNumberStrLen - 1] = L'\0'; in DevPathFromTextUsbWwid() 2650 SerialNumberStr++; in DevPathFromTextUsbWwid() 2668 SerialNumberStr, in DevPathFromTextUsbWwid()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
D | BdsBoot.c | 1869 CHAR16 *SerialNumberStr; in BdsMatchUsbWwid() local 1930 SerialNumberStr = NULL; in BdsMatchUsbWwid() 1935 &SerialNumberStr in BdsMatchUsbWwid() 1937 if (EFI_ERROR (Status) || (SerialNumberStr == NULL)) { in BdsMatchUsbWwid() 1941 Length = StrLen (SerialNumberStr); in BdsMatchUsbWwid() 1943 …(CompareMem (SerialNumberStr + Length - CompareLen, CompareStr, CompareLen * sizeof (CHAR16)) == 0… in BdsMatchUsbWwid() 1944 FreePool (SerialNumberStr); in BdsMatchUsbWwid() 1948 FreePool (SerialNumberStr); in BdsMatchUsbWwid()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
D | BdsBoot.c | 1871 CHAR16 *SerialNumberStr; in BdsMatchUsbWwid() local 1932 SerialNumberStr = NULL; in BdsMatchUsbWwid() 1937 &SerialNumberStr in BdsMatchUsbWwid() 1939 if (EFI_ERROR (Status) || (SerialNumberStr == NULL)) { in BdsMatchUsbWwid() 1943 Length = StrLen (SerialNumberStr); in BdsMatchUsbWwid() 1945 …(CompareMem (SerialNumberStr + Length - CompareLen, CompareStr, CompareLen * sizeof (CHAR16)) == 0… in BdsMatchUsbWwid() 1946 FreePool (SerialNumberStr); in BdsMatchUsbWwid() 1950 FreePool (SerialNumberStr); in BdsMatchUsbWwid()
|