Home
last modified time | relevance | path

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

/device/linaro/bootloader/OpenPlatformPkg/Library/UsbSerialNumberLib/
DUsbSerialNumberLib.c78 UnicodeSPrint (RandomSN->UnicodeSN, SERIAL_NUMBER_SIZE * sizeof (CHAR16), L"%lx", RandomSN->Data); in GenerateUsbSNBySeed()
85 OUT CHAR16 *UnicodeSN in GenerateUsbSN() argument
93 if (UnicodeSN == NULL) { in GenerateUsbSN()
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()
111 OUT CHAR16 *UnicodeSN in AssignUsbSN() argument
118 if ((AsciiCmd == NULL) || (UnicodeSN == NULL)) { in AssignUsbSN()
138 AsciiStrToUnicodeStr (AsciiCmd, RandomSN.UnicodeSN); in AssignUsbSN()
139 StrCpyS (UnicodeSN, SERIAL_NUMBER_SIZE * sizeof (CHAR16), RandomSN.UnicodeSN); in AssignUsbSN()
147 OUT CHAR16 *UnicodeSN in LoadSNFromBlock() argument
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Include/Library/
DUsbSerialNumberLib.h25 CHAR16 UnicodeSN[SERIAL_NUMBER_SIZE]; member
36 OUT CHAR16 *UnicodeSN
42 OUT CHAR16 *UnicodeSN
49 OUT CHAR16 *UnicodeSN
56 IN CHAR16 *UnicodeSN
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/
DHiKeyFastbootDxe.c506 CHAR16 UnicodeSN[SERIAL_NUMBER_SIZE]; in HiKeyFastbootPlatformGetVar() local
513 Status = LoadSNFromBlock (mFlashHandle, SERIAL_NUMBER_LBA, UnicodeSN); in HiKeyFastbootPlatformGetVar()
518 UnicodeStrToAsciiStr (UnicodeSN, Value); in HiKeyFastbootPlatformGetVar()
565 CHAR16 UnicodeSN[SERIAL_NUMBER_SIZE]; in HiKeyFastbootPlatformOemCommand() local
581 Status = AssignUsbSN (Command + Size, UnicodeSN); in HiKeyFastbootPlatformOemCommand()
587 Status = GenerateUsbSN (UnicodeSN); in HiKeyFastbootPlatformOemCommand()
593 Status = StoreSNToBlock (mFlashHandle, SERIAL_NUMBER_LBA, UnicodeSN); in HiKeyFastbootPlatformOemCommand()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960FastbootDxe/
DHiKey960FastbootDxe.c560 CHAR16 UnicodeSN[SERIAL_NUMBER_SIZE]; in HiKey960FastbootPlatformGetVar() local
567 Status = LoadSNFromBlock (mFlashHandle, SERIAL_NUMBER_LBA, UnicodeSN); in HiKey960FastbootPlatformGetVar()
568 UnicodeStrToAsciiStr (UnicodeSN, Value); in HiKey960FastbootPlatformGetVar()
614 CHAR16 UnicodeSN[SERIAL_NUMBER_SIZE]; in HiKey960FastbootPlatformOemCommand() local
630 Status = AssignUsbSN (Command + Size, UnicodeSN); in HiKey960FastbootPlatformOemCommand()
636 Status = GenerateUsbSN (UnicodeSN); in HiKey960FastbootPlatformOemCommand()
642 Status = StoreSNToBlock (mFlashHandle, SERIAL_NUMBER_LBA, UnicodeSN); in HiKey960FastbootPlatformOemCommand()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/
DHiKeyDxe.c54 CHAR16 UnicodeSN[SERIAL_NUMBER_SIZE]; member
184 RandomSN->UnicodeSN, SERIAL_NUMBER_SIZE * sizeof (CHAR16), in AbootimgAppendKernelArgs()
191 RandomSN->UnicodeSN in AbootimgAppendKernelArgs()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960Dxe/
DHiKey960Dxe.c97 CHAR16 UnicodeSN[SERIAL_NUMBER_SIZE]; member
424 RandomSN->UnicodeSN, SERIAL_NUMBER_SIZE * sizeof (CHAR16), in AbootimgAppendKernelArgs()
432 RandomSN->UnicodeSN in AbootimgAppendKernelArgs()
438 RandomSN->UnicodeSN in AbootimgAppendKernelArgs()