Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-r9701.c30 #define RWKCNT 0x03 /* Week Counter */ macro
112 ret = ret ? ret : write_reg(dev, RWKCNT, 1 << dt->tm_wday); in r9701_set_datetime()
Drtc-sh.c42 #define RWKCNT RTC_REG(4) /* RTC week */ macro
374 tm->tm_wday = bcd2bin(readb(rtc->regbase + RWKCNT)); in sh_rtc_read_time()
431 writeb(bin2bcd(tm->tm_wday), rtc->regbase + RWKCNT); in sh_rtc_set_time()