Searched refs:rtc_time (Results 1 – 1 of 1) sorted by relevance
17 let mut rtc_time: rtc_time_t = rtc_time_t { in ktime_get_real() localVariable28 rtc_get_cmos_time(&mut rtc_time); in ktime_get_real()32 for year in 1970..rtc_time.year { in ktime_get_real()42 for month in 1..rtc_time.month { in ktime_get_real()52 day_count += rtc_time.day - 1; in ktime_get_real()56 + (rtc_time.hour - 8) as i64 * 3_600_000_000_000i64 in ktime_get_real()57 + rtc_time.minute as i64 * 60_000_000_000i64 in ktime_get_real()58 + rtc_time.second as i64 * 1_000_000_000i64 as ktime_t; in ktime_get_real()