/linux-4.4.14/arch/powerpc/platforms/powermac/ |
H A D | time.c | 126 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 D | mc146818-time.h | 23 * 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 D | rtc.c | 87 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 D | rtc.c | 36 * 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 D | time.c | 62 * 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 D | rtc.c | 43 * 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 D | time.c | 289 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 D | rtc.c | 119 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 D | time.c | 42 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 D | config.c | 271 * 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 D | config.c | 311 * 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 D | rtas-proc.c | 309 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 D | config.c | 167 int mvme147_set_clock_mmss (unsigned long nowtime) mvme147_set_clock_mmss() argument
|
/linux-4.4.14/arch/m68k/apollo/ |
H A D | config.c | 241 int dn_dummy_set_clock_mmss(unsigned long nowtime) dn_dummy_set_clock_mmss() argument
|
/linux-4.4.14/arch/m68k/mac/ |
H A D | misc.c | 759 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 D | time.c | 48 extern int set_rtc_mmss(unsigned long nowtime);
|
/linux-4.4.14/arch/m68k/mvme16x/ |
H A D | config.c | 414 int mvme16x_set_clock_mmss (unsigned long nowtime) mvme16x_set_clock_mmss() argument
|
/linux-4.4.14/scripts/ |
H A D | analyze_suspend.py | 169 nowtime = int(dt.strftime('%s')) + utcoffset 172 nowtime = int(datetime.now().strftime('%s')) 173 alarm = nowtime + self.rtcwaketime
|