Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Drtc-vt8500.c37 #define DATE_YEAR_S 11 macro
38 #define DATE_YEAR_MASK (0xff << DATE_YEAR_S)
114 tm->tm_year = bcd2bin((date & DATE_YEAR_MASK) >> DATE_YEAR_S) in vt8500_rtc_read_time()
125 writel((bin2bcd(tm->tm_year % 100) << DATE_YEAR_S) in vt8500_rtc_set_time()