Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-ds1742.c30 #define RTC_HOURS 3 macro
70 writeb(bin2bcd(tm->tm_hour), ioaddr + RTC_HOURS); in ds1742_rtc_set_time()
94 hour = readb(ioaddr + RTC_HOURS); in ds1742_rtc_read_time()
Drtc-mc146818-lib.c56 time->tm_hour = CMOS_READ(RTC_HOURS); in mc146818_get_time()
183 CMOS_WRITE(hrs, RTC_HOURS); in mc146818_set_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-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()
Drtc-mrst.c94 time->tm_hour = vrtc_cmos_read(RTC_HOURS); in mrst_read_time()
129 vrtc_cmos_write(hrs, RTC_HOURS); in mrst_set_time()
/drivers/char/
Drtc.c617 CMOS_WRITE(hrs, RTC_HOURS); in rtc_do_ioctl()
1209 rtc_tm->tm_hour = CMOS_READ(RTC_HOURS); in rtc_get_rtc_time()