Lines Matching defs:dev_priv
72 struct drm_i915_private *dev_priv = dev->dev_private;
93 struct drm_i915_private *dev_priv = dev->dev_private;
129 struct drm_i915_private *dev_priv = dev->dev_private;
195 struct drm_i915_private *dev_priv = dev->dev_private;
220 struct drm_i915_private *dev_priv = dev->dev_private;
259 struct drm_i915_private *dev_priv = dev->dev_private;
408 struct drm_i915_private *dev_priv = dev->dev_private;
413 mutex_lock(&dev_priv->modeset_restore_lock);
414 if (dev_priv->modeset_restore == MODESET_SUSPENDED)
427 dev_priv->modeset_restore = MODESET_ON_LID_OPEN;
431 if (dev_priv->modeset_restore == MODESET_DONE)
438 dev_priv->modeset_restore = MODESET_DONE;
441 mutex_unlock(&dev_priv->modeset_restore_lock);
732 struct drm_i915_private *dev_priv = dev->dev_private;
764 dev_priv->lvds_downclock_avail = 1;
765 dev_priv->lvds_downclock = temp_downclock;
782 struct drm_i915_private *dev_priv = dev->dev_private;
785 if (!dev_priv->vbt.child_dev_num)
788 for (i = 0; i < dev_priv->vbt.child_dev_num; i++) {
789 struct child_device_config *child = dev_priv->vbt.child_dev + i;
815 if (dev_priv->opregion.vbt)
843 struct drm_i915_private *dev_priv = dev->dev_private;
856 val = dev_priv->vbt.bios_lvds_val;
885 struct drm_i915_private *dev_priv = dev->dev_private;
916 if (dev_priv->vbt.edp_support) {
996 edid = drm_get_edid(connector, intel_gmbus_get_adapter(dev_priv, pin));
1036 if (dev_priv->vbt.lfp_lvds_vbt_mode) {
1038 drm_mode_debug_printmodeline(dev_priv->vbt.lfp_lvds_vbt_mode);
1040 fixed_mode = drm_mode_duplicate(dev, dev_priv->vbt.lfp_lvds_vbt_mode);
1091 // XXX dev_priv->lid_notifier.notifier_call = intel_lid_notify;
1093 if (acpi_lid_notifier_register(&dev_priv->lid_notifier)) {
1095 dev_priv->lid_notifier.notifier_call = NULL;