Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-mc146818-lib.c188 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in mc146818_get_time()
289 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()
Drtc-mrst.c350 if (!(rtc_control & RTC_24H) || (rtc_control & (RTC_DM_BINARY))) in vrtc_mrst_do_probe()
/kernel/linux/linux-5.10/include/linux/
Dmc146818rtc.h101 # define RTC_DM_BINARY 0x04 /* all time/date values are BCD if clear */ macro
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dsmc37c93x.h187 # define RTC_DM_BINARY 0x04 macro
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Drtc.c61 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in init_rtc_epoch()
/kernel/linux/linux-5.10/arch/mips/mti-malta/
Dmalta-time.c107 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in estimate_frequencies()
/kernel/linux/linux-5.10/drivers/input/misc/
Dhp_sdc_rtc.c333 NY(RTC_DM_BINARY), in hp_sdc_rtc_proc_show()