Home
last modified time | relevance | path

Searched refs:drm_dev (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/gpu/drm/i915/
Di915_drv.c615 struct drm_device *drm_dev = pci_get_drvdata(pdev); in i915_pm_suspend() local
618 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() local
641 return i915_resume(drm_dev); in i915_pm_resume()
647 struct drm_device *drm_dev = pci_get_drvdata(pdev); in i915_pm_freeze() local
649 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 …]
/linux-2.6.39/drivers/staging/gma500/
Dpsb_intel_i2c.c36 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()
Dpsb_intel_drv.h106 struct drm_device *drm_dev; member
/linux-2.6.39/drivers/gpu/drm/
Ddrm_sysfs.c43 struct drm_device *drm_dev = drm_minor->dev; in drm_class_suspend() local
46 !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() local
67 !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()