Searched refs:nowtime (Results 1 - 18 of 18) sorted by relevance

/linux-4.4.14/arch/powerpc/platforms/powermac/
H A Dtime.c126 unsigned int nowtime; cuda_set_rtc_time() local
129 nowtime = from_rtc_time(tm) + RTC_OFFSET; cuda_set_rtc_time()
131 nowtime >> 24, nowtime >> 16, nowtime >> 8, cuda_set_rtc_time()
132 nowtime) < 0) cuda_set_rtc_time()
169 unsigned int nowtime; pmu_set_rtc_time() local
172 nowtime = from_rtc_time(tm) + RTC_OFFSET; pmu_set_rtc_time()
173 if (pmu_request(&req, NULL, 5, PMU_SET_RTC, nowtime >> 24, pmu_set_rtc_time()
174 nowtime >> 16, nowtime >> 8, nowtime) < 0) pmu_set_rtc_time()
/linux-4.4.14/arch/mips/include/asm/
H A Dmc146818-time.h23 * called 500 ms after the second nowtime has started, because when
24 * nowtime is written into the registers of the CMOS clock, it will
31 static inline int mc146818_set_rtc_mmss(unsigned long nowtime) mc146818_set_rtc_mmss() argument
55 real_seconds = nowtime % 60; mc146818_set_rtc_mmss()
56 real_minutes = nowtime / 60; mc146818_set_rtc_mmss()
/linux-4.4.14/arch/sh/boards/mach-sh03/
H A Drtc.c87 static int set_rtc_mmss(unsigned long nowtime) set_rtc_mmss() argument
99 real_seconds = nowtime % 60; set_rtc_mmss()
100 real_minutes = nowtime / 60; set_rtc_mmss()
123 unsigned long nowtime = secs; sh03_rtc_settimeofday() local
125 return set_rtc_mmss(nowtime); sh03_rtc_settimeofday()
/linux-4.4.14/arch/x86/kernel/
H A Drtc.c36 * called 500 ms after the second nowtime has started, because when
37 * nowtime is written into the registers of the CMOS clock, it will
43 unsigned long nowtime = now->tv_sec; mach_set_rtc_mmss() local
47 rtc_time_to_tm(nowtime, &tm); mach_set_rtc_mmss()
56 __func__, nowtime); mach_set_rtc_mmss()
/linux-4.4.14/arch/mips/dec/
H A Dtime.c62 * be called 500 ms after the second nowtime has started, because when
63 * nowtime is written into the registers of the CMOS clock, it will
67 int rtc_mips_set_mmss(unsigned long nowtime) rtc_mips_set_mmss() argument
93 real_seconds = nowtime % 60; rtc_mips_set_mmss()
94 real_minutes = nowtime / 60; rtc_mips_set_mmss()
/linux-4.4.14/arch/mn10300/kernel/
H A Drtc.c43 * ms after the second nowtime has started, because when nowtime is written
51 static int set_rtc_mmss(unsigned long nowtime) set_rtc_mmss() argument
77 real_seconds = nowtime % 60; set_rtc_mmss()
78 real_minutes = nowtime / 60; set_rtc_mmss()
/linux-4.4.14/arch/m68k/atari/
H A Dtime.c289 int atari_mste_set_clock_mmss (unsigned long nowtime) atari_mste_set_clock_mmss() argument
291 short real_seconds = nowtime % 60, real_minutes = (nowtime / 60) % 60; atari_mste_set_clock_mmss()
312 int atari_tt_set_clock_mmss (unsigned long nowtime) atari_tt_set_clock_mmss() argument
315 short real_seconds = nowtime % 60, real_minutes = (nowtime / 60) % 60; atari_tt_set_clock_mmss()
/linux-4.4.14/arch/alpha/kernel/
H A Drtc.c119 alpha_rtc_set_mmss(struct device *dev, time64_t nowtime) alpha_rtc_set_mmss() argument
140 500 ms after the second nowtime has started, because when alpha_rtc_set_mmss()
141 nowtime is written into the registers of the CMOS clock, it will alpha_rtc_set_mmss()
159 real_seconds = nowtime % 60; alpha_rtc_set_mmss()
160 real_minutes = nowtime / 60; alpha_rtc_set_mmss()
/linux-4.4.14/arch/mips/kernel/
H A Dtime.c42 int __weak rtc_mips_set_mmss(unsigned long nowtime) rtc_mips_set_mmss() argument
44 return rtc_mips_set_time(nowtime); rtc_mips_set_mmss()
/linux-4.4.14/arch/m68k/q40/
H A Dconfig.c271 * Set the minutes and seconds from seconds value 'nowtime'. Fail if
275 static int q40_set_clock_mmss(unsigned long nowtime) q40_set_clock_mmss() argument
278 short real_seconds = nowtime % 60, real_minutes = (nowtime / 60) % 60; q40_set_clock_mmss()
/linux-4.4.14/arch/m68k/bvme6000/
H A Dconfig.c311 * Set the minutes and seconds from seconds value 'nowtime'. Fail if
317 int bvme6000_set_clock_mmss (unsigned long nowtime) bvme6000_set_clock_mmss() argument
320 short real_seconds = nowtime % 60, real_minutes = (nowtime / 60) % 60; bvme6000_set_clock_mmss()
/linux-4.4.14/arch/powerpc/kernel/
H A Drtas-proc.c309 unsigned long nowtime; ppc_rtas_poweron_write() local
310 int error = parse_number(buf, count, &nowtime); ppc_rtas_poweron_write()
314 power_on_time = nowtime; /* save the time */ ppc_rtas_poweron_write()
316 to_tm(nowtime, &tm); ppc_rtas_poweron_write()
375 unsigned long nowtime; ppc_rtas_clock_write() local
376 int error = parse_number(buf, count, &nowtime); ppc_rtas_clock_write()
380 to_tm(nowtime, &tm); ppc_rtas_clock_write()
/linux-4.4.14/arch/m68k/mvme147/
H A Dconfig.c167 int mvme147_set_clock_mmss (unsigned long nowtime) mvme147_set_clock_mmss() argument
/linux-4.4.14/arch/m68k/apollo/
H A Dconfig.c241 int dn_dummy_set_clock_mmss(unsigned long nowtime) dn_dummy_set_clock_mmss() argument
/linux-4.4.14/arch/m68k/mac/
H A Dmisc.c759 int mac_set_clock_mmss (unsigned long nowtime) mac_set_clock_mmss() argument
764 now.tm_sec = nowtime % 60; mac_set_clock_mmss()
765 now.tm_min = (nowtime / 60) % 60; mac_set_clock_mmss()
/linux-4.4.14/arch/cris/arch-v32/kernel/
H A Dtime.c48 extern int set_rtc_mmss(unsigned long nowtime);
/linux-4.4.14/arch/m68k/mvme16x/
H A Dconfig.c414 int mvme16x_set_clock_mmss (unsigned long nowtime) mvme16x_set_clock_mmss() argument
/linux-4.4.14/scripts/
H A Danalyze_suspend.py169 nowtime = int(dt.strftime('%s')) + utcoffset
172 nowtime = int(datetime.now().strftime('%s'))
173 alarm = nowtime + self.rtcwaketime

Completed in 545 milliseconds