Searched refs:RTC_YR_REG_ADDR (Results 1 – 6 of 6) sorted by relevance
28 #define RTC_YR_REG_ADDR 0x6 macro39 #define RTC_YR_REG_ADDR 0x7 macro82 year = rtc_read (RTC_YR_REG_ADDR); in rtc_get()130 rtc_write (RTC_YR_REG_ADDR, bin2bcd (tmp->tm_year % 100)); in rtc_set()
38 #define RTC_YR_REG_ADDR 0x06 macro92 year = rtc_read (RTC_YR_REG_ADDR); in rtc_get()154 rtc_write (RTC_YR_REG_ADDR, bin2bcd (tmp->tm_year % 100)); in rtc_set()221 buf[RTC_YR_REG_ADDR] = bin2bcd(tm->tm_year % 100); in ds1307_rtc_set()285 tm->tm_year = bcd2bin(buf[RTC_YR_REG_ADDR]) + in ds1307_rtc_get()286 (bcd2bin(buf[RTC_YR_REG_ADDR]) >= 70 ? in ds1307_rtc_get()
32 #define RTC_YR_REG_ADDR 0x6 macro74 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()
28 #define RTC_YR_REG_ADDR 0x6 macro73 year = rtc_read (RTC_YR_REG_ADDR); in rtc_get()116 rtc_write (RTC_YR_REG_ADDR, bin2bcd (tmp->tm_year % 100)); in rtc_set()
39 #define RTC_YR_REG_ADDR 0x06 macro93 year = rtc_read(RTC_YR_REG_ADDR); in rtc_get()149 rtc_write (RTC_YR_REG_ADDR, bin2bcd (tmp->tm_year % 100)); in rtc_set()
37 #define RTC_YR_REG_ADDR 0x5 macro102 tmp->tm_year = bcd2bin(buf[RTC_YR_REG_ADDR]) + 2000; in isl1208_rtc_get()140 buf[RTC_YR_REG_ADDR] = bin2bcd(tmp->tm_year % 100); in isl1208_rtc_set()