HomeSort by relevance Sort by last modified time
    Searched refs:RTC_YEAR (Results 1 - 9 of 9) sorted by null

  /external/u-boot/include/linux/
mc146818rtc.h 33 #define RTC_YEAR 9
  /external/u-boot/include/
mk48t59.h 25 #define RTC_YEAR 0x1FFF
  /external/u-boot/drivers/rtc/
m41t60.c 53 #define RTC_YEAR 0x6
116 years = data[RTC_YEAR];
137 data[RTC_YEAR] = 0x00;
160 tmp->tm_year = cb2year(data[RTC_MONTH] >> 6) + bcd2bin(data[RTC_YEAR]);
188 data[RTC_YEAR] = bin2bcd(tmp->tm_year % 100);
ds1556.c 29 #define RTC_YEAR ( RTC_BASE + 0xf )
71 year = rtc_read( RTC_YEAR );
125 rtc_write( RTC_YEAR, bin2bcd( tmp->tm_year % 100 ));
ds164x.c 35 #define RTC_YEAR ( RTC_BASE + 0x07 )
71 year = rtc_read( RTC_YEAR );
125 rtc_write( RTC_YEAR, bin2bcd( tmp->tm_year % 100 ));
ds174x.c 26 #define RTC_YEAR ( RTC_BASE + 7 )
68 year = rtc_read( RTC_YEAR );
122 rtc_write( RTC_YEAR, bin2bcd( tmp->tm_year % 100 ));
mk48t59.c 95 year = rtc_read (RTC_YEAR);
143 rtc_write (RTC_YEAR, bin2bcd(tmp->tm_year % 100));
mc146818.c 37 #define RTC_YEAR 0x09
98 year = mc146818_read8(RTC_YEAR);
142 mc146818_write8(RTC_YEAR, bin2bcd(tmp->tm_year % 100));
ds1306.c 30 #define RTC_YEAR 0x06
311 year = rtc_read (RTC_YEAR);
378 rtc_write (RTC_YEAR, bin2bcd (tmp->tm_year - 2000));

Completed in 264 milliseconds