Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/arch/x86/kernel/
Drtc.c37 unsigned long long nowtime = now->tv_sec; in mach_set_cmos_time() local
41 rtc_time64_to_tm(nowtime, &tm); in mach_set_cmos_time()
50 __func__, nowtime); in mach_set_cmos_time()
/linux-6.12.1/arch/powerpc/kernel/
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.12.1/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-6.12.1/tools/power/pm-graph/
Dsleepgraph.py523 nowtime = open(self.rtcpath+'/since_epoch', 'r').read().strip()
524 if nowtime:
525 nowtime = int(nowtime)
528 nowtime = int(datetime.now().strftime('%s'))
529 alarm = nowtime + self.rtcwaketime