Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/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.4/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.4/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.4/arch/powerpc/platforms/maple/
Dtime.c63 if (!(maple_clock_read(RTC_CONTROL) & RTC_DM_BINARY) in maple_get_rtc_time()
100 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in maple_set_rtc_time()
/Linux-v5.4/drivers/char/
Drtc.c499 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || in rtc_do_ioctl()
596 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) in rtc_do_ioctl()
977 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in rtc_init()
1163 NY(RTC_DM_BINARY), in rtc_proc_show()
1222 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in rtc_get_rtc_time()
1262 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in get_rtc_alm_time()
/Linux-v5.4/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.4/include/linux/
Dmc146818rtc.h99 # define RTC_DM_BINARY 0x04 /* all time/date values are BCD if clear */ macro
/Linux-v5.4/arch/sh/include/asm/
Dsmc37c93x.h187 # define RTC_DM_BINARY 0x04 macro
/Linux-v5.4/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.4/arch/alpha/kernel/
Drtc.c61 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in init_rtc_epoch()
/Linux-v5.4/arch/mips/mti-malta/
Dmalta-time.c107 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in estimate_frequencies()
/Linux-v5.4/drivers/input/misc/
Dhp_sdc_rtc.c496 NY(RTC_DM_BINARY), in hp_sdc_rtc_proc_show()