Home
last modified time | relevance | path

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

/u-boot/drivers/rtc/
A Dm41t60.c53 #define RTC_YEAR 0x6 macro
116 years = data[RTC_YEAR]; in rtc_validate()
137 data[RTC_YEAR] = 0x00; in rtc_validate()
160 tmp->tm_year = cb2year(data[RTC_MONTH] >> 6) + bcd2bin(data[RTC_YEAR]); in rtc_get()
188 data[RTC_YEAR] = bin2bcd(tmp->tm_year % 100); in rtc_set()
A Dds164x.c33 #define RTC_YEAR ( RTC_BASE + 0x07 ) macro
69 year = rtc_read( RTC_YEAR ); in rtc_get()
123 rtc_write( RTC_YEAR, bin2bcd( tmp->tm_year % 100 )); in rtc_set()
A Dds1556.c29 #define RTC_YEAR ( RTC_BASE + 0xf ) macro
71 year = rtc_read( RTC_YEAR ); in rtc_get()
125 rtc_write( RTC_YEAR, bin2bcd( tmp->tm_year % 100 )); in rtc_set()
A Dds174x.c24 #define RTC_YEAR ( RTC_BASE + 7 ) macro
66 year = rtc_read( RTC_YEAR ); in rtc_get()
120 rtc_write( RTC_YEAR, bin2bcd( tmp->tm_year % 100 )); in rtc_set()
A Dmc146818.c35 #define RTC_YEAR 0x09 macro
96 year = mc146818_read8(RTC_YEAR); in mc146818_get()
144 mc146818_write8(RTC_YEAR, bin2bcd(tmp->tm_year % 100)); in mc146818_set()
A Dmk48t59.c93 year = rtc_read (RTC_YEAR); in rtc_get()
141 rtc_write (RTC_YEAR, bin2bcd(tmp->tm_year % 100)); in rtc_set()
A Dds1306.c29 #define RTC_YEAR 0x06 macro
310 year = rtc_read (RTC_YEAR); in rtc_get()
377 rtc_write (RTC_YEAR, bin2bcd (tmp->tm_year - 2000)); in rtc_set()
/u-boot/include/
A Dmk48t59.h25 #define RTC_YEAR 0x1FFF macro
/u-boot/include/linux/
A Dmc146818rtc.h33 #define RTC_YEAR 9 macro

Completed in 8 milliseconds