Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/rtc/
Drtc-vt8500.c45 #define DATE_YEAR_S 11 macro
46 #define DATE_YEAR_MASK (0xff << DATE_YEAR_S)
122 tm->tm_year = bcd2bin((date & DATE_YEAR_MASK) >> DATE_YEAR_S) in vt8500_rtc_read_time()
139 writel((bin2bcd(tm->tm_year % 100) << DATE_YEAR_S) in vt8500_rtc_set_time()