Home
last modified time | relevance | path

Searched refs:BaseYear (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/DS3231RealTimeClockLib/
DDS3231RealTimeClockLib.c129 UINT16 BaseYear = 1900; in LibGetTime() local
155 BaseYear = 2000; in LibGetTime()
160 Time->Year = BaseYear+(Temp>>4) *10 + (Temp&0x0F); in LibGetTime()
194 if((EFI_ERROR(Status)) || (!IsTimeValid(Time)) || ((Time->Year - BaseYear) > 99)) { in LibGetTime()
221 UINT16 BaseYear = 1900; in LibSetTime() local
275 BaseYear = 2000; in LibSetTime()
288 Temp = (((Time->Year-BaseYear)/10)<<4) | (Time->Year%10); in LibSetTime()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D03/Library/DS3231RealTimeClockLib/
DDS3231RealTimeClockLib.c179 UINT16 BaseYear = 1900; in LibGetTime() local
210 BaseYear = 2000; in LibGetTime()
215 Time->Year = BaseYear+(Temp>>4) *10 + (Temp&0x0F); in LibGetTime()
246 if((EFI_ERROR(Status)) || (!IsTimeValid(Time)) || ((Time->Year - BaseYear) > 99)) { in LibGetTime()
280 UINT16 BaseYear = 1900; in LibSetTime() local
343 BaseYear = 2000; in LibSetTime()
356 Temp = (((Time->Year-BaseYear)/10)<<4) | (Time->Year%10); in LibSetTime()