Home
last modified time | relevance | path

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

/linux/kernel/power/
A Dwakelock.c112 u64 idle_time_ns; in __wakelocks_gc() local
116 idle_time_ns = ktime_to_ns(ktime_sub(now, wl->ws->last_time)); in __wakelocks_gc()
120 if (idle_time_ns < ((u64)WL_GC_TIME_SEC * NSEC_PER_SEC)) in __wakelocks_gc()
/linux/drivers/base/power/
A Ddomain_governor.c159 s64 idle_time_ns, min_sleep_ns; in next_wakeup_allows_state() local
164 idle_time_ns = ktime_to_ns(ktime_sub(domain_wakeup, now)); in next_wakeup_allows_state()
166 return idle_time_ns >= min_sleep_ns; in next_wakeup_allows_state()

Completed in 6 milliseconds