Searched refs:RWKCNT (Results 1 – 2 of 2) sorted by relevance
30 #define RWKCNT 0x03 /* Week Counter */ macro112 ret = ret ? ret : write_reg(dev, RWKCNT, 1 << dt->tm_wday); in r9701_set_datetime()
42 #define RWKCNT RTC_REG(4) /* RTC week */ macro374 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()