Lines Matching refs:power_well

218 	struct i915_power_well *power_well;  in __intel_display_power_is_enabled()  local
226 for_each_power_domain_well_reverse(dev_priv, power_well, domain) { in __intel_display_power_is_enabled()
227 if (intel_power_well_is_always_on(power_well)) in __intel_display_power_is_enabled()
230 if (!intel_power_well_is_enabled_cached(power_well)) { in __intel_display_power_is_enabled()
309 struct i915_power_well *power_well; in intel_display_power_set_target_dc_state() local
314 power_well = lookup_power_well(dev_priv, SKL_DISP_DC_OFF); in intel_display_power_set_target_dc_state()
316 if (drm_WARN_ON(&dev_priv->drm, !power_well)) in intel_display_power_set_target_dc_state()
324 dc_off_enabled = intel_power_well_is_enabled(dev_priv, power_well); in intel_display_power_set_target_dc_state()
330 intel_power_well_enable(dev_priv, power_well); in intel_display_power_set_target_dc_state()
335 intel_power_well_disable(dev_priv, power_well); in intel_display_power_set_target_dc_state()
506 struct i915_power_well *power_well; in __intel_display_power_get_domain() local
511 for_each_power_domain_well(dev_priv, power_well, domain) in __intel_display_power_get_domain()
512 intel_power_well_get(dev_priv, power_well); in __intel_display_power_get_domain()
590 struct i915_power_well *power_well; in __intel_display_power_put_domain() local
607 for_each_power_domain_well_reverse(dev_priv, power_well, domain) in __intel_display_power_put_domain()
608 intel_power_well_put(dev_priv, power_well); in __intel_display_power_put_domain()
1052 struct i915_power_well *power_well; in intel_power_domains_sync_hw() local
1055 for_each_power_well(dev_priv, power_well) in intel_power_domains_sync_hw()
1056 intel_power_well_sync_hw(dev_priv, power_well); in intel_power_domains_sync_hw()
2007 struct i915_power_well *power_well; in intel_power_domains_sanitize_state() local
2011 for_each_power_well_reverse(i915, power_well) { in intel_power_domains_sanitize_state()
2012 if (power_well->desc->always_on || power_well->count || in intel_power_domains_sanitize_state()
2013 !intel_power_well_is_enabled(i915, power_well)) in intel_power_domains_sanitize_state()
2018 intel_power_well_name(power_well)); in intel_power_domains_sanitize_state()
2019 intel_power_well_disable(i915, power_well); in intel_power_domains_sanitize_state()
2149 struct i915_power_well *power_well; in intel_power_domains_dump_info() local
2151 for_each_power_well(i915, power_well) { in intel_power_domains_dump_info()
2155 intel_power_well_name(power_well), intel_power_well_refcount(power_well)); in intel_power_domains_dump_info()
2157 for_each_power_domain(domain, intel_power_well_domains(power_well)) in intel_power_domains_dump_info()
2177 struct i915_power_well *power_well; in intel_power_domains_verify_state() local
2185 for_each_power_well(i915, power_well) { in intel_power_domains_verify_state()
2190 enabled = intel_power_well_is_enabled(i915, power_well); in intel_power_domains_verify_state()
2191 if ((intel_power_well_refcount(power_well) || in intel_power_domains_verify_state()
2192 intel_power_well_is_always_on(power_well)) != in intel_power_domains_verify_state()
2196 intel_power_well_name(power_well), in intel_power_domains_verify_state()
2197 intel_power_well_refcount(power_well), enabled); in intel_power_domains_verify_state()
2200 for_each_power_domain(domain, intel_power_well_domains(power_well)) in intel_power_domains_verify_state()
2203 if (intel_power_well_refcount(power_well) != domains_count) { in intel_power_domains_verify_state()
2207 intel_power_well_name(power_well), in intel_power_domains_verify_state()
2208 intel_power_well_refcount(power_well), in intel_power_domains_verify_state()
2309 struct i915_power_well *power_well; in intel_display_power_debug() local
2312 power_well = &power_domains->power_wells[i]; in intel_display_power_debug()
2313 seq_printf(m, "%-25s %d\n", intel_power_well_name(power_well), in intel_display_power_debug()
2314 intel_power_well_refcount(power_well)); in intel_display_power_debug()
2316 for_each_power_domain(power_domain, intel_power_well_domains(power_well)) in intel_display_power_debug()