Lines Matching refs:hsw_pwr
4599 static struct i915_power_well *hsw_pwr;
4604 if (!hsw_pwr)
4607 spin_lock_irq(&hsw_pwr->lock);
4608 if (!hsw_pwr->count++ &&
4609 !hsw_pwr->i915_request)
4610 __intel_set_power_well(hsw_pwr->device, true);
4611 spin_unlock_irq(&hsw_pwr->lock);
4617 if (!hsw_pwr)
4620 spin_lock_irq(&hsw_pwr->lock);
4621 WARN_ON(!hsw_pwr->count);
4622 if (!--hsw_pwr->count &&
4623 !hsw_pwr->i915_request)
4624 __intel_set_power_well(hsw_pwr->device, false);
4625 spin_unlock_irq(&hsw_pwr->lock);
4632 hsw_pwr = &dev_priv->power_well;
4634 hsw_pwr->device = dev;
4635 spin_lock_init(&hsw_pwr->lock);
4636 hsw_pwr->count = 0;
4643 hsw_pwr = NULL;