Lines Matching refs:ETime
481 IN EFI_TIME *ETime, in FatEfiTimeToFatTime() argument
488 if (ETime->Year > 1980) { in FatEfiTimeToFatTime()
489 FTime->Date.Year = (UINT16) (ETime->Year - 1980); in FatEfiTimeToFatTime()
492 if (ETime->Year >= 1980 + FAT_MAX_YEAR_FROM_1980) { in FatEfiTimeToFatTime()
496 FTime->Date.Month = ETime->Month; in FatEfiTimeToFatTime()
497 FTime->Date.Day = ETime->Day; in FatEfiTimeToFatTime()
498 FTime->Time.Hour = ETime->Hour; in FatEfiTimeToFatTime()
499 FTime->Time.Minute = ETime->Minute; in FatEfiTimeToFatTime()
500 FTime->Time.DoubleSecond = (UINT16) (ETime->Second / 2); in FatEfiTimeToFatTime()
514 OUT EFI_TIME *ETime in FatFatTimeToEfiTime() argument
517 ETime->Year = (UINT16) (FTime->Date.Year + 1980); in FatFatTimeToEfiTime()
518 ETime->Month = (UINT8) FTime->Date.Month; in FatFatTimeToEfiTime()
519 ETime->Day = (UINT8) FTime->Date.Day; in FatFatTimeToEfiTime()
520 ETime->Hour = (UINT8) FTime->Time.Hour; in FatFatTimeToEfiTime()
521 ETime->Minute = (UINT8) FTime->Time.Minute; in FatFatTimeToEfiTime()
522 ETime->Second = (UINT8) (FTime->Time.DoubleSecond * 2); in FatFatTimeToEfiTime()
523 ETime->Nanosecond = 0; in FatFatTimeToEfiTime()
524 ETime->TimeZone = EFI_UNSPECIFIED_TIMEZONE; in FatFatTimeToEfiTime()
525 ETime->Daylight = 0; in FatFatTimeToEfiTime()