Home
last modified time | relevance | path

Searched refs:nowtime (Results 1 – 17 of 17) sorted by relevance

/arch/powerpc/platforms/powermac/
Dtime.c126 unsigned int nowtime; in cuda_set_rtc_time() local
129 nowtime = from_rtc_time(tm) + RTC_OFFSET; in cuda_set_rtc_time()
131 nowtime >> 24, nowtime >> 16, nowtime >> 8, in cuda_set_rtc_time()
132 nowtime) < 0) in cuda_set_rtc_time()
169 unsigned int nowtime; in pmu_set_rtc_time() local
172 nowtime = from_rtc_time(tm) + RTC_OFFSET; in pmu_set_rtc_time()
173 if (pmu_request(&req, NULL, 5, PMU_SET_RTC, nowtime >> 24, in pmu_set_rtc_time()
174 nowtime >> 16, nowtime >> 8, nowtime) < 0) in pmu_set_rtc_time()
/arch/sh/boards/mach-sh03/
Drtc.c87 static int set_rtc_mmss(unsigned long nowtime) in set_rtc_mmss() argument
99 real_seconds = nowtime % 60; in set_rtc_mmss()
100 real_minutes = nowtime / 60; in set_rtc_mmss()
123 unsigned long nowtime = secs; in sh03_rtc_settimeofday() local
125 return set_rtc_mmss(nowtime); in sh03_rtc_settimeofday()
/arch/mn10300/kernel/
Drtc.c51 static int set_rtc_mmss(unsigned long nowtime) in set_rtc_mmss() argument
77 real_seconds = nowtime % 60; in set_rtc_mmss()
78 real_minutes = nowtime / 60; in set_rtc_mmss()
/arch/mips/include/asm/
Dmc146818-time.h31 static inline int mc146818_set_rtc_mmss(unsigned long nowtime) in mc146818_set_rtc_mmss() argument
55 real_seconds = nowtime % 60; in mc146818_set_rtc_mmss()
56 real_minutes = nowtime / 60; in mc146818_set_rtc_mmss()
/arch/mips/dec/
Dtime.c67 int rtc_mips_set_mmss(unsigned long nowtime) in rtc_mips_set_mmss() argument
93 real_seconds = nowtime % 60; in rtc_mips_set_mmss()
94 real_minutes = nowtime / 60; in rtc_mips_set_mmss()
/arch/m68k/atari/
Dtime.c302 int atari_mste_set_clock_mmss (unsigned long nowtime) in atari_mste_set_clock_mmss() argument
304 short real_seconds = nowtime % 60, real_minutes = (nowtime / 60) % 60; in atari_mste_set_clock_mmss()
325 int atari_tt_set_clock_mmss (unsigned long nowtime) in atari_tt_set_clock_mmss() argument
328 short real_seconds = nowtime % 60, real_minutes = (nowtime / 60) % 60; in atari_tt_set_clock_mmss()
/arch/mips/kernel/
Dtime.c107 int __weak rtc_mips_set_mmss(unsigned long nowtime) in rtc_mips_set_mmss() argument
109 return rtc_mips_set_time(nowtime); in rtc_mips_set_mmss()
/arch/x86/kernel/
Drtc.c43 unsigned long nowtime = now->tv_sec; in mach_set_rtc_mmss() local
47 rtc_time_to_tm(nowtime, &tm); in mach_set_rtc_mmss()
56 __func__, nowtime); in mach_set_rtc_mmss()
/arch/m68k/q40/
Dconfig.c275 static int q40_set_clock_mmss(unsigned long nowtime) in q40_set_clock_mmss() argument
278 short real_seconds = nowtime % 60, real_minutes = (nowtime / 60) % 60; in q40_set_clock_mmss()
/arch/alpha/kernel/
Drtc.c119 alpha_rtc_set_mmss(struct device *dev, time64_t nowtime) in alpha_rtc_set_mmss() argument
159 real_seconds = nowtime % 60; in alpha_rtc_set_mmss()
160 real_minutes = nowtime / 60; in alpha_rtc_set_mmss()
/arch/powerpc/kernel/
Drtas-proc.c309 unsigned long nowtime; in ppc_rtas_poweron_write() local
310 int error = parse_number(buf, count, &nowtime); in ppc_rtas_poweron_write()
314 power_on_time = nowtime; /* save the time */ in ppc_rtas_poweron_write()
316 to_tm(nowtime, &tm); in ppc_rtas_poweron_write()
375 unsigned long nowtime; in ppc_rtas_clock_write() local
376 int error = parse_number(buf, count, &nowtime); in ppc_rtas_clock_write()
380 to_tm(nowtime, &tm); in ppc_rtas_clock_write()
/arch/m68k/bvme6000/
Dconfig.c317 int bvme6000_set_clock_mmss (unsigned long nowtime) in bvme6000_set_clock_mmss() argument
320 short real_seconds = nowtime % 60, real_minutes = (nowtime / 60) % 60; in bvme6000_set_clock_mmss()
/arch/m68k/mvme147/
Dconfig.c169 int mvme147_set_clock_mmss (unsigned long nowtime) in mvme147_set_clock_mmss() argument
/arch/m68k/mac/
Dmisc.c759 int mac_set_clock_mmss (unsigned long nowtime) in mac_set_clock_mmss() argument
764 now.tm_sec = nowtime % 60; in mac_set_clock_mmss()
765 now.tm_min = (nowtime / 60) % 60; in mac_set_clock_mmss()
/arch/m68k/apollo/
Dconfig.c241 int dn_dummy_set_clock_mmss(unsigned long nowtime) in dn_dummy_set_clock_mmss() argument
/arch/cris/arch-v32/kernel/
Dtime.c48 extern int set_rtc_mmss(unsigned long nowtime);
/arch/m68k/mvme16x/
Dconfig.c415 int mvme16x_set_clock_mmss (unsigned long nowtime) in mvme16x_set_clock_mmss() argument