Home
last modified time | relevance | path

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

/Linux-v5.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-v5.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-v5.10/arch/powerpc/platforms/chrp/
Dtime.c103 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in chrp_set_rtc_time()
145 if (!(chrp_cmos_clock_read(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in chrp_get_rtc_time()
/Linux-v5.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-v5.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-v5.10/drivers/rtc/
Drtc-mc146818-lib.c71 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in mc146818_get_time()
161 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) in mc146818_set_time()
Drtc-cmos.c286 if (!(rtc_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in cmos_read_alarm()
467 if (!(rtc_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in cmos_set_alarm()
556 (rtc_control & RTC_DM_BINARY) ? "no" : "yes", in cmos_procfs()
Drtc-mrst.c350 if (!(rtc_control & RTC_24H) || (rtc_control & (RTC_DM_BINARY))) in vrtc_mrst_do_probe()
/Linux-v5.10/include/linux/
Dmc146818rtc.h99 # define RTC_DM_BINARY 0x04 /* all time/date values are BCD if clear */ macro
/Linux-v5.10/arch/sh/include/asm/
Dsmc37c93x.h187 # define RTC_DM_BINARY 0x04 macro
/Linux-v5.10/arch/m68k/atari/
Dtime.c229 if (!(ctrl & RTC_DM_BINARY)) { in atari_tt_hwclk()
291 if (!(ctrl & RTC_DM_BINARY)) { in atari_tt_hwclk()
/Linux-v5.10/arch/alpha/kernel/
Drtc.c61 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in init_rtc_epoch()
/Linux-v5.10/arch/mips/mti-malta/
Dmalta-time.c107 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in estimate_frequencies()
/Linux-v5.10/drivers/input/misc/
Dhp_sdc_rtc.c333 NY(RTC_DM_BINARY), in hp_sdc_rtc_proc_show()