Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/platforms/powermac/
Dtime.c118 u32 nowtime; in cuda_set_rtc_time() local
121 nowtime = lower_32_bits(rtc_tm_to_time64(tm) + RTC_OFFSET); in cuda_set_rtc_time()
123 nowtime >> 24, nowtime >> 16, nowtime >> 8, in cuda_set_rtc_time()
124 nowtime) < 0) in cuda_set_rtc_time()
165 u32 nowtime; in pmu_set_rtc_time() local
168 nowtime = lower_32_bits(rtc_tm_to_time64(tm) + RTC_OFFSET); in pmu_set_rtc_time()
169 if (pmu_request(&req, NULL, 5, PMU_SET_RTC, nowtime >> 24, in pmu_set_rtc_time()
170 nowtime >> 16, nowtime >> 8, nowtime) < 0) in pmu_set_rtc_time()
/Linux-v4.19/arch/sh/boards/mach-sh03/
Drtc.c88 static int set_rtc_mmss(unsigned long nowtime) in set_rtc_mmss() argument
100 real_seconds = nowtime % 60; in set_rtc_mmss()
101 real_minutes = nowtime / 60; in set_rtc_mmss()
124 unsigned long nowtime = secs; in sh03_rtc_settimeofday() local
126 return set_rtc_mmss(nowtime); in sh03_rtc_settimeofday()
/Linux-v4.19/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()
/Linux-v4.19/arch/x86/kernel/
Drtc.c44 unsigned long long nowtime = now->tv_sec; in mach_set_rtc_mmss() local
48 rtc_time64_to_tm(nowtime, &tm); in mach_set_rtc_mmss()
57 __func__, nowtime); in mach_set_rtc_mmss()
/Linux-v4.19/arch/powerpc/kernel/
Drtas-proc.c286 time64_t nowtime; in ppc_rtas_poweron_write() local
287 int error = parse_number(buf, count, &nowtime); in ppc_rtas_poweron_write()
291 power_on_time = nowtime; /* save the time */ in ppc_rtas_poweron_write()
293 rtc_time64_to_tm(nowtime, &tm); in ppc_rtas_poweron_write()
352 time64_t nowtime; in ppc_rtas_clock_write() local
353 int error = parse_number(buf, count, &nowtime); in ppc_rtas_clock_write()
357 rtc_time64_to_tm(nowtime, &tm); in ppc_rtas_clock_write()
/Linux-v4.19/arch/mips/dec/
Dtime.c70 time64_t nowtime = now.tv_sec; in update_persistent_clock64() local
95 real_minutes = div_s64_rem(nowtime, 60, &real_seconds); in update_persistent_clock64()
/Linux-v4.19/tools/power/pm-graph/
Dsleepgraph.py385 nowtime = open(self.rtcpath+'/since_epoch', 'r').read().strip()
386 if nowtime:
387 nowtime = int(nowtime)
390 nowtime = int(datetime.now().strftime('%s'))
391 alarm = nowtime + self.rtcwaketime