Searched refs:RTC_YEARS_ADDR (Results 1 – 1 of 1) sorted by relevance
46 #define RTC_YEARS_ADDR 0x6 macro92 + bcd2bin(data[RTC_YEARS_ADDR]) in rtc_get()107 tmp->tm_year =((int)cent*100)+bcd2bin(data[RTC_YEARS_ADDR]); in rtc_get()138 data[RTC_YEARS_ADDR] = bin2bcd(tmp->tm_year%100);/*same thing either way*/ in rtc_set()