Home
last modified time | relevance | path

Searched refs:RTC_DM_BINARY (Results 1 – 13 of 13) sorted by relevance

/linux-5.19.10/arch/mips/include/asm/
Dmc146818-time.h46 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in mc146818_set_rtc_mmss()
62 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in mc146818_set_rtc_mmss()
105 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in mc146818_get_cmos_time()
/linux-5.19.10/arch/mips/dec/
Dtime.c46 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in read_persistent_clock64()
86 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in update_persistent_clock64()
101 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in update_persistent_clock64()
/linux-5.19.10/arch/powerpc/platforms/chrp/
Dtime.c101 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in chrp_set_rtc_time()
143 if (!(chrp_cmos_clock_read(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in chrp_get_rtc_time()
/linux-5.19.10/arch/x86/kernel/
Drtc.c102 WARN_ON_ONCE(RTC_ALWAYS_BCD && (status & RTC_DM_BINARY)); in mach_get_cmos_time()
106 if (RTC_ALWAYS_BCD || !(status & RTC_DM_BINARY)) { in mach_get_cmos_time()
/linux-5.19.10/arch/powerpc/platforms/maple/
Dtime.c62 if (!(maple_clock_read(RTC_CONTROL) & RTC_DM_BINARY) in maple_get_rtc_time()
99 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in maple_set_rtc_time()
/linux-5.19.10/drivers/rtc/
Drtc-mc146818-lib.c144 if (!(p.ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in mc146818_get_time()
249 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in mc146818_set_time()
Drtc-cmos.c313 if (!(p.rtc_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in cmos_read_alarm()
544 if (!(rtc_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in cmos_set_alarm()
611 (rtc_control & RTC_DM_BINARY) ? "no" : "yes", in cmos_procfs()
/linux-5.19.10/include/linux/
Dmc146818rtc.h101 # define RTC_DM_BINARY 0x04 /* all time/date values are BCD if clear */ macro
/linux-5.19.10/arch/m68k/atari/
Dtime.c230 if (!(ctrl & RTC_DM_BINARY)) { in atari_tt_hwclk()
292 if (!(ctrl & RTC_DM_BINARY)) { in atari_tt_hwclk()
/linux-5.19.10/arch/sh/include/asm/
Dsmc37c93x.h187 # define RTC_DM_BINARY 0x04 macro
/linux-5.19.10/arch/alpha/kernel/
Drtc.c61 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in init_rtc_epoch()
/linux-5.19.10/arch/mips/mti-malta/
Dmalta-time.c102 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in estimate_frequencies()
/linux-5.19.10/drivers/input/misc/
Dhp_sdc_rtc.c333 NY(RTC_DM_BINARY), in hp_sdc_rtc_proc_show()