Home
last modified time | relevance | path

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

/linux-5.19.10/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-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-mc146818-lib.c114 p->time->tm_hour = CMOS_READ(RTC_HOURS); in mc146818_get_time_callback()
274 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-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()
/linux-5.19.10/arch/powerpc/platforms/chrp/
Dtime.c111 chrp_cmos_clock_write(tm.tm_hour,RTC_HOURS); in chrp_set_rtc_time()
137 hour = chrp_cmos_clock_read(RTC_HOURS); in chrp_get_rtc_time()
/linux-5.19.10/arch/powerpc/platforms/maple/
Dtime.c56 tm->tm_hour = maple_clock_read(RTC_HOURS); in maple_get_rtc_time()
109 maple_clock_write(hour, RTC_HOURS); in maple_set_rtc_time()
/linux-5.19.10/include/linux/rtc/
Dds1286.h18 #define RTC_HOURS 4 macro
/linux-5.19.10/include/linux/
Dmc146818rtc.h54 #define RTC_HOURS 4 macro
/linux-5.19.10/arch/m68k/atari/
Dtime.c266 hour = RTC_READ( RTC_HOURS ); in atari_tt_hwclk()
275 RTC_WRITE( RTC_HOURS, hour + pm); in atari_tt_hwclk()
/linux-5.19.10/arch/mips/include/asm/
Dmc146818-time.h99 hour = CMOS_READ(RTC_HOURS); in mc146818_get_cmos_time()
/linux-5.19.10/arch/sh/include/asm/
Dsmc37c93x.h169 #define RTC_HOURS 4 macro
/linux-5.19.10/arch/mips/dec/
Dtime.c32 hour = CMOS_READ(RTC_HOURS); in read_persistent_clock64()
/linux-5.19.10/arch/x86/kernel/
Drtc.c90 hour = CMOS_READ(RTC_HOURS); in mach_get_cmos_time()