Home
last modified time | relevance | path

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

/external/u-boot/drivers/rtc/
Dds1307.c38 #define RTC_YR_REG_ADDR 0x06 macro
94 year = rtc_read (RTC_YR_REG_ADDR); in rtc_get()
156 rtc_write (RTC_YR_REG_ADDR, bin2bcd (tmp->tm_year % 100)); in rtc_set()
225 buf[RTC_YR_REG_ADDR] = bin2bcd(tm->tm_year % 100); in ds1307_rtc_set()
289 tm->tm_year = bcd2bin(buf[RTC_YR_REG_ADDR]) + in ds1307_rtc_get()
290 (bcd2bin(buf[RTC_YR_REG_ADDR]) >= 70 ? in ds1307_rtc_get()
Dds1337.c30 #define RTC_YR_REG_ADDR 0x6 macro
41 #define RTC_YR_REG_ADDR 0x7 macro
84 year = rtc_read (RTC_YR_REG_ADDR); in rtc_get()
132 rtc_write (RTC_YR_REG_ADDR, bin2bcd (tmp->tm_year % 100)); in rtc_set()
Dpt7c4338.c32 #define RTC_YR_REG_ADDR 0x6 macro
74 year = rtc_read(RTC_YR_REG_ADDR); in rtc_get()
111 rtc_write(RTC_YR_REG_ADDR, bin2bcd(tmp->tm_year % 100)); in rtc_set()
Dds3231.c30 #define RTC_YR_REG_ADDR 0x6 macro
75 year = rtc_read (RTC_YR_REG_ADDR); in rtc_get()
118 rtc_write (RTC_YR_REG_ADDR, bin2bcd (tmp->tm_year % 100)); in rtc_set()
Drx8025.c41 #define RTC_YR_REG_ADDR 0x06 macro
95 year = rtc_read(RTC_YR_REG_ADDR); in rtc_get()
151 rtc_write (RTC_YR_REG_ADDR, bin2bcd (tmp->tm_year % 100)); in rtc_set()
Disl1208.c37 #define RTC_YR_REG_ADDR 0x5 macro
84 tmp->tm_year = bcd2bin(buf[RTC_YR_REG_ADDR]) + 2000; in isl1208_rtc_get()
122 buf[RTC_YR_REG_ADDR] = bin2bcd(tmp->tm_year % 100); in isl1208_rtc_set()