Lines Matching refs:domain_wakeup
125 ktime_t domain_wakeup = KTIME_MAX; in update_domain_next_wakeup() local
144 if (ktime_before(next_wakeup, domain_wakeup)) in update_domain_next_wakeup()
145 domain_wakeup = next_wakeup; in update_domain_next_wakeup()
153 if (ktime_before(next_wakeup, domain_wakeup)) in update_domain_next_wakeup()
154 domain_wakeup = next_wakeup; in update_domain_next_wakeup()
157 genpd->gd->next_wakeup = domain_wakeup; in update_domain_next_wakeup()
163 ktime_t domain_wakeup = genpd->gd->next_wakeup; in next_wakeup_allows_state() local
169 idle_time_ns = ktime_to_ns(ktime_sub(domain_wakeup, now)); in next_wakeup_allows_state()
346 ktime_t domain_wakeup, next_hrtimer; in cpu_power_down_ok() local
363 domain_wakeup = ktime_set(KTIME_SEC_MAX, 0); in cpu_power_down_ok()
368 if (ktime_before(next_hrtimer, domain_wakeup)) in cpu_power_down_ok()
369 domain_wakeup = next_hrtimer; in cpu_power_down_ok()
374 idle_duration_ns = ktime_to_ns(ktime_sub(domain_wakeup, now)); in cpu_power_down_ok()
379 genpd->gd->next_hrtimer = domain_wakeup; in cpu_power_down_ok()