Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-r9701.c29 #define RMONCNT 0x05 /* Month Counter */ macro
72 RDAYCNT, RMONCNT, RYRCNT }; in r9701_get_datetime()
97 ret = ret ? ret : write_reg(dev, RMONCNT, bin2bcd(dt->tm_mon + 1)); in r9701_set_datetime()
H A Drtc-sh.c49 #define RMONCNT RTC_REG(6) /* RTC month */ macro
299 tm->tm_mon = bcd2bin(readb(rtc->regbase + RMONCNT)) - 1; in sh_rtc_read_time()
355 writeb(bin2bcd(tm->tm_mon + 1), rtc->regbase + RMONCNT); in sh_rtc_set_time()
/openbmc/u-boot/arch/sh/include/asm/
H A Dcpu_sh7750.h103 #define RMONCNT 0xFFC80018 macro
H A Dcpu_sh7780.h285 #define RMONCNT 0xFFE80018 macro