Home
last modified time | relevance | path

Searched refs:RTC_HOURS (Results 1 – 5 of 5) sorted by relevance

/drivers/rtc/
Drtc-ds1742.c29 #define RTC_HOURS 3 macro
69 writeb(bin2bcd(tm->tm_hour), ioaddr + RTC_HOURS); in ds1742_rtc_set_time()
93 hour = readb(ioaddr + RTC_HOURS); in ds1742_rtc_read_time()
Drtc-ds1553.c34 #define RTC_HOURS (RTC_OFFSET + 11) macro
85 writeb(bin2bcd(tm->tm_hour), ioaddr + RTC_HOURS); in ds1553_rtc_set_time()
109 hour = readb(ioaddr + RTC_HOURS); in ds1553_rtc_read_time()
Drtc-stk17ta8.c37 #define RTC_HOURS (RTC_OFFSET + 11) macro
85 writeb(bin2bcd(tm->tm_hour), ioaddr + RTC_HOURS); in stk17ta8_rtc_set_time()
111 hour = readb(ioaddr + RTC_HOURS); in stk17ta8_rtc_read_time()
Drtc-mc146818-lib.c123 p->time->tm_hour = CMOS_READ(RTC_HOURS); in mc146818_get_time_callback()
295 CMOS_WRITE(hrs, RTC_HOURS); in mc146818_set_time()
Drtc-ds1286.c183 tm->tm_hour = ds1286_rtc_read(priv, RTC_HOURS) & 0x3f; in ds1286_read_time()
252 ds1286_rtc_write(priv, hrs, RTC_HOURS); in ds1286_set_time()