Searched refs:RTC_YR_REG_ADDR (Results 1 – 6 of 6) sorted by relevance
38 #define RTC_YR_REG_ADDR 0x06 macro94 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()
30 #define RTC_YR_REG_ADDR 0x6 macro41 #define RTC_YR_REG_ADDR 0x7 macro84 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()
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()
30 #define RTC_YR_REG_ADDR 0x6 macro75 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()
41 #define RTC_YR_REG_ADDR 0x06 macro95 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()
37 #define RTC_YR_REG_ADDR 0x5 macro84 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()