Lines Matching refs:drm_dev

386 	struct drm_device *drm_dev = dev_get_drvdata(dev);  in radeon_pmops_suspend()  local
387 return radeon_suspend_kms(drm_dev, true, true, false); in radeon_pmops_suspend()
392 struct drm_device *drm_dev = dev_get_drvdata(dev); in radeon_pmops_resume() local
395 if (radeon_is_px(drm_dev)) { in radeon_pmops_resume()
401 return radeon_resume_kms(drm_dev, true, true); in radeon_pmops_resume()
406 struct drm_device *drm_dev = dev_get_drvdata(dev); in radeon_pmops_freeze() local
407 return radeon_suspend_kms(drm_dev, false, true, true); in radeon_pmops_freeze()
412 struct drm_device *drm_dev = dev_get_drvdata(dev); in radeon_pmops_thaw() local
413 return radeon_resume_kms(drm_dev, false, true); in radeon_pmops_thaw()
419 struct drm_device *drm_dev = pci_get_drvdata(pdev); in radeon_pmops_runtime_suspend() local
421 if (!radeon_is_px(drm_dev)) { in radeon_pmops_runtime_suspend()
426 drm_dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in radeon_pmops_runtime_suspend()
427 drm_kms_helper_poll_disable(drm_dev); in radeon_pmops_runtime_suspend()
429 radeon_suspend_kms(drm_dev, false, false, false); in radeon_pmops_runtime_suspend()
437 drm_dev->switch_power_state = DRM_SWITCH_POWER_DYNAMIC_OFF; in radeon_pmops_runtime_suspend()
445 struct drm_device *drm_dev = pci_get_drvdata(pdev); in radeon_pmops_runtime_resume() local
448 if (!radeon_is_px(drm_dev)) in radeon_pmops_runtime_resume()
451 drm_dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in radeon_pmops_runtime_resume()
462 ret = radeon_resume_kms(drm_dev, false, false); in radeon_pmops_runtime_resume()
463 drm_kms_helper_poll_enable(drm_dev); in radeon_pmops_runtime_resume()
464 drm_dev->switch_power_state = DRM_SWITCH_POWER_ON; in radeon_pmops_runtime_resume()
470 struct drm_device *drm_dev = dev_get_drvdata(dev); in radeon_pmops_runtime_idle() local
473 if (!radeon_is_px(drm_dev)) { in radeon_pmops_runtime_idle()
478 list_for_each_entry(crtc, &drm_dev->mode_config.crtc_list, head) { in radeon_pmops_runtime_idle()