Searched refs:RTC_HOURS (Results 1 – 14 of 14) sorted by relevance
/linux-5.19.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-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-mc146818-lib.c | 114 p->time->tm_hour = CMOS_READ(RTC_HOURS); in mc146818_get_time_callback() 274 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-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()
|
/linux-5.19.10/arch/powerpc/platforms/chrp/ |
D | time.c | 111 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/ |
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-5.19.10/include/linux/rtc/ |
D | ds1286.h | 18 #define RTC_HOURS 4 macro
|
/linux-5.19.10/include/linux/ |
D | mc146818rtc.h | 54 #define RTC_HOURS 4 macro
|
/linux-5.19.10/arch/m68k/atari/ |
D | time.c | 266 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/ |
D | mc146818-time.h | 99 hour = CMOS_READ(RTC_HOURS); in mc146818_get_cmos_time()
|
/linux-5.19.10/arch/sh/include/asm/ |
D | smc37c93x.h | 169 #define RTC_HOURS 4 macro
|
/linux-5.19.10/arch/mips/dec/ |
D | time.c | 32 hour = CMOS_READ(RTC_HOURS); in read_persistent_clock64()
|
/linux-5.19.10/arch/x86/kernel/ |
D | rtc.c | 90 hour = CMOS_READ(RTC_HOURS); in mach_get_cmos_time()
|