Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-rs5c372.c141 .buf = rs5c->buf in rs5c_get_regs()
156 if (rs5c->smbus) { in rs5c_get_regs()
174 rs5c->regs + 0, rs5c->regs[3], in rs5c_get_regs()
175 rs5c->regs + 4, rs5c->regs[7], in rs5c_get_regs()
176 rs5c->regs + 8, rs5c->regs + 11, in rs5c_get_regs()
177 rs5c->regs[14], rs5c->regs[15]); in rs5c_get_regs()
186 if (rs5c->time24) in rs5c_reg2hr()
199 if (rs5c->time24) in rs5c_hr2reg()
239 tm->tm_hour = rs5c_reg2hr(rs5c, rs5c->regs[RS5C372_REG_HOURS]); in rs5c372_rtc_read_time()
530 if (rs5c->type == rtc_r2025sd || rs5c->type == rtc_r2221tl) { in rs5c372_ioctl()
[all …]