Searched refs:RX8010_MONTH (Results 1 – 2 of 2) sorted by relevance
47 #define RX8010_MONTH 0x15 macro235 tmp->tm_mon = bcd2bin(date[RX8010_MONTH - RX8010_SEC] & 0x1f); in rx8010sj_rtc_get()271 date[RX8010_MONTH - RX8010_SEC] = bin2bcd(tm->tm_mon); in rx8010sj_rtc_set()
22 #define RX8010_MONTH 0x15 macro130 dt->tm_mon = bcd2bin(date[RX8010_MONTH - RX8010_SEC] & 0x1f) - 1; in rx8010_get_time()152 date[RX8010_MONTH - RX8010_SEC] = bin2bcd(dt->tm_mon + 1); in rx8010_set_time()