Home
last modified time | relevance | path

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

/Linux-v5.4/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-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-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-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()
/Linux-v5.4/arch/x86/platform/intel-mid/
Dintel_mid_vrtc.c69 hour = vrtc_cmos_read(RTC_HOURS); in vrtc_get_time()
104 vrtc_cmos_write(tm.tm_hour, RTC_HOURS); in vrtc_set_mmss()
/Linux-v5.4/arch/powerpc/platforms/chrp/
Dtime.c113 chrp_cmos_clock_write(tm.tm_hour,RTC_HOURS); in chrp_set_rtc_time()
139 hour = chrp_cmos_clock_read(RTC_HOURS); in chrp_get_rtc_time()
/Linux-v5.4/arch/powerpc/platforms/maple/
Dtime.c57 tm->tm_hour = maple_clock_read(RTC_HOURS); in maple_get_rtc_time()
110 maple_clock_write(hour, RTC_HOURS); in maple_set_rtc_time()
/Linux-v5.4/include/linux/rtc/
Dds1286.h18 #define RTC_HOURS 4 macro
/Linux-v5.4/include/linux/
Dmc146818rtc.h54 #define RTC_HOURS 4 macro
/Linux-v5.4/arch/mips/include/asm/
Dmc146818-time.h99 hour = CMOS_READ(RTC_HOURS); in mc146818_get_cmos_time()
/Linux-v5.4/arch/sh/include/asm/
Dsmc37c93x.h169 #define RTC_HOURS 4 macro
/Linux-v5.4/arch/m68k/atari/
Dtime.c265 hour = RTC_READ( RTC_HOURS ); in atari_tt_hwclk()
274 RTC_WRITE( RTC_HOURS, hour + pm); in atari_tt_hwclk()
/Linux-v5.4/arch/mips/dec/
Dtime.c32 hour = CMOS_READ(RTC_HOURS); in read_persistent_clock64()
/Linux-v5.4/arch/x86/kernel/
Drtc.c90 hour = CMOS_READ(RTC_HOURS); in mach_get_cmos_time()
/Linux-v5.4/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()