Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-vt8500.c39 #define DATE_MONTH_S 6 macro
40 #define DATE_MONTH_MASK (0x1f << DATE_MONTH_S)
113 tm->tm_mon = bcd2bin((date & DATE_MONTH_MASK) >> DATE_MONTH_S) - 1; in vt8500_rtc_read_time()
126 | (bin2bcd(tm->tm_mon + 1) << DATE_MONTH_S) in vt8500_rtc_set_time()