Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/rtc/
Dm48t59.h21 #define M48T59_YEAR 0xf macro
/linux-2.6.39/drivers/rtc/
Drtc-m48t59.c80 tm->tm_year = bcd2bin(M48T59_READ(M48T59_YEAR)); in m48t59_rtc_read_time()
142 M48T59_WRITE(bin2bcd(year % 100), M48T59_YEAR); in m48t59_rtc_set_time()
175 tm->tm_year = bcd2bin(M48T59_READ(M48T59_YEAR)); in m48t59_rtc_readalarm()