Searched refs:RTC_HOURS (Results 1 – 16 of 16) sorted by relevance
/Linux-v5.10/drivers/rtc/ |
D | rtc-ds1742.c | 30 #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()
|
D | rtc-mc146818-lib.c | 56 time->tm_hour = CMOS_READ(RTC_HOURS); in mc146818_get_time() 183 CMOS_WRITE(hrs, RTC_HOURS); in mc146818_set_time()
|
D | rtc-stk17ta8.c | 37 #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()
|
D | rtc-ds1553.c | 34 #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()
|
D | rtc-ds1286.c | 183 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()
|
D | rtc-mrst.c | 94 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.10/arch/x86/platform/intel-mid/ |
D | intel_mid_vrtc.c | 69 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.10/arch/powerpc/platforms/chrp/ |
D | time.c | 113 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.10/arch/powerpc/platforms/maple/ |
D | time.c | 56 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-v5.10/include/linux/rtc/ |
D | ds1286.h | 18 #define RTC_HOURS 4 macro
|
/Linux-v5.10/include/linux/ |
D | mc146818rtc.h | 54 #define RTC_HOURS 4 macro
|
/Linux-v5.10/arch/mips/include/asm/ |
D | mc146818-time.h | 99 hour = CMOS_READ(RTC_HOURS); in mc146818_get_cmos_time()
|
/Linux-v5.10/arch/sh/include/asm/ |
D | smc37c93x.h | 169 #define RTC_HOURS 4 macro
|
/Linux-v5.10/arch/m68k/atari/ |
D | time.c | 265 hour = RTC_READ( RTC_HOURS ); in atari_tt_hwclk() 274 RTC_WRITE( RTC_HOURS, hour + pm); in atari_tt_hwclk()
|
/Linux-v5.10/arch/mips/dec/ |
D | time.c | 32 hour = CMOS_READ(RTC_HOURS); in read_persistent_clock64()
|
/Linux-v5.10/arch/x86/kernel/ |
D | rtc.c | 90 hour = CMOS_READ(RTC_HOURS); in mach_get_cmos_time()
|