Searched refs:idle_time_ns (Results 1 – 2 of 2) sorted by relevance
109 u64 idle_time_ns; in __wakelocks_gc() local113 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()
166 s64 idle_time_ns, min_sleep_ns; in next_wakeup_allows_state() local171 idle_time_ns = ktime_to_ns(ktime_sub(domain_wakeup, now)); in next_wakeup_allows_state()173 return idle_time_ns >= min_sleep_ns; in next_wakeup_allows_state()