Home
last modified time | relevance | path

Searched refs:RX8010_MONTH (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/rtc/
H A Drx8010sj.c47 #define RX8010_MONTH 0x15 macro
235 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()
/openbmc/linux/drivers/rtc/
H A Drtc-rx8010.c22 #define RX8010_MONTH 0x15 macro
130 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()