Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/sibyte/swarm/
H A Drtc_m41t81.c83 static int m41t81_read(uint8_t addr) in m41t81_read() function
161 tm.tm_hour = (tm.tm_hour & 0x3f) | (m41t81_read(M41T81REG_HR) & 0xc0); in m41t81_set_time()
196 sec = m41t81_read(M41T81REG_SC); in m41t81_get_time()
197 min = m41t81_read(M41T81REG_MN); in m41t81_get_time()
198 if (sec == m41t81_read(M41T81REG_SC)) break; in m41t81_get_time()
201 hour = m41t81_read(M41T81REG_HR) & 0x3f; in m41t81_get_time()
202 day = m41t81_read(M41T81REG_DT); in m41t81_get_time()
203 mon = m41t81_read(M41T81REG_MO); in m41t81_get_time()
204 year = m41t81_read(M41T81REG_YR); in m41t81_get_time()
224 tmp = m41t81_read(M41T81REG_SC); in m41t81_probe()
[all …]