Searched refs:drm_dev (Results 1 – 4 of 4) sorted by relevance
615 struct drm_device *drm_dev = pci_get_drvdata(pdev); in i915_pm_suspend() local618 if (!drm_dev || !drm_dev->dev_private) { in i915_pm_suspend()623 if (drm_dev->switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_suspend()626 error = i915_drm_freeze(drm_dev); in i915_pm_suspend()639 struct drm_device *drm_dev = pci_get_drvdata(pdev); in i915_pm_resume() local641 return i915_resume(drm_dev); in i915_pm_resume()647 struct drm_device *drm_dev = pci_get_drvdata(pdev); in i915_pm_freeze() local649 if (!drm_dev || !drm_dev->dev_private) { in i915_pm_freeze()654 return i915_drm_freeze(drm_dev); in i915_pm_freeze()660 struct drm_device *drm_dev = pci_get_drvdata(pdev); in i915_pm_thaw() local[all …]
36 struct drm_device *dev = chan->drm_dev; in get_clock()46 struct drm_device *dev = chan->drm_dev; in get_data()56 struct drm_device *dev = chan->drm_dev; in set_clock()76 struct drm_device *dev = chan->drm_dev; in set_data()125 chan->drm_dev = dev; in psb_intel_i2c_create()
106 struct drm_device *drm_dev; member
43 struct drm_device *drm_dev = drm_minor->dev; in drm_class_suspend() local46 !drm_core_check_feature(drm_dev, DRIVER_MODESET) && in drm_class_suspend()47 drm_dev->driver->suspend) in drm_class_suspend()48 return drm_dev->driver->suspend(drm_dev, state); in drm_class_suspend()64 struct drm_device *drm_dev = drm_minor->dev; in drm_class_resume() local67 !drm_core_check_feature(drm_dev, DRIVER_MODESET) && in drm_class_resume()68 drm_dev->driver->resume) in drm_class_resume()69 return drm_dev->driver->resume(drm_dev); in drm_class_resume()