Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/mips/include/asm/
A 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-6.3-rc2/arch/x86/kernel/
A Drtc.c38 unsigned long long nowtime = now->tv_sec; in mach_set_cmos_time() local
42 rtc_time64_to_tm(nowtime, &tm); in mach_set_cmos_time()
51 __func__, nowtime); in mach_set_cmos_time()
/linux-6.3-rc2/arch/powerpc/kernel/
A Drtas-proc.c281 time64_t nowtime; in ppc_rtas_poweron_write() local
282 int error = parse_number(buf, count, &nowtime); in ppc_rtas_poweron_write()
286 power_on_time = nowtime; /* save the time */ in ppc_rtas_poweron_write()
288 rtc_time64_to_tm(nowtime, &tm); in ppc_rtas_poweron_write()
347 time64_t nowtime; in ppc_rtas_clock_write() local
348 int error = parse_number(buf, count, &nowtime); in ppc_rtas_clock_write()
352 rtc_time64_to_tm(nowtime, &tm); in ppc_rtas_clock_write()
/linux-6.3-rc2/arch/mips/dec/
A 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-6.3-rc2/tools/power/pm-graph/
A Dsleepgraph.py522 nowtime = open(self.rtcpath+'/since_epoch', 'r').read().strip()
523 if nowtime:
524 nowtime = int(nowtime)
527 nowtime = int(datetime.now().strftime('%s'))
528 alarm = nowtime + self.rtcwaketime

Completed in 15 milliseconds