Searched refs:switch_power_state (Results 1 – 14 of 14) sorted by relevance
24 i915->drm.switch_power_state = DRM_SWITCH_POWER_CHANGING; in i915_switcheroo_set_state()28 i915->drm.switch_power_state = DRM_SWITCH_POWER_ON; in i915_switcheroo_set_state()31 i915->drm.switch_power_state = DRM_SWITCH_POWER_CHANGING; in i915_switcheroo_set_state()33 i915->drm.switch_power_state = DRM_SWITCH_POWER_OFF; in i915_switcheroo_set_state()
1173 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_suspend_switcheroo()1329 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_resume_switcheroo()1348 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_prepare()1363 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_suspend()1382 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_suspend_late()1392 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_poweroff_late()1402 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_resume_early()1412 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_resume()1424 if (i915->drm.switch_power_state != DRM_SWITCH_POWER_OFF) { in i915_pm_freeze()1442 if (i915->drm.switch_power_state != DRM_SWITCH_POWER_OFF) { in i915_pm_freeze_late()
46 dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in nouveau_switcheroo_set_state()48 dev->switch_power_state = DRM_SWITCH_POWER_ON; in nouveau_switcheroo_set_state()51 dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in nouveau_switcheroo_set_state()54 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in nouveau_switcheroo_set_state()
429 if (drm_dev->switch_power_state != DRM_SWITCH_POWER_ON) in nouveau_temp_read()477 if (drm_dev->switch_power_state != DRM_SWITCH_POWER_ON) in nouveau_fan_read()501 if (drm_dev->switch_power_state != DRM_SWITCH_POWER_ON) in nouveau_in_read()534 if (drm_dev->switch_power_state != DRM_SWITCH_POWER_ON) in nouveau_pwm_read()557 if (drm_dev->switch_power_state != DRM_SWITCH_POWER_ON) in nouveau_power_read()
941 if (drm_dev->switch_power_state == DRM_SWITCH_POWER_OFF || in nouveau_pmops_suspend()942 drm_dev->switch_power_state == DRM_SWITCH_POWER_DYNAMIC_OFF) in nouveau_pmops_suspend()963 if (drm_dev->switch_power_state == DRM_SWITCH_POWER_OFF || in nouveau_pmops_resume()964 drm_dev->switch_power_state == DRM_SWITCH_POWER_DYNAMIC_OFF) in nouveau_pmops_resume()1024 drm_dev->switch_power_state = DRM_SWITCH_POWER_DYNAMIC_OFF; in nouveau_pmops_runtime_suspend()1057 drm_dev->switch_power_state = DRM_SWITCH_POWER_ON; in nouveau_pmops_runtime_resume()
33 enum switch_power_state { enum322 enum switch_power_state switch_power_state; member
474 drm_dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in radeon_pmops_runtime_suspend()485 drm_dev->switch_power_state = DRM_SWITCH_POWER_DYNAMIC_OFF; in radeon_pmops_runtime_suspend()499 drm_dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in radeon_pmops_runtime_resume()512 drm_dev->switch_power_state = DRM_SWITCH_POWER_ON; in radeon_pmops_runtime_resume()
1233 dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in radeon_switcheroo_set_state()1237 dev->switch_power_state = DRM_SWITCH_POWER_ON; in radeon_switcheroo_set_state()1242 dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in radeon_switcheroo_set_state()1244 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in radeon_switcheroo_set_state()1577 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in radeon_suspend_kms()1678 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in radeon_resume_kms()
380 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in radeon_set_pm_profile()433 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) { in radeon_set_pm_method()504 (ddev->switch_power_state == DRM_SWITCH_POWER_ON)) in radeon_set_dpm_state()520 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in radeon_get_dpm_forced_performance_level()540 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in radeon_set_dpm_forced_performance_level()680 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in radeon_hwmon_show_temp()724 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in radeon_hwmon_show_sclk()1907 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) { in radeon_debugfs_pm_info()
1336 drm_dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in amdgpu_pmops_runtime_suspend()1355 drm_dev->switch_power_state = DRM_SWITCH_POWER_DYNAMIC_OFF; in amdgpu_pmops_runtime_suspend()1376 drm_dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in amdgpu_pmops_runtime_resume()1397 drm_dev->switch_power_state = DRM_SWITCH_POWER_ON; in amdgpu_pmops_runtime_resume()
1408 dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in amdgpu_switcheroo_set_state()1417 dev->switch_power_state = DRM_SWITCH_POWER_ON; in amdgpu_switcheroo_set_state()1422 dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in amdgpu_switcheroo_set_state()1428 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in amdgpu_switcheroo_set_state()3649 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in amdgpu_device_suspend()3739 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in amdgpu_device_resume()
346 if (dev->switch_power_state != DRM_SWITCH_POWER_ON && in drm_open_helper()347 dev->switch_power_state != DRM_SWITCH_POWER_DYNAMIC_OFF) in drm_open_helper()
299 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in drm_fb_helper_force_kernel_mode()
862 if (dev_priv->drm.switch_power_state == DRM_SWITCH_POWER_CHANGING) { in intel_panel_disable_backlight()