Home
last modified time | relevance | path

Searched refs:ac_power (Results 1 – 13 of 13) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pm.c40 adev->pm.dpm.ac_power = true; in amdgpu_pm_acpi_event_handler()
42 adev->pm.dpm.ac_power = false; in amdgpu_pm_acpi_event_handler()
44 amdgpu_dpm_enable_bapm(adev, adev->pm.dpm.ac_power); in amdgpu_pm_acpi_event_handler()
770 adev->pm.dpm.ac_power = true; in amdgpu_pm_compute_clocks()
772 adev->pm.dpm.ac_power = false; in amdgpu_pm_compute_clocks()
Dci_dpm.c938 if (adev->pm.dpm.ac_power) in ci_apply_state_adjust_rules()
943 if (adev->pm.dpm.ac_power == false) { in ci_apply_state_adjust_rules()
1757 bool ac_power)
1764 if (ac_power)
1772 if (ac_power)
4048 if (adev->pm.dpm.ac_power) in ci_enable_uvd_dpm()
4097 if (adev->pm.dpm.ac_power) in ci_enable_vce_dpm()
4130 if (adev->pm.dpm.ac_power)
4161 if (adev->pm.dpm.ac_power)
Damdgpu.h1630 bool ac_power; member
Dkv_dpm.c1956 ret = amdgpu_kv_smc_bapm_enable(adev, adev->pm.dpm.ac_power); in kv_dpm_set_power_state()
/drivers/hwmon/
Ddell-smm-hwmon.c501 int fn_key, cpu_temp, ac_power; in i8k_proc_show() local
511 ac_power = i8k_get_power_status(); /* 14700 µs */ in i8k_proc_show()
513 ac_power = -1; in i8k_proc_show()
535 ac_power, fn_key); in i8k_proc_show()
/drivers/gpu/drm/radeon/
Dradeon_pm.c74 rdev->pm.dpm.ac_power = true; in radeon_pm_acpi_event_handler()
76 rdev->pm.dpm.ac_power = false; in radeon_pm_acpi_event_handler()
79 radeon_dpm_enable_bapm(rdev, rdev->pm.dpm.ac_power); in radeon_pm_acpi_event_handler()
1731 rdev->pm.dpm.ac_power = true; in radeon_pm_compute_clocks_dpm()
1733 rdev->pm.dpm.ac_power = false; in radeon_pm_compute_clocks_dpm()
Dci_dpm.c821 if (rdev->pm.dpm.ac_power) in ci_apply_state_adjust_rules()
826 if (rdev->pm.dpm.ac_power == false) { in ci_apply_state_adjust_rules()
1629 bool ac_power)
1636 if (ac_power)
1644 if (ac_power)
3910 if (rdev->pm.dpm.ac_power) in ci_enable_uvd_dpm()
3959 if (rdev->pm.dpm.ac_power) in ci_enable_vce_dpm()
3992 if (rdev->pm.dpm.ac_power)
4023 if (rdev->pm.dpm.ac_power)
Dbtc_dpm.c2110 if (rdev->pm.dpm.ac_power) in btc_apply_state_adjust_rules()
2115 if (rdev->pm.dpm.ac_power == false) { in btc_apply_state_adjust_rules()
Dni_dpm.c801 if (rdev->pm.dpm.ac_power) in ni_apply_state_adjust_rules()
806 if (rdev->pm.dpm.ac_power == false) { in ni_apply_state_adjust_rules()
1026 bool ac_power)
1028 if (ac_power)
Dsi_dpm.c3076 if (rdev->pm.dpm.ac_power) in si_apply_state_adjust_rules()
3085 if (rdev->pm.dpm.ac_power == false) { in si_apply_state_adjust_rules()
3425 static int si_notify_hw_of_powersource(struct radeon_device *rdev, bool ac_power)
3427 if (ac_power)
Dtrinity_dpm.c1255 trinity_dpm_bapm_enable(rdev, rdev->pm.dpm.ac_power); in trinity_dpm_set_power_state()
Dkv_dpm.c1860 ret = kv_smc_bapm_enable(rdev, rdev->pm.dpm.ac_power); in kv_dpm_set_power_state()
Dradeon.h1585 bool ac_power; member