Searched refs:rx8010sj_rtc_write8 (Results 1 – 1 of 1) sorted by relevance
/u-boot/drivers/rtc/ |
A D | rx8010sj.c | 108 static int rx8010sj_rtc_write8(DEV_TYPE *dev, unsigned int reg, int val) in rx8010sj_rtc_write8() function 154 ret = rx8010sj_rtc_write8(dev, RX8010_RESV17, 0xD8); in rx8010sj_rtc_init() 158 ret = rx8010sj_rtc_write8(dev, RX8010_RESV30, 0x00); in rx8010sj_rtc_init() 162 ret = rx8010sj_rtc_write8(dev, RX8010_RESV31, 0x08); in rx8010sj_rtc_init() 166 ret = rx8010sj_rtc_write8(dev, RX8010_IRQ, 0x00); in rx8010sj_rtc_init() 194 ret = rx8010sj_rtc_write8(dev, RX8010_FLAG, ctrl[0]); in rx8010sj_rtc_init() 264 ret = rx8010sj_rtc_write8(dev, RX8010_CTRL, ctrl | RX8010_CTRL_STOP); in rx8010sj_rtc_set() 277 ret = rx8010sj_rtc_write8(dev, RX8010_SEC + i, date[i]); in rx8010sj_rtc_set() 289 ret = rx8010sj_rtc_write8(dev, RX8010_CTRL, ctrl & ~RX8010_CTRL_STOP); in rx8010sj_rtc_set() 298 ret = rx8010sj_rtc_write8(dev, RX8010_FLAG, in rx8010sj_rtc_set() [all …]
|
Completed in 3 milliseconds