Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/time/
Dtimekeep.rs18 let mut rtc_time: RtcTime = RtcTime::default(); in ktime_get_real() localVariable
21 let r = rtc_time.get(); in ktime_get_real()
29 for year in 1970..rtc_time.year { in ktime_get_real()
37 for month in 1..rtc_time.month { in ktime_get_real()
46 day_count += rtc_time.day - 1; in ktime_get_real()
49 + (rtc_time.hour - 8) as i64 * 3_600_000_000_000i64 in ktime_get_real()
50 + rtc_time.minute as i64 * 60_000_000_000i64 in ktime_get_real()
51 + rtc_time.second as i64 * 1_000_000_000u64 as ktime_t; in ktime_get_real()