Searched refs:nowtime (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/arch/mips/include/asm/ |
A D | mc146818-time.h | 31 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 D | rtc.c | 38 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 D | rtas-proc.c | 281 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 D | time.c | 70 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 D | sleepgraph.py | 522 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 14 milliseconds