Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/rtc/
H A Drx8010sj.c44 #define RX8010_HOUR 0x12 macro
233 tmp->tm_hour = bcd2bin(date[RX8010_HOUR - RX8010_SEC] & 0x3f); in rx8010sj_rtc_get()
269 date[RX8010_HOUR - RX8010_SEC] = bin2bcd(tm->tm_hour); in rx8010sj_rtc_set()
/openbmc/linux/drivers/rtc/
H A Drtc-rx8010.c19 #define RX8010_HOUR 0x12 macro
128 dt->tm_hour = bcd2bin(date[RX8010_HOUR - RX8010_SEC] & 0x3f); in rx8010_get_time()
150 date[RX8010_HOUR - RX8010_SEC] = bin2bcd(dt->tm_hour); in rx8010_set_time()