Home
last modified time | relevance | path

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

/linux/include/linux/rtc/
H A Dm48t59.h18 #define M48T59_YEAR 0xf macro
/linux/drivers/rtc/
H A Drtc-m48t59.c74 tm->tm_year = bcd2bin(M48T59_READ(M48T59_YEAR)); in m48t59_rtc_read_time()
133 M48T59_WRITE(bin2bcd(year % 100), M48T59_YEAR); in m48t59_rtc_set_time()
165 tm->tm_year = bcd2bin(M48T59_READ(M48T59_YEAR)); in m48t59_rtc_readalarm()