Searched refs:xicor_write (Results 1 – 1 of 1) sorted by relevance
/linux-3.4.99/arch/mips/sibyte/swarm/ |
D | rtc_xicor1241.c | 90 static int xicor_write(uint8_t addr, int b) in xicor_write() function 123 xicor_write(X1241REG_SR, X1241REG_SR_WEL); in xicor_set_time() 124 xicor_write(X1241REG_SR, X1241REG_SR_WEL | X1241REG_SR_RWEL); in xicor_set_time() 128 xicor_write(X1241REG_SC, tm.tm_sec); in xicor_set_time() 131 xicor_write(X1241REG_MN, tm.tm_min); in xicor_set_time() 134 xicor_write(X1241REG_DT, tm.tm_mday); in xicor_set_time() 139 xicor_write(X1241REG_MO, tm.tm_mon); in xicor_set_time() 144 xicor_write(X1241REG_YR, tm.tm_year); in xicor_set_time() 145 xicor_write(X1241REG_Y2K, tmp); in xicor_set_time() 163 xicor_write(X1241REG_HR, tmp); in xicor_set_time() [all …]
|