Home
last modified time | relevance | path

Searched refs:SERIAL_NUMBER_SIZE (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/OpenPlatformPkg/Library/UsbSerialNumberLib/
DUsbSerialNumberLib.c32 #define SERIAL_NUMBER_SIZE 17 macro
78 UnicodeSPrint (RandomSN->UnicodeSN, SERIAL_NUMBER_SIZE * sizeof (CHAR16), L"%lx", RandomSN->Data); in GenerateUsbSNBySeed()
103 UnicodeSPrint (RandomSN.UnicodeSN, SERIAL_NUMBER_SIZE * sizeof (CHAR16), L"%lx", RandomSN.Data); in GenerateUsbSN()
104 StrCpyS (UnicodeSN, SERIAL_NUMBER_SIZE * sizeof (CHAR16), RandomSN.UnicodeSN); in GenerateUsbSN()
139 StrCpyS (UnicodeSN, SERIAL_NUMBER_SIZE * sizeof (CHAR16), RandomSN.UnicodeSN); in AssignUsbSN()
157 CHAR16 UnicodeStr[SERIAL_NUMBER_SIZE]; in LoadSNFromBlock()
197 ZeroMem (UnicodeStr, SERIAL_NUMBER_SIZE * sizeof (CHAR16)); in LoadSNFromBlock()
198 UnicodeSPrint (UnicodeStr, SERIAL_NUMBER_SIZE * sizeof (CHAR16), L"%lx", RandomSN->Data); in LoadSNFromBlock()
225 CopyMem (UnicodeSN, RandomSN->UnicodeSN, SERIAL_NUMBER_SIZE * sizeof (CHAR16)); in LoadSNFromBlock()
243 CHAR16 UnicodeStr[SERIAL_NUMBER_SIZE]; in StoreSNToBlock()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Include/Library/
DUsbSerialNumberLib.h20 #define SERIAL_NUMBER_SIZE 17 macro
25 CHAR16 UnicodeSN[SERIAL_NUMBER_SIZE];
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/
DHiKeyDxe.c38 #define SERIAL_NUMBER_SIZE 17 macro
54 CHAR16 UnicodeSN[SERIAL_NUMBER_SIZE];
184 RandomSN->UnicodeSN, SERIAL_NUMBER_SIZE * sizeof (CHAR16), in AbootimgAppendKernelArgs()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960Dxe/
DHiKey960Dxe.c82 #define SERIAL_NUMBER_SIZE 17 macro
97 CHAR16 UnicodeSN[SERIAL_NUMBER_SIZE];
424 RandomSN->UnicodeSN, SERIAL_NUMBER_SIZE * sizeof (CHAR16), in AbootimgAppendKernelArgs()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/
DHiKeyFastbootDxe.c506 CHAR16 UnicodeSN[SERIAL_NUMBER_SIZE]; in HiKeyFastbootPlatformGetVar()
565 CHAR16 UnicodeSN[SERIAL_NUMBER_SIZE]; in HiKeyFastbootPlatformOemCommand()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960FastbootDxe/
DHiKey960FastbootDxe.c560 CHAR16 UnicodeSN[SERIAL_NUMBER_SIZE]; in HiKey960FastbootPlatformGetVar()
614 CHAR16 UnicodeSN[SERIAL_NUMBER_SIZE]; in HiKey960FastbootPlatformOemCommand()