Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-as3722.c24 #define AS3722_RTC_START_YEAR 2000 macro
40 rbuff[5] = bin2bcd(tm->tm_year - (AS3722_RTC_START_YEAR - 1900)); in as3722_time_to_reg()
50 tm->tm_year = (AS3722_RTC_START_YEAR - 1900) + bcd2bin(rbuff[5] & 0x7F); in as3722_reg_to_time()
78 if (tm->tm_year < (AS3722_RTC_START_YEAR - 1900)) in as3722_rtc_set_time()
129 if (alrm->time.tm_year < (AS3722_RTC_START_YEAR - 1900)) in as3722_rtc_set_alarm()