Searched refs:switch_power_state (Results 1 – 14 of 14) sorted by relevance
29 i915->drm.switch_power_state = DRM_SWITCH_POWER_CHANGING; in i915_switcheroo_set_state()33 i915->drm.switch_power_state = DRM_SWITCH_POWER_ON; in i915_switcheroo_set_state()36 i915->drm.switch_power_state = DRM_SWITCH_POWER_CHANGING; in i915_switcheroo_set_state()38 i915->drm.switch_power_state = DRM_SWITCH_POWER_OFF; in i915_switcheroo_set_state()
1179 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_driver_suspend_switcheroo()1343 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_driver_resume_switcheroo()1362 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_prepare()1377 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_suspend()1396 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_suspend_late()1406 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_poweroff_late()1416 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_resume_early()1426 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_resume()1436 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_OFF) in i915_pm_complete()1448 if (i915->drm.switch_power_state != DRM_SWITCH_POWER_OFF) { in i915_pm_freeze()[all …]
44 dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in nouveau_switcheroo_set_state()46 dev->switch_power_state = DRM_SWITCH_POWER_ON; in nouveau_switcheroo_set_state()49 dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in nouveau_switcheroo_set_state()52 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in nouveau_switcheroo_set_state()
378 if (drm_dev->switch_power_state != DRM_SWITCH_POWER_ON) in nouveau_temp_read()426 if (drm_dev->switch_power_state != DRM_SWITCH_POWER_ON) in nouveau_fan_read()450 if (drm_dev->switch_power_state != DRM_SWITCH_POWER_ON) in nouveau_in_read()483 if (drm_dev->switch_power_state != DRM_SWITCH_POWER_ON) in nouveau_pwm_read()506 if (drm_dev->switch_power_state != DRM_SWITCH_POWER_ON) in nouveau_power_read()
983 if (drm_dev->switch_power_state == DRM_SWITCH_POWER_OFF || in nouveau_pmops_suspend()984 drm_dev->switch_power_state == DRM_SWITCH_POWER_DYNAMIC_OFF) in nouveau_pmops_suspend()1005 if (drm_dev->switch_power_state == DRM_SWITCH_POWER_OFF || in nouveau_pmops_resume()1006 drm_dev->switch_power_state == DRM_SWITCH_POWER_DYNAMIC_OFF) in nouveau_pmops_resume()1066 drm_dev->switch_power_state = DRM_SWITCH_POWER_DYNAMIC_OFF; in nouveau_pmops_runtime_suspend()1099 drm_dev->switch_power_state = DRM_SWITCH_POWER_ON; in nouveau_pmops_runtime_resume()
30 enum switch_power_state { enum304 enum switch_power_state switch_power_state; member
402 drm_dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in radeon_pmops_runtime_suspend()413 drm_dev->switch_power_state = DRM_SWITCH_POWER_DYNAMIC_OFF; in radeon_pmops_runtime_suspend()427 drm_dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in radeon_pmops_runtime_resume()440 drm_dev->switch_power_state = DRM_SWITCH_POWER_ON; in radeon_pmops_runtime_resume()
1224 dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in radeon_switcheroo_set_state()1228 dev->switch_power_state = DRM_SWITCH_POWER_ON; in radeon_switcheroo_set_state()1233 dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in radeon_switcheroo_set_state()1235 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in radeon_switcheroo_set_state()1563 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in radeon_suspend_kms()1663 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in radeon_resume_kms()
379 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in radeon_set_pm_profile()431 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) { in radeon_set_pm_method()502 (ddev->switch_power_state == DRM_SWITCH_POWER_ON)) in radeon_set_dpm_state()518 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in radeon_get_dpm_forced_performance_level()538 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in radeon_set_dpm_forced_performance_level()678 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in radeon_hwmon_show_temp()722 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in radeon_hwmon_show_sclk()747 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) in radeon_hwmon_show_vddc()1923 (ddev->switch_power_state != DRM_SWITCH_POWER_ON)) { in radeon_debugfs_pm_info_show()
343 if (dev->switch_power_state != DRM_SWITCH_POWER_ON && in drm_open_helper()344 dev->switch_power_state != DRM_SWITCH_POWER_DYNAMIC_OFF) in drm_open_helper()
292 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in drm_fb_helper_restore_work_fn()
2589 drm_dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in amdgpu_pmops_runtime_suspend()2620 drm_dev->switch_power_state = DRM_SWITCH_POWER_DYNAMIC_OFF; in amdgpu_pmops_runtime_suspend()2647 drm_dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in amdgpu_pmops_runtime_resume()2674 drm_dev->switch_power_state = DRM_SWITCH_POWER_ON; in amdgpu_pmops_runtime_resume()
1539 dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in amdgpu_switcheroo_set_state()1548 dev->switch_power_state = DRM_SWITCH_POWER_ON; in amdgpu_switcheroo_set_state()1551 dev->switch_power_state = DRM_SWITCH_POWER_CHANGING; in amdgpu_switcheroo_set_state()1557 dev->switch_power_state = DRM_SWITCH_POWER_OFF; in amdgpu_switcheroo_set_state()4112 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in amdgpu_device_suspend()4179 if (dev->switch_power_state == DRM_SWITCH_POWER_OFF) in amdgpu_device_resume()
448 if (i915->drm.switch_power_state == DRM_SWITCH_POWER_CHANGING) { in intel_backlight_disable()