Home
last modified time | relevance | path

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

/linux/drivers/rtc/
H A Drtc-r9701.c26 #define RHRCNT 0x02 /* Hour Counter */ macro
71 unsigned char buf[] = { RSECCNT, RMINCNT, RHRCNT, in r9701_get_datetime()
93 ret = write_reg(dev, RHRCNT, bin2bcd(dt->tm_hour)); in r9701_set_datetime()
H A Drtc-sh.c46 #define RHRCNT RTC_REG(3) /* RTC hour */ macro
296 tm->tm_hour = bcd2bin(readb(rtc->regbase + RHRCNT)); in sh_rtc_read_time()
352 writeb(bin2bcd(tm->tm_hour), rtc->regbase + RHRCNT); in sh_rtc_set_time()