Lines Matching defs:gd
149 struct genpd_governor_data *cgd = link->child->gd;
157 genpd->gd->next_wakeup = domain_wakeup;
163 ktime_t domain_wakeup = genpd->gd->next_wakeup;
193 struct genpd_governor_data *cgd = link->child->gd;
253 genpd->gd->max_off_time_ns = min_off_time_ns -
268 struct genpd_governor_data *gd = genpd->gd;
279 if ((genpd->flags & GENPD_FLAG_MIN_RESIDENCY) && (gd->next_wakeup != KTIME_MAX)) {
283 gd->max_off_time_changed = true;
291 gd->cached_power_down_ok = false;
296 if (!gd->max_off_time_changed) {
297 genpd->state_idx = gd->cached_power_down_state_idx;
298 return gd->cached_power_down_ok;
308 struct genpd_governor_data *pgd = link->parent->gd;
314 gd->max_off_time_ns = -1;
315 gd->max_off_time_changed = false;
316 gd->cached_power_down_ok = true;
324 gd->cached_power_down_ok = false;
332 gd->cached_power_down_state_idx = genpd->state_idx;
333 return gd->cached_power_down_ok;
379 genpd->gd->next_hrtimer = domain_wakeup;