Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/sibyte/swarm/
H A Drtc_m41t81.c110 static int m41t81_write(uint8_t addr, int b) in m41t81_write() function
155 m41t81_write(M41T81REG_SC, tm.tm_sec); in m41t81_set_time()
158 m41t81_write(M41T81REG_MN, tm.tm_min); in m41t81_set_time()
162 m41t81_write(M41T81REG_HR, tm.tm_hour); in m41t81_set_time()
167 m41t81_write(M41T81REG_DY, tm.tm_wday); in m41t81_set_time()
170 m41t81_write(M41T81REG_DT, tm.tm_mday); in m41t81_set_time()
175 m41t81_write(M41T81REG_MO, tm.tm_mon); in m41t81_set_time()
180 m41t81_write(M41T81REG_YR, tm.tm_year); in m41t81_set_time()
225 m41t81_write(M41T81REG_SC, tmp & 0x7f); in m41t81_probe()