Searched refs:idle_time_ns (Results 1 – 2 of 2) sorted by relevance
112 u64 idle_time_ns; in __wakelocks_gc() local116 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()
159 s64 idle_time_ns, min_sleep_ns; in next_wakeup_allows_state() local164 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