Home
last modified time | relevance | path

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

/Linux-v6.6/arch/mips/sibyte/swarm/
Drtc_m41t81.c62 #define M41T81REG_SC 0x01 /* seconds */ macro
155 m41t81_write(M41T81REG_SC, tm.tm_sec); in m41t81_set_time()
196 sec = m41t81_read(M41T81REG_SC); in m41t81_get_time()
198 if (sec == m41t81_read(M41T81REG_SC)) break; in m41t81_get_time()
224 tmp = m41t81_read(M41T81REG_SC); in m41t81_probe()
225 m41t81_write(M41T81REG_SC, tmp & 0x7f); in m41t81_probe()
227 return m41t81_read(M41T81REG_SC) != -1; in m41t81_probe()