Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-r9701.c27 #define RSECCNT 0x00 /* Second Counter */ macro
74 unsigned char buf[] = { RSECCNT, RMINCNT, RHRCNT, in r9701_get_datetime()
108 ret = ret ? ret : write_reg(dev, RSECCNT, bin2bcd(dt->tm_sec)); in r9701_set_datetime()
Drtc-sh.c39 #define RSECCNT RTC_REG(1) /* RTC sec */ macro
371 tm->tm_sec = bcd2bin(readb(rtc->regbase + RSECCNT)); in sh_rtc_read_time()
428 writeb(bin2bcd(tm->tm_sec), rtc->regbase + RSECCNT); in sh_rtc_set_time()