Home
last modified time | relevance | path

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

/linux-2.6.39/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-2.6.39/arch/x86/kernel/
Drtc.c56 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in mach_set_rtc_mmss()
73 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in mach_set_rtc_mmss()
126 WARN_ON_ONCE(RTC_ALWAYS_BCD && (status & RTC_DM_BINARY)); in mach_get_cmos_time()
128 if (RTC_ALWAYS_BCD || !(status & RTC_DM_BINARY)) { in mach_get_cmos_time()
/linux-2.6.39/arch/mips/dec/
Dtime.c45 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in read_persistent_clock()
84 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in rtc_mips_set_mmss()
100 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in rtc_mips_set_mmss()
/linux-2.6.39/include/asm-generic/
Drtc.h27 #define RTC_DM_BINARY 0x04 /* all time/date values are BCD if clear */ macro
85 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in __get_rtc_time()
164 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) in __set_rtc_time()
/linux-2.6.39/arch/mn10300/kernel/
Drtc.c68 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in set_rtc_mmss()
85 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in set_rtc_mmss()
/linux-2.6.39/arch/m68k/atari/
Dtime.c197 if (!(ctrl & RTC_DM_BINARY)) { in atari_tt_hwclk()
259 if (!(ctrl & RTC_DM_BINARY)) { in atari_tt_hwclk()
325 if (!(save_control & RTC_DM_BINARY)) in atari_tt_set_clock_mmss()
335 if (!(save_control & RTC_DM_BINARY)) in atari_tt_set_clock_mmss()
/linux-2.6.39/arch/powerpc/platforms/chrp/
Dtime.c100 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in chrp_set_rtc_time()
142 if (!(chrp_cmos_clock_read(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in chrp_get_rtc_time()
/linux-2.6.39/arch/alpha/kernel/
Dtime.c130 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in read_persistent_clock()
480 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in set_rtc_mmss()
498 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in set_rtc_mmss()
/linux-2.6.39/arch/sh/include/asm/
Drtc.h12 #define RTC_DM_BINARY 0x04 /* all time/date values are BCD if clear */ macro
Dsmc37c93x.h186 # define RTC_DM_BINARY 0x04 macro
/linux-2.6.39/arch/powerpc/platforms/maple/
Dtime.c69 if (!(maple_clock_read(RTC_CONTROL) & RTC_DM_BINARY) in maple_get_rtc_time()
106 if (!(save_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in maple_set_rtc_time()
/linux-2.6.39/arch/powerpc/include/asm/
Drtc.h41 #define RTC_DM_BINARY 0x04 /* all time/date values are BCD if clear */ macro
/linux-2.6.39/arch/m68k/include/asm/
Drtc.h27 #define RTC_DM_BINARY 0x04 /* all time/date values are BCD if clear */ macro
/linux-2.6.39/include/linux/
Dmc146818rtc.h92 # define RTC_DM_BINARY 0x04 /* all time/date values are BCD if clear */ macro
/linux-2.6.39/drivers/acpi/
Dproc.c55 if (!(rtc_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in acpi_system_alarm_seq_show()
160 if (!(rtc_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in cmos_bcd_read()
168 if (!(rtc_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in cmos_bcd_write()
/linux-2.6.39/drivers/char/
Drtc.c516 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || in rtc_do_ioctl()
613 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) in rtc_do_ioctl()
1088 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) in rtc_init()
1277 NY(RTC_DM_BINARY), in rtc_proc_show()
1341 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in rtc_get_rtc_time()
1381 if (!(ctrl & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in get_rtc_alm_time()
Dgenrtc.c437 (flags & RTC_DM_BINARY) ? "no" : "yes", in gen_rtc_proc_output()
/linux-2.6.39/arch/mips/mipssim/
Dsim_time.c108 CMOS_WRITE(CMOS_READ(RTC_CONTROL) | RTC_DM_BINARY, RTC_CONTROL); in plat_time_init()
/linux-2.6.39/arch/mips/mti-malta/
Dmalta-time.c149 CMOS_WRITE(CMOS_READ(RTC_CONTROL) | RTC_DM_BINARY, RTC_CONTROL); in plat_time_init()
Dmalta-platform.c144 CMOS_WRITE(CMOS_READ(RTC_CONTROL) & ~RTC_DM_BINARY, RTC_CONTROL); in malta_add_devices()
/linux-2.6.39/arch/parisc/include/asm/
Drtc.h31 #define RTC_DM_BINARY 0x04 /* all time/date values are BCD if clear */ macro
/linux-2.6.39/drivers/rtc/
Drtc-cmos.c244 if (!(rtc_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in cmos_read_alarm()
341 if (!(rtc_control & RTC_DM_BINARY) || RTC_ALWAYS_BCD) { in cmos_set_alarm()
427 (rtc_control & RTC_DM_BINARY) ? "no" : "yes", in cmos_procfs()
Drtc-mrst.c362 if (!(rtc_control & RTC_24H) || (rtc_control & (RTC_DM_BINARY))) in vrtc_mrst_do_probe()
/linux-2.6.39/drivers/input/misc/
Dhp_sdc_rtc.c491 NY(RTC_DM_BINARY), in hp_sdc_rtc_proc_output()