Home
last modified time | relevance | path

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

/linux-6.3-rc2/kernel/power/
A Dwakelock.c109 u64 idle_time_ns; in __wakelocks_gc() local
113 idle_time_ns = ktime_to_ns(ktime_sub(now, wl->ws->last_time)); in __wakelocks_gc()
117 if (idle_time_ns < ((u64)WL_GC_TIME_SEC * NSEC_PER_SEC)) in __wakelocks_gc()
/linux-6.3-rc2/drivers/base/power/
A Ddomain_governor.c164 s64 idle_time_ns, min_sleep_ns; in next_wakeup_allows_state() local
169 idle_time_ns = ktime_to_ns(ktime_sub(domain_wakeup, now)); in next_wakeup_allows_state()
171 return idle_time_ns >= min_sleep_ns; in next_wakeup_allows_state()

Completed in 6 milliseconds